summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0/fix-install-hook.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/fix-install-hook.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/fix-install-hook.patch
new file mode 100644
index 0000000000..71bd9bc319
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/fix-install-hook.patch
@@ -0,0 +1,24 @@
1This needs to be a install-data-hook not an install-exec-hook as the helpers are
2installed into helperdir which is considered data (only path variables with
3"exec" in are considered executables).
4
5The explicit dependency on install-helpersPROGRAMS was an attempt at solving
6this, but this causes occasional races where install-helpersPROGRAMS can run
7twice in parallel (once via install-all, once via the hook's dependency).
8
9Upstream-Status: Backport [09aa20746a0fef97fb811c5503928c13a1f55eb5]
10Signed-off-by: Ross Burton <ross.burton@intel.com>
11
12diff --git a/libs/gst/helpers/Makefile.am b/libs/gst/helpers/Makefile.am
13index 0ae9ab0..2530a34 100644
14--- a/libs/gst/helpers/Makefile.am
15+++ b/libs/gst/helpers/Makefile.am
16@@ -23,7 +23,7 @@ gst_ptp_helper_CFLAGS = $(GST_OBJ_CFLAGS) $(GIO_CFLAGS)
17 gst_ptp_helper_LDADD = $(GST_OBJ_LIBS) $(GIO_LIBS) $(CAP_LIBS)
18 endif
19
20-install-exec-hook: install-helpersPROGRAMS
21+install-data-hook:
22 if HAVE_PTP
23 if HAVE_PTP_HELPER_SETUID
24 - chown root $(DESTDIR)$(helpersdir)/gst-ptp-helper