Difference between revisions of "LibFAME"
From CBLFS
Jump to navigationJump to search (→Multilib) |
|||
Line 5: | Line 5: | ||
|- | |- | ||
!Download Patch: | !Download Patch: | ||
− | | http:// | + | | http://svn.cross-lfs.org/svn/repos/patches/libfame/libfame-0.9.1-gcc34-1.patch |
+ | |- | ||
+ | !Download patch: | ||
+ | | http://svn.cross-lfs.org/svn/repos/patches/libfame/libfame-0.9.1-config_update-1.patch | ||
|} | |} | ||
Line 17: | Line 20: | ||
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && | patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && | ||
+ | patch -Np1 -i ../libfame-0.9.1-config_update-1.patch && | ||
sed -i 's/$CC --version/$CC -dumpversion/' configure && | sed -i 's/$CC --version/$CC -dumpversion/' configure && | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
Line 32: | Line 36: | ||
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && | patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && | ||
+ | patch -Np1 -i ../libfame-0.9.1-config_update-1.patch && | ||
sed -i 's/$CC --version/$CC -dumpversion/' configure && | sed -i 's/$CC --version/$CC -dumpversion/' configure && | ||
CC="gcc ${BUILD32}" ./configure --prefix=/usr && | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | ||
Line 46: | Line 51: | ||
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && | patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && | ||
+ | patch -Np1 -i ../libfame-0.9.1-config_update-1.patch && | ||
sed -i 's/$CC --version/$CC -dumpversion/' configure && | sed -i 's/$CC --version/$CC -dumpversion/' configure && | ||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
Line 60: | Line 66: | ||
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && | patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && | ||
+ | patch -Np1 -i ../libfame-0.9.1-config_update-1.patch && | ||
sed -i 's/$CC --version/$CC -dumpversion/' configure && | sed -i 's/$CC --version/$CC -dumpversion/' configure && | ||
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && | CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && |
Revision as of 13:02, 2 November 2006
Contents
Dependencies
Non-Multilib
Compile the package:
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && patch -Np1 -i ../libfame-0.9.1-config_update-1.patch && sed -i 's/$CC --version/$CC -dumpversion/' configure && ./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
Compile the package:
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && patch -Np1 -i ../libfame-0.9.1-config_update-1.patch && sed -i 's/$CC --version/$CC -dumpversion/' configure && CC="gcc ${BUILD32}" ./configure --prefix=/usr && make
Install the package
make install && mv -v /usr/bin/libfame-config{,-32}
N32
Compile the package:
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && patch -Np1 -i ../libfame-0.9.1-config_update-1.patch && sed -i 's/$CC --version/$CC -dumpversion/' configure && CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install && mv -v /usr/bin/libfame-config{,-n32}
64Bit
Compile the package:
patch -Np1 -i ../libfame-0.9.1-gcc34-1.patch && patch -Np1 -i ../libfame-0.9.1-config_update-1.patch && sed -i 's/$CC --version/$CC -dumpversion/' configure && CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package
make install && mv -v /usr/bin/libfame-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/libfame-config
Content
libFAME is a fast (real-time) MPEG-1 as well as MPEG-4 rectangular and arbitrary shaped video encoding library.
Installed Programs: libfame-config
Installed Libraries: libfame.{so,a}
Installed Directories: None
Short Descriptions
libfame-config: provides configuration information for libfame.
libfame.{so,a}: provides functions for the video encoding programs.