aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/files/gtk-doc-tweaks.patch
blob: 593d5bb043bf402137fa224c0d64f81151f7f247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Patch the gtk-doc makefiles so that the qemu wrapper is used to run transient
binaries instead of libtool wrapper or running them directly.

Also substitute a bogus plugin scanner, as trying to run the real one is causing
issues during build on x86_64.

Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@intel.com>

--- a/common/gtk-doc.mak.orig	2017-12-20 12:43:20.586474397 +0000
+++ b/common/gtk-doc.mak	2017-12-20 12:45:20.758874995 +0000
@@ -8,3 +8,3 @@
 GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
-GTKDOC_RUN = $(LIBTOOL) --mode=execute
+GTKDOC_RUN = $(top_builddir)/gtkdoc-qemuwrapper
 else
@@ -12,3 +12,3 @@
 GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
-GTKDOC_RUN =
+GTKDOC_RUN = $(top_builddir)/gtkdoc-qemuwrapper
 endif
@@ -99,2 +99,3 @@
 	    fi; \
+	    GST_PLUGIN_SCANNER_1_0="$(top_builddir)/libs/gst/helpers/gst-plugin-scanner-dummy" \
 	    GST_PLUGIN_SYSTEM_PATH_1_0=`cd $(top_builddir) && pwd`	\