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

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


commit 124703941f194bd105a0726865d438455ca0d595
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 16 20:59:52 2022 +0200

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

 gstreamer-plugins-base-pc.patch | 12 ++++++++++++
 gstreamer-plugins-base.spec     |  2 ++
 2 files changed, 14 insertions(+)
---
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 6ea1dda..987e9b8 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -19,6 +19,7 @@ License:	LGPL v2+
 Group:		Libraries
 Source0:	https://gstreamer.freedesktop.org/src/gst-plugins-base/%{gstname}-%{version}.tar.xz
 # Source0-md5:	a9d1a391bee0033f9801f9f3fce7aa1a
+Patch0:		%{name}-pc.patch
 URL:		https://gstreamer.freedesktop.org/
 %{?with_apidocs:BuildRequires:	docbook-dtd412-xml}
 BuildRequires:	gettext-tools >= 0.17
@@ -403,6 +404,7 @@ Wtyczka wyjścia obrazu Xvideo dla GStreamera.
 
 %prep
 %setup -q -n %{gstname}-%{version}
+%patch0 -p1
 
 %build
 %meson build \
diff --git a/gstreamer-plugins-base-pc.patch b/gstreamer-plugins-base-pc.patch
new file mode 100644
index 0000000..1b5bfb5
--- /dev/null
+++ b/gstreamer-plugins-base-pc.patch
@@ -0,0 +1,12 @@
+--- gst-plugins-base-1.20.1/meson.build.orig	2022-03-14 12:33:40.000000000 +0100
++++ gst-plugins-base-1.20.1/meson.build	2022-04-16 20:39:18.235165721 +0200
+@@ -452,7 +452,8 @@ pkgconfig_variables = ['exec_prefix=${pr
+     'datadir=${datarootdir}',
+     'girdir=${datadir}/gir-1.0',
+     'typelibdir=${libdir}/girepository-1.0',
+-    'libexecdir=${prefix}/libexec']
++    'libexecdir=' + join_paths(get_option('prefix'), get_option('libexecdir'))
++]
+ pkgconfig_subdirs = ['gstreamer-1.0']
+ 
+ meson_pkg_config_file_fixup_script = find_program('scripts/meson-pkg-config-file-fixup.py')
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer-plugins-base.git/commitdiff/124703941f194bd105a0726865d438455ca0d595



More information about the pld-cvs-commit mailing list