Difference between revisions of "MPlayer"

From CBLFS
Jump to navigationJump to search
Line 43: Line 43:
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
Install Additinal Codecs:
 +
 +
install -v -d -m755 /usr/lib/mplayer/codecs &&
 +
tar -xvf ../essential-20060501.tar.bz2 -C /usr/lib/mplayer/codecs --strip-components=1 &&
 +
chown -v -R root:root /usr/lib/mplayer/codecs
 +
 +
Install GUI:
 +
 +
install -v -d -m755 /usr/share/mplayer/Skin &&
 +
tar -xvf ../Blue-1.5.tar.bz2 -C /usr/share/mplayer/Skin &&
 +
chown -v -R root:root /usr/share/mplayer/Skin/Blue &&
 +
chmod -v 755 /usr/share/mplayer/Skin/Blue{,/icons} &&
 +
ln -sfv Blue /usr/share/mplayer/Skin/default
  
 
Configure and compile the package:
 
Configure and compile the package:

Revision as of 00:38, 13 September 2006

Download Source:
http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre7try2.tar.bz2
Download Patches:
http://www.linuxfromscratch.org/patches/blfs/svn/MPlayer-1.0pre7try2-gcc4-1.patch
http://www.linuxfromscratch.org/patches/blfs/svn/MPlayer-1.0pre7try2-round_function_fix-1.patch
http://www.linuxfromscratch.org/patches/blfs/svn/MPlayer-1.0pre7try2-x264_fixes-1.patch
http://www.linuxfromscratch.org/patches/blfs/svn/MPlayer-1.0pre7try2-jack_fixes-1.patch
http://www.linuxfromscratch.org/patches/blfs/svn/MPlayer-1.0pre7try2-kernel_2.6-1.patch
Download Codecs:
http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20060501.tar.bz2
http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20060501.tar.bz2
http://www.mplayerhq.hu/MPlayer/releases/codecs/
Skins:
http://www.mplayerhq.hu/MPlayer/Skin/Blue-1.5.tar.bz2
Additional skins:
http://www1.mplayerhq.hu/MPlayer/Skin/
Fonts:
http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2

Dependencies

Non-Multilib

Install Additinal Codecs:

install -v -d -m755 /usr/lib/mplayer/codecs &&
tar -xvf ../essential-20060501.tar.bz2 -C /usr/lib/mplayer/codecs --strip-components=1 &&
chown -v -R root:root /usr/lib/mplayer/codecs

Install GUI:

install -v -d -m755 /usr/share/mplayer/Skin &&
tar -xvf ../Blue-1.5.tar.bz2 -C /usr/share/mplayer/Skin &&
chown -v -R root:root /usr/share/mplayer/Skin/Blue &&
chmod -v 755 /usr/share/mplayer/Skin/Blue{,/icons} &&
ln -sfv Blue /usr/share/mplayer/Skin/default

Configure and compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Configure and compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

N32

Configure and compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Configure and compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install