mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
85 lines
1.9 KiB
Plaintext
85 lines
1.9 KiB
Plaintext
SUMMARY="Open implementation of AACS"
|
|
DESCRIPTION="
|
|
libaacs is an open implementation of the Advanced Access Content System (AACS) \
|
|
specification.
|
|
"
|
|
HOMEPAGE="http://www.videolan.org/developers/libaacs.html"
|
|
COPYRIGHT="
|
|
2009-2013 npzacs
|
|
2010 gates
|
|
2009-2010 hpi1
|
|
2009-2010 Obliter0n
|
|
2011-2013 VideoLAN
|
|
2012 Konstantin Pavlov
|
|
2013 Petri Hintukainen
|
|
"
|
|
LICENSE="GNU LGPL v2.1"
|
|
SRC_URI="http://downloads.videolan.org/pub/videolan/libaacs/$portVersion/libaacs-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="5e44545c7c4cb48bea49ff6b19d148416663593d6125ac8734776df21154ba94"
|
|
REVISION="1"
|
|
ARCHITECTURES="x86 x86_64"
|
|
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
|
# x86_gcc2 is fine as primary target architecture as long as we're building
|
|
# for a different secondary architecture.
|
|
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
|
fi
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PATCHES="libaacs-$portVersion.patchset"
|
|
|
|
PROVIDES="
|
|
libaacs$secondaryArchSuffix = $portVersion compat >= 0
|
|
cmd:aacs_info${secondaryArchSuffix}
|
|
lib:libaacs$secondaryArchSuffix = 0.5.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgcrypt$secondaryArchSuffix
|
|
lib:libgpg_error$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgcrypt$secondaryArchSuffix
|
|
devel:libgpg_error$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoreconf
|
|
cmd:aclocal
|
|
cmd:libtoolize
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:bison
|
|
cmd:flex
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -f -i
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libaacs
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
libaacs${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
|
devel:libaacs$secondaryArchSuffix = 0.5.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libaacs$secondaryArchSuffix == $portVersion base
|
|
"
|