mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
opusfile: bump to 0.11, add debuginfo.
This commit is contained in:
@@ -9,20 +9,24 @@ codec.
|
||||
The opusfile library provides seeking, decode, and playback of Opus streams \
|
||||
in the Ogg container (.opus files) including over http(s) on posix and \
|
||||
windows systems."
|
||||
HOMEPAGE="http://www.opus-codec.org"
|
||||
COPYRIGHT="2001-2014 Xiph.org"
|
||||
HOMEPAGE="https://opus-codec.org/"
|
||||
COPYRIGHT="2001-2018 Xiph.org"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://downloads.xiph.org/releases/opus/opusfile-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="48e03526ba87ef9cf5f1c47b5ebe3aa195bd89b912a57060c36184a6cd19412f"
|
||||
SOURCE_URI="https://downloads.xiph.org/releases/opus/opusfile-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="74ce9b6cf4da103133e7b5c95df810ceb7195471e1162ed57af415fabf5603bf"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="0.4.4"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
portVersionCompat="$portVersion compat >= 0"
|
||||
|
||||
PROVIDES="
|
||||
opusfile$secondaryArchSuffix = $portVersion compat >= 0
|
||||
lib:libopusfile$secondaryArchSuffix = 0.4.3 compat >= 0
|
||||
lib:libopusurl$secondaryArchSuffix = 0.4.3 compat >= 0
|
||||
opusfile$secondaryArchSuffix = $portVersionCompat
|
||||
lib:libopusfile$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libopusurl$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -32,9 +36,9 @@ REQUIRES="
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
opusfile${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
||||
devel:libopusfile$secondaryArchSuffix = 0.4.3 compat >= 0
|
||||
devel:libopusurl$secondaryArchSuffix = 0.4.3 compat >= 0
|
||||
opusfile${secondaryArchSuffix}_devel = $portVersionCompat
|
||||
devel:libopusfile$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libopusurl$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
opusfile$secondaryArchSuffix == $portVersion base
|
||||
@@ -59,6 +63,10 @@ BUILD_PREREQUIRES="
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
defineDebugInfoPackage opusfile$secondaryArchSuffix \
|
||||
"$libDir"/libopusfile.so.$libVersion \
|
||||
"$libDir"/libopusurl.so.$libVersion \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
@@ -71,10 +79,16 @@ INSTALL()
|
||||
make install
|
||||
|
||||
# remove libtool library file
|
||||
rm $libDir/libopusfile.la $libDir/libopusurl.la
|
||||
rm -f "$libDir"/libopus*.la
|
||||
|
||||
prepareInstalledDevelLibs libopusfile libopusurl
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
packageEntries devel \
|
||||
"$developDir"
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user