Difference between revisions of "FAAD2"

From CBLFS
Jump to navigationJump to search
Line 5: Line 5:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/faac/faad2-2.0.tar.gz
+
| http://prdownloads.sourceforge.net/faac/faad2-2.5.tar.gz
|-
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/faad2/faad2-2.0-gentoo_fixes-1.patch
 
 
|}
 
|}
  
Line 29: Line 26:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
+
  echo > plugins/Makefile.am &&
 +
echo > plugins/xmms/src/Makefile.am &&
 +
sed -i '/E_B/d' configure.in &&
 
  autoreconf -vif &&
 
  autoreconf -vif &&
 
  ./configure --prefix=/usr --with-mp4v2 &&
 
  ./configure --prefix=/usr --with-mp4v2 &&
Line 44: Line 43:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
+
  echo > plugins/Makefile.am &&
 +
echo > plugins/xmms/src/Makefile.am &&
 +
sed -i '/E_B/d' configure.in &&
 
  autoreconf -vif &&
 
  autoreconf -vif &&
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
Line 58: Line 59:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
+
  echo > plugins/Makefile.am &&
 +
echo > plugins/xmms/src/Makefile.am &&
 +
sed -i '/E_B/d' configure.in &&
 
  autoreconf -vif &&
 
  autoreconf -vif &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
Line 72: Line 75:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../faad2-2.0-gentoo_fixes-1.patch &&
+
  echo > plugins/Makefile.am &&
 +
echo > plugins/xmms/src/Makefile.am &&
 +
sed -i '/E_B/d' configure.in &&
 
  autoreconf -vif &&
 
  autoreconf -vif &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \

Revision as of 07:07, 11 October 2006

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


Download Source: http://prdownloads.sourceforge.net/faac/faad2-2.5.tar.gz

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:

echo > plugins/Makefile.am &&
echo > plugins/xmms/src/Makefile.am &&
sed -i '/E_B/d' configure.in &&
autoreconf -vif &&
./configure --prefix=/usr --with-mp4v2 &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

echo > plugins/Makefile.am &&
echo > plugins/xmms/src/Makefile.am &&
sed -i '/E_B/d' configure.in &&
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:

echo > plugins/Makefile.am &&
echo > plugins/xmms/src/Makefile.am &&
sed -i '/E_B/d' configure.in &&
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:

echo > plugins/Makefile.am &&
echo > plugins/xmms/src/Makefile.am &&
sed -i '/E_B/d' configure.in &&
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