mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
faad2: bump version
This commit is contained in:
69
media-libs/faad2/faad2-2.10.0.recipe
Normal file
69
media-libs/faad2/faad2-2.10.0.recipe
Normal file
@@ -0,0 +1,69 @@
|
||||
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="https://www.audiocoding.com/"
|
||||
COPYRIGHT="2003-2005 M. Bakker, Nero AG."
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/knik0/faad2/archive/${portVersion//./_}.tar.gz"
|
||||
CHECKSUM_SHA256="0c6d9636c96f95c7d736f097d418829ced8ec6dbd899cc6cc82b728480a84bfb"
|
||||
SOURCE_DIR="faad2-${portVersion//./_}"
|
||||
PATCHES="faad2-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
faad2$secondaryArchSuffix = $portVersion compat >= 2
|
||||
cmd:faad$secondaryArchSuffix = $portVersion
|
||||
lib:libfaad$secondaryArchSuffix = 2.0.0 compat >= 2
|
||||
lib:libfaad_drm$secondaryArchSuffix = 2.0.0 compat >= 2
|
||||
"
|
||||
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:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libfaad*.la
|
||||
|
||||
prepareInstalledDevelLibs libfaad libfaad_drm
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user