libopus: fixed recipe, bump revision.

This commit is contained in:
Jerome Duval
2014-08-13 21:19:37 +00:00
parent 415330eafd
commit ec8fb48703

View File

@@ -11,24 +11,26 @@ COPYRIGHT="2001-2014 Xiph.org"
LICENSE="BSD (3-clause)"
SRC_URI="http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz"
CHECKSUM_SHA256="b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libopus$secondaryArchSuffix = $portVersion
lib:libopus$secondaryArchSuffix = $portVersion
"
libopus$secondaryArchSuffix = $portVersion compat >= 1
lib:libopus$secondaryArchSuffix = 0.5.0 compat >= 0.5
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
cmd:sed
cmd:awk
"
SOURCE_DIR="opus-1.1"
BUILD()
@@ -42,10 +44,15 @@ INSTALL()
prepareInstalledDevelLibs libopus
packageEntries devel $developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libopus${secondaryArchSuffix}_devel = $portVersion
devel:libopus$secondaryArchSuffix = $portVersion
"
libopus${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libopus$secondaryArchSuffix = 0.5.0 compat >= 0.5
"
REQUIRES_devel="
lib:libopus$secondaryArchSuffix == $portVersion base
"
libopus$secondaryArchSuffix == $portVersion base
"