FAAD2

From CBLFS
Revision as of 13:27, 10 October 2006 by Jciccone (talk | contribs)
Jump to navigationJump to search

FAAD2 does not build properly with gcc-4.1.x.


Download Source: http://prdownloads.sourceforge.net/faac/faad2-2.0.tar.gz
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/faad2/faad2-2.0-gentoo_fixes-1.patch

Dependencies

Optional

Configuration

If you wish to build the XMMS plugin add the following to the configure command:

--with-xmms

Non-Multilib

Compile the package:

patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
autoreconf -vif &&
./configure --prefix=/usr --with-mp4v2 &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
autoreconf -vif &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --with-mp4v2 &&
make

Install the package

make install

N32

Compile the package:

patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
autoreconf -vif &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 --with-mp4v2 &&
make

Install the package

make install

64Bit

Compile the package:

patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
autoreconf -vif &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 --with-mp4v2 &&
make

Install the package

make install
Retrieved from "?title=FAAD2&oldid=2783"