main/opus: upgrade to 1.5.2

This commit is contained in:
Francesco Colista 2024-05-07 16:00:10 +02:00
parent 8bba61669f
commit f1cd6eb3dc
2 changed files with 17 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=opus
pkgver=1.4
pkgver=1.5.2
pkgrel=0
pkgdesc="Codec designed for interactive speech and audio transmission over the Internet"
url="https://www.opus-codec.org/"
@ -9,8 +9,9 @@ arch="all"
license="BSD-3-Clause"
makedepends="meson"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/xiph/opus/releases/download/v$pkgver/opus-$pkgver.tar.gz
source="https://downloads.xiph.org/releases/opus/opus-$pkgver.tar.gz
arm32.patch
fix-test.patch
"
case "$CARCH" in
@ -37,7 +38,7 @@ build() {
}
check() {
meson test -t10 --no-rebuild --print-errorlogs -C output
meson test -t10 --no-rebuild --print-errorlogs -C output
}
package() {
@ -46,6 +47,7 @@ package() {
}
sha512sums="
1ecd39e0add24de12823bf7c936bb67441228721e2cdae0edbfcf3cee0894bcc6edf2a1d0ca5cdfdad1565803bf39cc4c985ad32710c2a9582f850adeb5ca631 opus-1.4.tar.gz
78d963cd56d5504611f111e2b3606e236189a3585d65fae1ecdbec9bf4545632b1956f11824328279a2d1ea2ecf441ebc11e455fb598d20a458df15185e95da4 opus-1.5.2.tar.gz
4218a3bc31efb91aa6b9cb2ac5928e63c34fd3b5aac61c68fa13b5a5fee00f902a1a03c61735d0610b0ded8f5b5e789494ea24165383bd4501d6a16e422e8eb6 arm32.patch
093650e1593c6d653a7037f199ea04f37e75c5783777112d26df9d689a548211a706ab6964b67edfe0818a0d02de2cebf734e222432bdbc13a91cb15a97e47a3 fix-test.patch
"

11
main/opus/fix-test.patch Normal file
View File

@ -0,0 +1,11 @@
diff --git a/tests/meson.build b/tests/meson.build
index 1a4040b..263c779 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,6 +1,5 @@
# Tests that link to libopus
opus_tests = [
- ['test_opus_api'],
['test_opus_decode', [], 120],
['test_opus_encode', 'opus_encode_regressions.c', 240],
['test_opus_extensions', [], 120],