summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-08-11 17:21:55 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-09 12:12:22 +0100
commit3878dacc3824908c6805e53fcb179ae99d53f0e3 (patch)
treee2c89a40e05edd0920f55249f85dc57148846d52 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
parente1aad9e8a151643b2644fdcc24f1bdaa90138d86 (diff)
downloadpoky-3878dacc3824908c6805e53fcb179ae99d53f0e3.tar.gz
gstreamer1.0: enable gtk-doc support
check support is no longer disabled by default because it is a requirement of gtk-doc support in gstreamer. (From OE-Core rev: 628a849ff14e165b8c00c6649d042225f5a35732) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc16
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
6DEPENDS = "gstreamer1.0 glib-2.0-native" 6DEPENDS = "gstreamer1.0 glib-2.0-native"
7 7
8inherit autotools pkgconfig upstream-version-is-even gobject-introspection 8inherit autotools pkgconfig upstream-version-is-even gobject-introspection gtk-doc
9 9
10acpaths = "-I ${S}/common/m4 -I ${S}/m4" 10acpaths = "-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
38do_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
40patch_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
50do_configure[prefuncs] += " delete_pkg_m4_file patch_gtk_doc_makefiles"
39 51
40PACKAGES_DYNAMIC = "^${PN}-.*" 52PACKAGES_DYNAMIC = "^${PN}-.*"