aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-03-09 17:02:02 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-12 22:11:18 +0000
commite70ed487b0f489e4d62b69476d364d7de54b79e2 (patch)
treedff8e8db5abdc34a8533675576960886e5543af4 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
parentacc6fb629deb5d7e953b8d1f1c012e1f33c13c40 (diff)
downloadopenembedded-core-contrib-e70ed487b0f489e4d62b69476d364d7de54b79e2.tar.gz
openembedded-core-contrib-e70ed487b0f489e4d62b69476d364d7de54b79e2.tar.bz2
openembedded-core-contrib-e70ed487b0f489e4d62b69476d364d7de54b79e2.zip
gstreamer: enable gobject introspection
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.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
index 18ed6cf266..128a1fe819 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"
DEPENDS = "gstreamer1.0 glib-2.0-native"
-inherit autotools pkgconfig gettext upstream-version-is-even
+inherit autotools pkgconfig gettext upstream-version-is-even gobject-introspection
acpaths = "-I ${S}/common/m4 -I ${S}/m4"
@@ -28,4 +28,13 @@ EXTRA_OECONF = " \
--disable-examples \
"
+SRC_URI_append = " file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch"
+
+delete_pkg_m4_file() {
+ # This m4 file is out of date and is missing PKG_CONFIG_SYSROOT_PATH tweaks which we need for introspection
+ rm "${S}/common/m4/pkg.m4" || true
+}
+
+do_configure[prefuncs] += " delete_pkg_m4_file"
+
PACKAGES_DYNAMIC = "^${PN}-.*"