UmVirt LFS Package info

DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
[ BASH | XML | JSON ]

MPlayer

MPlayer is a powerful audio/video player controlled via the command line or a graphical interface that is able to play almost every popular audio and video file format. With supported video hardware and additional drivers, MPlayer can play video files without an X Window System installed.

Package info

Codename: MPlayer
Source file: MPlayer-1.5.tar.xz
Source directory: MPlayer-1.5
Package URL: https://umvirt.com/linux/downloads/0.2.2/packages/m/MPlayer-1.5.tar.xz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/packages/m/MPlayer-1.5.tar.xz.md5sum
Dependances: libpng, gtk2, libjpeg-turbo, yasm, cdparanoia-III, libvorbis, libtheora, libdvdread, libdvdnav, sdl12-compat, giflib, lame, x264, libvdpau, libvpx, mpg123, speex, pulseaudio, libcdio, samba, ALSA, lzo, a52dec, libmad, libdv, libdvdcss, faad2, libmpeg2, aalib, libmng, faac, xvidcore.
Dependance of: *** NO PACKAGES FOUND ***
Patches: MPlayer-1.5-upstream_ffmpg6_fixes-1.patch, mplayer-ffmpeg-6.0-binutils_2.41-1.patch.
Addons: Clearlooks-2.0.tar.bz2.
Nestings *** NO NESTINGS FOUND ***
Configuration script:
CFLAGS+=" -Wno-error=incompatible-pointer-types -Wno-error=int-conversion"
                                                                          
export CFLAGS

./configure --prefix=/usr                 \
            --confdir=/etc/mplayer        \
            --enable-dynamic-plugins      \
            --disable-libmpeg2-internal   \
            --enable-menu                 \
            --enable-runtime-cpudetection \
            --enable-gui   

Build script:
make

if [[ "$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then

make doc

fi

Install script:
make install  &&
ln -svf ../icons/hicolor/48x48/apps/mplayer.png \
        /usr/share/pixmaps/mplayer.png

if [[ "\$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then

install -v -m755 -d /usr/share/doc/mplayer-1.5 &&
install -v -m644    DOCS/HTML/en/* \
                    /usr/share/doc/mplayer-1.5

fi



install -v -m644 etc/codecs.conf /etc/mplayer

install -v -m644 etc/*.conf /etc/mplayer

tar -xvf  ../Clearlooks-2.0.tar.bz2 \
    -C    /usr/share/mplayer/skins &&
ln  -sfvn Clearlooks /usr/share/mplayer/skins/default

gtk-update-icon-cache -qtf /usr/share/icons/hicolor &&
update-desktop-database -q