[packages/gstreamer] - added pc patch (write libexecdir consistent with actually used path, passed from rpm)

qboosh qboosh at pld-linux.org
Sat Apr 16 20:26:26 CEST 2022


commit 88dbdb311f9d12f2083acf7cb2499404a7681e3e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 16 20:26:34 2022 +0200

    - added pc patch (write libexecdir consistent with actually used path, passed from rpm)

 gstreamer-pc.patch | 11 +++++++++++
 gstreamer.spec     |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/gstreamer.spec b/gstreamer.spec
index ecc2d04..3540553 100644
--- a/gstreamer.spec
+++ b/gstreamer.spec
@@ -15,6 +15,7 @@ Group:		Libraries
 Source0:	https://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.xz
 # Source0-md5:	0684f545cddd1f3141fbeec73935447b
 Patch0:		%{name}-inspect-rpm-format.patch
+Patch1:		%{name}-pc.patch
 URL:		https://gstreamer.freedesktop.org/
 BuildRequires:	bash-completion-devel >= 2.0
 BuildRequires:	bison >= 1.875
@@ -137,6 +138,7 @@ gst-launch.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' docs/gst-plugins-doc-cache-generator.py
 
diff --git a/gstreamer-pc.patch b/gstreamer-pc.patch
new file mode 100644
index 0000000..dfae1dd
--- /dev/null
+++ b/gstreamer-pc.patch
@@ -0,0 +1,11 @@
+--- gstreamer-1.20.1/meson.build.orig	2022-03-14 12:33:40.000000000 +0100
++++ gstreamer-1.20.1/meson.build	2022-04-16 20:03:24.676832548 +0200
+@@ -577,7 +577,7 @@ pkgconfig_variables = ['exec_prefix=${pr
+     'datadir=${datarootdir}',
+     'girdir=${datadir}/gir-1.0',
+     'typelibdir=${libdir}/girepository-1.0',
+-    'libexecdir=${prefix}/libexec',
++    'libexecdir=' + join_paths(prefix, libexecdir),
+     'pluginscannerdir=${libexecdir}/gstreamer-1.0']
+ pkgconfig_uninstalled_variables = ['exec_prefix=${prefix}',
+ 	'gstreamerdir=${prefix}/subprojects/gstreamer',
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer.git/commitdiff/88dbdb311f9d12f2083acf7cb2499404a7681e3e



More information about the pld-cvs-commit mailing list