[packages/gstreamer-plugins-bad] fix musepack linking
atler
atler at pld-linux.org
Fri Oct 15 13:15:43 CEST 2021
commit 4587e0c2f96810a20398b02b11b6f5bf53604a4d
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Oct 15 13:15:02 2021 +0200
fix musepack linking
gstreamer-plugins-bad.spec | 2 ++
musepack.patch | 11 +++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/gstreamer-plugins-bad.spec b/gstreamer-plugins-bad.spec
index 90a991c..7c7ba7d 100644
--- a/gstreamer-plugins-bad.spec
+++ b/gstreamer-plugins-bad.spec
@@ -68,6 +68,7 @@ Source0: https://gstreamer.freedesktop.org/src/gst-plugins-bad/%{gstname}-%{vers
Patch0: %{name}-libdts.patch
Patch1: %{name}-mfx.patch
Patch2: %{name}-neon.patch
+Patch3: musepack.patch
URL: https://gstreamer.freedesktop.org/
BuildRequires: autoconf >= 2.69
BuildRequires: automake >= 1:1.14
@@ -1226,6 +1227,7 @@ Wtyczka GStreamera skanująca kody kreskowe.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
%{__libtoolize}
diff --git a/musepack.patch b/musepack.patch
new file mode 100644
index 0000000..b3dced6
--- /dev/null
+++ b/musepack.patch
@@ -0,0 +1,11 @@
+--- gst-plugins-bad-1.16.3/configure.ac.orig 2021-10-15 12:52:01.804215859 +0200
++++ gst-plugins-bad-1.16.3/configure.ac 2021-10-15 12:51:22.824978823 +0200
+@@ -1776,7 +1776,7 @@
+ AG_GST_CHECK_FEATURE(MUSEPACK, [musepackdec], musepack, [
+ AC_CHECK_HEADER([mpc/mpcdec.h], [
+ HAVE_MUSEPACK="yes"
+- MUSEPACK_LIBS="-lmpcdec"
++ MUSEPACK_LIBS="-lmpcdecsv8"
+ AC_SUBST(MUSEPACK_LIBS)
+ ], [HAVE_MUSEPACK="no"])
+ ])
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gstreamer-plugins-bad.git/commitdiff/4587e0c2f96810a20398b02b11b6f5bf53604a4d
More information about the pld-cvs-commit
mailing list