diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc index 2dcec509d9..5a61ca0ecc 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | |||
@@ -5,7 +5,7 @@ SECTION = "multimedia" | |||
5 | 5 | ||
6 | DEPENDS = "gstreamer1.0 glib-2.0-native" | 6 | DEPENDS = "gstreamer1.0 glib-2.0-native" |
7 | 7 | ||
8 | inherit autotools pkgconfig upstream-version-is-even gobject-introspection | 8 | inherit autotools pkgconfig upstream-version-is-even gobject-introspection gtk-doc |
9 | 9 | ||
10 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" | 10 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" |
11 | 11 | ||
@@ -35,6 +35,18 @@ delete_pkg_m4_file() { | |||
35 | rm "${S}/common/m4/pkg.m4" || true | 35 | rm "${S}/common/m4/pkg.m4" || true |
36 | } | 36 | } |
37 | 37 | ||
38 | do_configure[prefuncs] += " delete_pkg_m4_file" | 38 | # gstreamer is not using system-wide makefiles (which we patch in gtkdoc recipe, |
39 | # but its own custom ones, which we have to patch here | ||
40 | patch_gtk_doc_makefiles() { | ||
41 | # Patch the gtk-doc makefiles so that the qemu wrapper is used to run transient binaries | ||
42 | # instead of libtool wrapper or running them directly | ||
43 | # Also substitute a bogus plugin scanner, as trying to run the real one is causing issues during build on x86_64. | ||
44 | sed -i \ | ||
45 | -e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \ | ||
46 | -e "s|\$(GTKDOC_EXTRA_ENVIRONMENT)|\$(GTKDOC_EXTRA_ENVIRONMENT) GST_PLUGIN_SCANNER_1_0=\$(top_builddir)/libs/gst/helpers/gst-plugin-scanner-dummy|" \ | ||
47 | ${S}/common/gtk-doc*mak | ||
48 | } | ||
49 | |||
50 | do_configure[prefuncs] += " delete_pkg_m4_file patch_gtk_doc_makefiles" | ||
39 | 51 | ||
40 | PACKAGES_DYNAMIC = "^${PN}-.*" | 52 | PACKAGES_DYNAMIC = "^${PN}-.*" |