mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Removed the full-stop and repeating package name in SUMMARY. Removed hard line breaks, broke up some very long paragraphs and use bullet lists where possible. All done by browsing through HaikuDepot. There may be (many) more left in the whole haikuports repo... Included 10 extended desriptions done by soyoye14 for GCI 2014 (https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632) Removed/insert whitespace where it seems to be the custom in recipes. Sometimes rearranged elements of a recipe (moving license and copyright up, for example).
76 lines
1.8 KiB
Plaintext
76 lines
1.8 KiB
Plaintext
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/"
|
|
SRC_URI="http://downloads.sourceforge.net/faac/faad2-2.7.tar.gz"
|
|
CHECKSUM_SHA256="ee26ed1e177c0cd8fa8458a481b14a0b24ca0b51468c8b4c8b676fd3ceccd330"
|
|
REVISION="1"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="2003-2005 M. Bakker, Nero AG."
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PATCHES="faad2-2.7.patch"
|
|
|
|
PROVIDES="
|
|
faad2$secondaryArchSuffix = $portVersion compat >= 2.0
|
|
lib:libfaad$secondaryArchSuffix = 2.0.0 compat >= 2
|
|
cmd:faad$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
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
|
|
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
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
|
|
"
|