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 -Np0 -i ../MPlayer-1.3.0-x264_fix-1.patch &&
./configure --prefix=/usr \
--confdir=/etc/mplayer \
--enable-dynamic-plugins \
--enable-menu \
--enable-gui &&
make
If you wish to build the HTML documentation, issue the following
command:
make doc
This package does not come with a test suite.
Now, as the root
user:
make install &&
ln -svf ../icons/hicolor/48x48/apps/mplayer.png \
/usr/share/pixmaps/mplayer.png
To install the HTML documentation, issue the following commands
as the root
user:
install -v -m755 -d /usr/share/doc/mplayer-1.3.0 &&
install -v -m644 DOCS/HTML/en/* \
/usr/share/doc/mplayer-1.3.0
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.32 or
GTK+-3.22.30 installed (for the icon cache)
and desktop-file-utils-0.23
(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-2.0.tar.bz2 \
-C /usr/share/mplayer/skins &&
ln -sfvn Clearlooks /usr/share/mplayer/skins/default