Files
haikuports/media-libs/faad2/faad2-2.7.recipe
dash102 1b9b981584 Reformat 10 Recipes 2
Update enca-1.15.recipe

Update libpaper-1.1.24.recipe

Update libedit-2014_10_30_3.1.recipe

Update faad2-2.7.recipe

Update libebur128-1.0.1.recipe

Update pnglite-0.1.17.recipe

Update libircclient-1.8.recipe

Update glu-9.0.0.recipe

Update polarssl-1.3.9.recipe

Update libpaper-1.1.24.recipe

Update libedit-2014_10_30_3.1.recipe

Update faad2-2.7.recipe

Update libebur128-1.0.1.recipe

Update libebur128-1.0.1.recipe

Update libsdl2-2.0.1.recipe

Update libircclient-1.8.recipe

Update libpaper-1.1.24.recipe
2015-12-28 12:36:51 +00:00

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="1"
SOURCE_URI="http://downloads.sourceforge.net/faac/faad2-2.7.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.0
lib:libfaad$secondaryArchSuffix = 2.0.0 compat >= 2
cmd:faad$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku${secondaryArchSuffix}
"
PROVIDES_devel="
faad2${secondaryArchSuffix}_devel = $portVersion compat >= 2.0
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
}