opus: adopted port

This commit is contained in:
Tim Biermann 2023-08-19 11:47:58 +02:00
parent 8f29f71bb3
commit 7910291724
2 changed files with 19 additions and 17 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/aJ1QKQY4TlNLrSDmNQ6gIx27N52LlD6MvjxU+s/E3pYSzIe6vmO5o2RWtVMGzwkpWK8GHiJZClgDduP9k2Tngc=
SHA256 (Pkgfile) = ae146d01483a3232a8a30b0f7ccbd0e910dce3410fefd0773ef282807c406ef8
RWSE3ohX2g5d/UtvLv2oDpxg2ZewqPh+wrTreiZpkNX8MIt2HBRh3dUxxuQTiAEkRw16+/YCYi57eIX+qf6zVWqxPKmWUcSZ0AU=
SHA256 (Pkgfile) = a84c79ffa00b3f5200360a76ea5b8c74e9b9021f12f46fede37f2f8a1cf325ca
SHA256 (.footprint) = f021dc49696e9ea6d3551cc33d914f92e6115dc572aa5c71606f0baeffd9143d
SHA256 (opus-1.4.tar.gz) = c9b32b4253be5ae63d1ff16eea06b94b5f0f2951b7a02aceef58e3a3ce49c51f

View File

@ -1,22 +1,24 @@
# Description: Codec designed for interactive speech and audio transmission over the Internet.
# URL: https://www.opus-codec.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Description: a totally open, royalty-free, highly versatile audio codec
# URL: https://www.opus-codec.org
# Maintainer: Tim Biermann, tbier at posteo dot de
name=opus
version=1.4
release=1
source=(https://github.com/xiph/opus/releases/download/v$version/$name-$version.tar.gz)
release=2
source=(https://downloads.xiph.org/releases/opus/opus-$version.tar.gz)
build() {
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D custom-modes=true \
-D tests=disabled
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D custom-modes=true \
-D extra-programs=disabled \
-D docs=disabled \
-D tests=disabled
meson compile -C build
DESTDIR=$PKG meson install -C build
meson compile -C build
DESTDIR=$PKG meson install -C build
}