]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gstreamer: do not attempt to run a plugin scanner during gtk-doc generation
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Mon, 5 Sep 2016 18:56:04 +0000 (21:56 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Sep 2016 21:41:19 +0000 (22:41 +0100)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
meta/recipes-multimedia/gstreamer/gstreamer1.0.inc

index e29a25f51c49b19483760f93f40bd94a23c534e1..5a61ca0ecc693b2d774606c3f61f677feb824dfe 100644 (file)
@@ -40,8 +40,10 @@ delete_pkg_m4_file() {
 patch_gtk_doc_makefiles() {
         # 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.
         sed -i \
            -e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \
+           -e "s|\$(GTKDOC_EXTRA_ENVIRONMENT)|\$(GTKDOC_EXTRA_ENVIRONMENT) GST_PLUGIN_SCANNER_1_0=\$(top_builddir)/libs/gst/helpers/gst-plugin-scanner-dummy|" \
            ${S}/common/gtk-doc*mak
 }
 
index c8af53993e4b7f42ed9c288a60486ad034153769..e6bd2dd5b25fc8102c5bd85bef4f36f20ea6b1f1 100644 (file)
@@ -56,8 +56,10 @@ delete_pkg_m4_file() {
 patch_gtk_doc_makefiles() {
         # 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.
         sed -i \
            -e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \
+           -e "s|\$(GTKDOC_EXTRA_ENVIRONMENT)|\$(GTKDOC_EXTRA_ENVIRONMENT) GST_PLUGIN_SCANNER_1_0=\$(top_builddir)/libs/gst/helpers/gst-plugin-scanner-dummy|" \
            ${S}/common/gtk-doc*mak
 }