Difference between revisions of "FAAD2"

From CBLFS
Jump to navigationJump to search
Line 27: Line 27:
  
 
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
 
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
  autoconf -vif &&
+
  autoreconf -vif &&
 
  ./configure --prefix=/usr --with-mp4v2 &&
 
  ./configure --prefix=/usr --with-mp4v2 &&
 
  make
 
  make
Line 42: Line 42:
  
 
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
 
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
  autoconf -vif &&
+
  autoreconf -vif &&
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  ./configure --prefix=/usr --with-mp4v2 &&
 
  ./configure --prefix=/usr --with-mp4v2 &&
Line 56: Line 56:
  
 
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
 
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
  autoconf -vif &&
+
  autoreconf -vif &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  ./configure --prefix=/usr --libdir=/usr/lib32 --with-mp4v2 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib32 --with-mp4v2 &&
Line 70: Line 70:
  
 
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
 
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
  autoconf -vif &&
+
  autoreconf -vif &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  ./configure --prefix=/usr --libdir=/usr/lib64 --with-mp4v2 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib64 --with-mp4v2 &&

Revision as of 13:15, 10 October 2006

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