Difference between revisions of "MPlayer"
From CBLFS
Jump to navigationJump to searchLine 60: | Line 60: | ||
Configure and compile the package: | Configure and compile the package: | ||
− | ./configure --prefix=/usr && | + | sed -i 's/getline/vobsub_&/' vobsub.c |
+ | patch -Np1 -i ../MPlayer-1.0pre7try2-kernel_2.6-1.patch && | ||
+ | patch -Np1 -i ../MPlayer-1.0pre7try2-gcc4-1.patch && | ||
+ | patch -Np1 -i ../MPlayer-1.0pre7try2-round_function_fix-1.patch && | ||
+ | patch -Np1 -i ../MPlayer-1.0pre7try2-jack_fixes-1.patch && | ||
+ | patch -Np1 -i ../MPlayer-1.0pre7try2-x264_fixes-1.patch && | ||
+ | ./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles && | ||
make | make | ||
Line 66: | Line 72: | ||
make install | make install | ||
+ | install -v -m755 -d /usr/share/doc/mplayer-1.0pre7try2 && | ||
+ | cp -v -R DOCS/* /usr/share/doc/mplayer-1.0pre7try2 | ||
+ | ln -v -s libdha.so.1.0 /usr/lib/libdha.so | ||
+ | install -m644 etc/codecs.conf /etc/mplayer | ||
+ | install -m644 etc/*.conf /etc/mplayer | ||
+ | echo "dev.rtc.max-user-freq=1024" >> /etc/sysctl.conf | ||
== Multilib == | == Multilib == | ||
Line 93: | Line 105: | ||
=== 64Bit === | === 64Bit === | ||
− | + | .....We build mplayer as 32bit for the codecs...... | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
*[[Audio/Media]] | *[[Audio/Media]] | ||
*[[Main Page]] | *[[Main Page]] |
Revision as of 23:43, 12 September 2006
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:
sed -i 's/getline/vobsub_&/' vobsub.c patch -Np1 -i ../MPlayer-1.0pre7try2-kernel_2.6-1.patch && patch -Np1 -i ../MPlayer-1.0pre7try2-gcc4-1.patch && patch -Np1 -i ../MPlayer-1.0pre7try2-round_function_fix-1.patch && patch -Np1 -i ../MPlayer-1.0pre7try2-jack_fixes-1.patch && patch -Np1 -i ../MPlayer-1.0pre7try2-x264_fixes-1.patch && ./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles && make
Install the package:
make install
install -v -m755 -d /usr/share/doc/mplayer-1.0pre7try2 && cp -v -R DOCS/* /usr/share/doc/mplayer-1.0pre7try2 ln -v -s libdha.so.1.0 /usr/lib/libdha.so install -m644 etc/codecs.conf /etc/mplayer install -m644 etc/*.conf /etc/mplayer echo "dev.rtc.max-user-freq=1024" >> /etc/sysctl.conf
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
.....We build mplayer as 32bit for the codecs......