1SUMMARY="Open implementation of AACS" 2DESCRIPTION="libaacs is an open implementation of the Advanced Access Content \ 3System (AACS) specification." 4HOMEPAGE="https://www.videolan.org/developers/libaacs.html" 5COPYRIGHT="2009-2013 npzacs 6 2010 gates 7 2009-2010 hpi1 8 2009-2010 Obliter0n 9 2011-2013 VideoLAN 10 2012 Konstantin Pavlov 11 2013 Petri Hintukainen" 12LICENSE="GNU LGPL v2.1" 13REVISION="2" 14SOURCE_URI="https://download.videolan.org/pub/videolan/libaacs/$portVersion/libaacs-$portVersion.tar.bz2" 15CHECKSUM_SHA256="6d884381fbb659e2a565eba91e72499778635975e4b3d6fd94ab364a25965387" 16 17ARCHITECTURES="all !x86_gcc2" 18SECONDARY_ARCHITECTURES="x86" 19 20libVersion="0.7.1" 21libVersionCompat="$libVersion compat >= ${libVersion%%.*}" 22 23PROVIDES=" 24 libaacs$secondaryArchSuffix = $portVersion compat >= 0 25 cmd:aacs_info$secondaryArchSuffix 26 lib:libaacs$secondaryArchSuffix = $libVersionCompat 27 " 28REQUIRES=" 29 haiku$secondaryArchSuffix 30 lib:libgcrypt$secondaryArchSuffix 31 lib:libgpg_error$secondaryArchSuffix 32 " 33 34PROVIDES_devel=" 35 libaacs${secondaryArchSuffix}_devel = $portVersion compat >= 0 36 devel:libaacs$secondaryArchSuffix = $libVersionCompat 37 " 38REQUIRES_devel=" 39 libaacs$secondaryArchSuffix == $portVersion base 40 " 41 42BUILD_REQUIRES=" 43 haiku${secondaryArchSuffix}_devel 44 devel:libgcrypt$secondaryArchSuffix 45 devel:libgpg_error$secondaryArchSuffix 46 " 47BUILD_PREREQUIRES=" 48 cmd:aclocal 49 cmd:autoreconf 50 cmd:bison 51 cmd:flex 52 cmd:gcc$secondaryArchSuffix 53 cmd:ld$secondaryArchSuffix 54 cmd:libtoolize$secondaryArchSuffix 55 cmd:make 56 cmd:sed 57 " 58 59BUILD() 60{ 61 autoreconf -f -i 62 runConfigure ./configure --disable-static 63 make $jobArgs 64} 65 66INSTALL() 67{ 68 make install 69 70 rm $libDir/libaacs.la 71 72 prepareInstalledDevelLib libaacs 73 fixPkgconfig 74 75 # devel package 76 packageEntries devel \ 77 $developDir 78} 79