mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
70 lines
1.7 KiB
Bash
70 lines
1.7 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="1"
|
|
SOURCE_URI="http://downloads.sourceforge.net/faac/faad2-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="133270a9be0c9ab8fea18017703ab4a94f9eddbb45a8aa6a511a1469fa413591"
|
|
PATCHES="faad2-$portVersion.patchset"
|
|
|
|
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
|
|
lib:libfaad_drm$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:libfaad_drm$secondaryArchSuffix = 2.0.0 compat >= 2
|
|
"
|
|
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
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
./bootstrap
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libfaad*.la
|
|
|
|
prepareInstalledDevelLibs libfaad libfaad_drm
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
|
|
}
|