Difference between revisions of "FAAD2"

From CBLFS
Jump to navigationJump to search
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''''FAAD2 does not build properly with gcc-4.1.x.'''''
 
----
 
 
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/faac/faad2-2.0.tar.gz
+
| http://prdownloads.sourceforge.net/faac/faad2-{{FAAD2-Version}}.tar.gz
|-
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/faad2/faad2-2.0-gentoo_fixes-1.patch
 
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|FAAD2 is an AAC audio decoding library.|http://www.audiocoding.com/}}
  
 
== Dependencies ==
 
== Dependencies ==
 +
 +
=== Required ===
 +
 +
* [[Id3lib]]
  
 
=== Optional ===
 
=== Optional ===
Line 29: Line 29:
 
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 &&
 +
sed -i '/AC_PROG_CXX/s/dnl //' configure.in &&
 
  autoreconf -vif &&
 
  autoreconf -vif &&
  ./configure --prefix=/usr --with-mp4v2 &&
+
  ./configure --prefix=/usr --with-drm &&
 
  make
 
  make
  
Line 44: Line 47:
 
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 &&
 +
sed -i '/AC_PROG_CXX/s/dnl //' configure.in &&
 
  autoreconf -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-drm &&
 
  make
 
  make
  
Line 58: Line 64:
 
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 &&
 +
sed -i '/AC_PROG_CXX/s/dnl //' configure.in &&
 
  autoreconf -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-drm &&
 
  make
 
  make
  
Line 72: Line 81:
 
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 &&
 +
sed -i '/AC_PROG_CXX/s/dnl //' configure.in &&
 
  autoreconf -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-drm &&
 
  make
 
  make
  
Line 81: Line 93:
  
 
  make install
 
  make install
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| faad
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libfaad.{a,la,so}
 +
|-valign="top"
 +
! Installed Directory:
 +
| None
 +
|}
 +
 +
[[Category:Media Libraries]]

Latest revision as of 15:25, 19 March 2009

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

Introduction to FAAD2

FAAD2 is an AAC audio decoding library.

Project Homepage: http://www.audiocoding.com/

Dependencies

Required

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 &&
sed -i '/AC_PROG_CXX/s/dnl //' configure.in &&
autoreconf -vif &&
./configure --prefix=/usr --with-drm &&
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 &&
sed -i '/AC_PROG_CXX/s/dnl //' configure.in &&
autoreconf -vif &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --with-drm &&
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 &&
sed -i '/AC_PROG_CXX/s/dnl //' configure.in &&
autoreconf -vif &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 --with-drm &&
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 &&
sed -i '/AC_PROG_CXX/s/dnl //' configure.in &&
autoreconf -vif &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 --with-drm &&
make

Install the package

make install

Contents

Installed Programs: faad
Installed Libraries: libfaad.{a,la,so}
Installed Directory: None
Retrieved from "?title=FAAD2&oldid=17508"