Difference between revisions of "FAAC"

From CBLFS
Jump to navigationJump to search
(This edit is from http://bugs.sourcemage.org/show_bug.cgi?id=15263)
 
(6 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/faac/faac-1.25.tar.gz
+
| http://prdownloads.sourceforge.net/faac/faac-{{FAAC-Version}}.tar.gz
|-
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/faac/faac-1.25-config_update-1.patch
 
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Blank-Package-Introduction}}
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Optional ===
 
=== Optional ===
* [[FAAD2]] (Will use internal version if external version isn't available)
+
* [[FAAD2]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 19: Line 18:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../faac-1.25-config_update-1.patch &&
 
chmod +x configure config.guess config.sub &&
 
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 +
sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \
 +
    common/mp4v2/mpeg4ip.h &&
 
  make
 
  make
  
Line 34: Line 33:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../faac-1.25-config_update-1.patch &&
 
chmod +x configure config.guess config.sub &&
 
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
 +
sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \
 +
    common/mp4v2/mpeg4ip.h &&
 
  make
 
  make
  
Line 47: Line 46:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../faac-1.25-config_update-1.patch &&
 
chmod +x configure config.guess config.sub &&
 
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
 
     --libdir=/usr/lib32 &&
 
     --libdir=/usr/lib32 &&
 +
sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \
 +
    common/mp4v2/mpeg4ip.h &&
 
  make
 
  make
  
Line 61: Line 60:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../faac-1.25-config_update-1.patch &&
 
chmod +x configure config.guess config.sub &&
 
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
 
     --libdir=/usr/lib64 &&
 
     --libdir=/usr/lib64 &&
 +
sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \
 +
    common/mp4v2/mpeg4ip.h &&
 
  make
 
  make
  
Line 70: Line 69:
  
 
  make install
 
  make install
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| faac
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libfaac.{a,la,so}
 +
|-valign="top"
 +
! Installed Directory:
 +
| None
 +
|}
 +
 +
[[Category:Media Libraries]]

Latest revision as of 12:49, 7 January 2010

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

Introduction to FAAC

Project Homepage: Unknown

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \
    common/mp4v2/mpeg4ip.h &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \
    common/mp4v2/mpeg4ip.h &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \
    common/mp4v2/mpeg4ip.h &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
sed -i "s/^\(.*strcasestr\)/\/\/ This is in libc and conflicts: \1 /" \
    common/mp4v2/mpeg4ip.h &&
make

Install the package

make install

Contents

Installed Programs: faac
Installed Libraries: libfaac.{a,la,so}
Installed Directory: None