libopus: 1.5.1 -> 1.5.2

Changes: https://opus-codec.org/release/stable/2024/04/12/libopus-1_5_2.html
This commit is contained in:
Sergei Trofimovich 2024-04-14 21:40:35 +01:00
parent 55b4d7d86f
commit 56470bb5d6
2 changed files with 2 additions and 16 deletions

View File

@ -18,15 +18,14 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libopus";
version = "1.5.1";
version = "1.5.2";
src = fetchurl {
url = "https://downloads.xiph.org/releases/opus/opus-${finalAttrs.version}.tar.gz";
hash = "sha256-uEYQlZuNQXthGqEqIlZeCjcyCXxjidGQmNhEVD40D4U=";
hash = "sha256-ZcHS94ufL7IAgsOMvkfJUa1YOTRYduRpQWEu6H+afOE=";
};
patches = [
./fix-pkg-config-paths.patch
# Some tests time out easily on slower machines
./test-timeout.patch
];

View File

@ -1,13 +0,0 @@
--- i/meson.build
+++ w/meson.build
@@ -591,8 +591,8 @@ pkgconf = configuration_data()
pkgconf.set('prefix', join_paths(get_option('prefix')))
pkgconf.set('exec_prefix', '${prefix}')
-pkgconf.set('libdir', '${prefix}/@0@'.format(get_option('libdir')))
-pkgconf.set('includedir', '${prefix}/@0@'.format(get_option('includedir')))
+pkgconf.set('libdir', '${prefix}' / get_option('libdir'))
+pkgconf.set('includedir', '${prefix}' / get_option('includedir'))
pkgconf.set('VERSION', opus_version)
pkgconf.set('PC_BUILD', pc_build)
pkgconf.set('LIBM', libm.found() ? '-lm' : '')