From 53bfbe6b061180b4eef7614340b6f8b1ff23d902 Mon Sep 17 00:00:00 2001 From: Gary Thomas Date: Wed, 29 Sep 2010 16:22:40 +0100 Subject: gstreamer: Ensure correct orcc version is used Taken from a patch from the OE list posted by Michael Smith, submitted to Poky by Gary Thomas. Signed-off-by: Richard Purdie --- meta/recipes-multimedia/gstreamer/gst-plugins.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meta') diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins.inc b/meta/recipes-multimedia/gstreamer/gst-plugins.inc index f7f0a2d7c5..cd3e0a0a95 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins.inc +++ b/meta/recipes-multimedia/gstreamer/gst-plugins.inc @@ -20,6 +20,14 @@ FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug" PACKAGES_DYNAMIC = "${PN}-*" +# orc.m4 calls pkg-config ----variable=orcc orc-0.4 to get the path to orcc, +# resulting in /usr/bin/orcc. Force it to use the staged orcc. +do_configure_append() { + for i in $(find ${S} -name "Makefile") ; do + sed -i -e s:${bindir}/orcc:${STAGING_BINDIR_NATIVE}/orcc:g $i + done +} + python populate_packages_prepend () { gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) postinst = bb.data.getVar('plugin_postinst', d, 1) -- cgit 1.2.3-korg