mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-19 18:20:07 +02:00
75 lines
1.8 KiB
Bash
75 lines
1.8 KiB
Bash
SUMMARY="An open source MPEG-4 and MPEG-2 AAC decoder"
|
|
DESCRIPTION="This is an open source MPEG-4 and MPEG-4 ACC decoder programmed in C \
|
|
and used in FAAC (freeware Advanced Audio Coder). It is used with the FAAC \
|
|
encoder and can be compile on various platforms. It supports MPEG-4 audio \
|
|
object types including LC, Main, LTP, LD, ER, SBR and PS. It contains a \
|
|
library (libfaad) that may be used by other programs."
|
|
HOMEPAGE="http://www.audiocoding.com/"
|
|
COPYRIGHT="2003-2005 M. Bakker, Nero AG."
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="3"
|
|
SOURCE_URI="http://downloads.sourceforge.net/faac/faad2-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="ee26ed1e177c0cd8fa8458a481b14a0b24ca0b51468c8b4c8b676fd3ceccd330"
|
|
PATCHES="faad2-2.7.patch"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
faad2$secondaryArchSuffix = $portVersion compat >= 2
|
|
lib:libfaad$secondaryArchSuffix = 2.0.0 compat >= 2
|
|
cmd:faad$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
faad2${secondaryArchSuffix}_devel = $portVersion compat >= 2
|
|
devel:libfaad$secondaryArchSuffix = 2.0.0 compat >= 2
|
|
devel:libmp4ff$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
faad2$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:libtool
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
sed -i 's/(LTCOMPILE) -c/(LTCOMPILE) -nostart/' libfaad/Makefile.in
|
|
sed -i 's/iquote/I/' libfaad/Makefile.am
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
prepareInstalledDevelLibs libfaad libmp4ff
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
|
|
}
|