]> git.pld-linux.org Git - packages/gstreamer.git/commitdiff
- added pc patch (write libexecdir consistent with actually used path, passed from...
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 16 Apr 2022 18:26:34 +0000 (20:26 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 16 Apr 2022 18:26:34 +0000 (20:26 +0200)
gstreamer-pc.patch [new file with mode: 0644]
gstreamer.spec

diff --git a/gstreamer-pc.patch b/gstreamer-pc.patch
new file mode 100644 (file)
index 0000000..dfae1dd
--- /dev/null
@@ -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',
index ecc2d0436fda89466fa17d887997107984ab0b5f..3540553550f5975693c4a8aaa9ff7737d360a8d5 100644 (file)
@@ -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
 
This page took 0.14616 seconds and 4 git commands to generate.