Main MPlayer Installation
Note
The package maintainers recommend building without any
optimizations.
You may wish to examine the output from ./configure --help to find out
what additional parameters to configure are needed to include
the dependencies you have installed on your system.
Install MPlayer by running the
following commands:
patch -Np1 -i ../MPlayer-1.1.1-giflib_fixes-1.patch &&
patch -Np1 -i ../MPlayer-1.1.1-live_fixes-1.patch &&
sed -i 's:libsmbclient.h:samba-4.0/&:' configure stream/stream_smb.c &&
./configure --prefix=/usr \
--confdir=/etc/mplayer \
--enable-dynamic-plugins \
--enable-menu \
--enable-gui &&
make
If you wish to rebuild the chunked HTML documentation and build a
non-chunked HTML version of the docs, issue the following
command:
make doc
This package does not come with a test suite.
Now, as the root
user:
make install
To install the HTML documentation, issue the following commands
as the root
user:
install -v -m755 -d /usr/share/doc/mplayer-1.1.1 &&
install -v -m644 DOCS/HTML/en/* \
/usr/share/doc/mplayer-1.1.1
You will only need codecs.conf
if
you want to change its properties, as the main binary contains an
internal copy of it. Ensure any changes you make to codecs.conf
achieve the desired results, as
incorrect entries in this file have been known to cause errors
and render the player unusable. If necessary, create the file as
the root
user:
install -v -m644 etc/codecs.conf /etc/mplayer
You may alternatively want to copy all the default configuration
files to /etc/mplayer
for future
reference or more customization ability. As the root
user:
install -v -m644 etc/*.conf /etc/mplayer
Note
This package installs icon files into the /usr/share/icons/hicolor
hierarchy and
desktop files into the /usr/share/applications
hierarchy. You can
improve system performance and memory usage by updating
/usr/share/icons/hicolor/index.theme
and
/usr/share/applications/mimeinfo.cache
. To
perform the update you must have GTK+-2.24.22 or
GTK+-3.10.7 installed (for the icon cache)
and desktop-file-utils-0.22
(for the desktop cache) and issue the following commands as the
root
user:
gtk-update-icon-cache &&
update-desktop-database
Skin Installation (Optional)
To enable the Gtk+ 2 frontend of MPlayer, you'll need to install at least one
skin. Extract the desired skin and create the default location
(as the root
user):
tar -xvf ../Clearlooks-1.5.tar.bz2 \
-C /usr/share/mplayer/skins &&
ln -sfv Clearlooks /usr/share/mplayer/skins/default