opus: bump version.

* enable custom modes and ambisonics.
This commit is contained in:
Jerome Duval
2017-07-03 20:59:44 +02:00
parent 1ba099f225
commit d27a008864
2 changed files with 5 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ COPYRIGHT="2001-2014 Xiph.org"
LICENSE="BSD (3-clause)" LICENSE="BSD (3-clause)"
REVISION="1" REVISION="1"
SOURCE_URI="https://archive.mozilla.org/pub/opus/opus-$portVersion.tar.gz" SOURCE_URI="https://archive.mozilla.org/pub/opus/opus-$portVersion.tar.gz"
CHECKSUM_SHA256="77db45a87b51578fbc49555ef1b10926179861d854eb2613207dc79d9ec0a9a9" CHECKSUM_SHA256="cfafd339ccd9c5ef8d6ab15d7e1a412c054bf4cb4ecbbbcc78c12ef2def70732"
PATCHES="opus-$portVersion.patchset" PATCHES="opus-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64" ARCHITECTURES="x86_gcc2 x86 x86_64"
@@ -37,7 +37,7 @@ SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES=" PROVIDES="
opus$secondaryArchSuffix = $portVersion compat >= 1 opus$secondaryArchSuffix = $portVersion compat >= 1
lib:libopus$secondaryArchSuffix = 0.5.5 compat >= 0 lib:libopus$secondaryArchSuffix = 0.6.1 compat >= 0
" "
REQUIRES=" REQUIRES="
haiku$secondaryArchSuffix haiku$secondaryArchSuffix
@@ -45,7 +45,7 @@ REQUIRES="
PROVIDES_devel=" PROVIDES_devel="
opus${secondaryArchSuffix}_devel = $portVersion compat >= 1 opus${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libopus$secondaryArchSuffix = 0.5.5 compat >= 0 devel:libopus$secondaryArchSuffix = 0.6.1 compat >= 0
" "
REQUIRES_devel=" REQUIRES_devel="
opus$secondaryArchSuffix == $portVersion base opus$secondaryArchSuffix == $portVersion base
@@ -68,7 +68,8 @@ BUILD()
if [ $effectiveTargetArchitecture = "x86_gcc2" ]; then if [ $effectiveTargetArchitecture = "x86_gcc2" ]; then
configureFlags=--disable-intrinsics configureFlags=--disable-intrinsics
fi fi
runConfigure ./configure $configureFlags runConfigure ./configure $configureFlags \
--enable-custom-modes --enable-ambisonics
make make
} }