diff options
author | Gary Thomas <gary@mlbassoc.com> | 2010-09-29 16:22:40 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-29 16:22:40 +0100 |
commit | 53bfbe6b061180b4eef7614340b6f8b1ff23d902 (patch) | |
tree | 8251309b1c70b5f501e67df7dc89d98fd24ed381 /meta/recipes-multimedia | |
parent | a598c156363b1eea837b7700c81746afd3c32bfe (diff) | |
download | poky-53bfbe6b061180b4eef7614340b6f8b1ff23d902.tar.gz |
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 <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-plugins.inc | 8 |
1 files changed, 8 insertions, 0 deletions
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" | |||
20 | 20 | ||
21 | PACKAGES_DYNAMIC = "${PN}-*" | 21 | PACKAGES_DYNAMIC = "${PN}-*" |
22 | 22 | ||
23 | # orc.m4 calls pkg-config ----variable=orcc orc-0.4 to get the path to orcc, | ||
24 | # resulting in /usr/bin/orcc. Force it to use the staged orcc. | ||
25 | do_configure_append() { | ||
26 | for i in $(find ${S} -name "Makefile") ; do | ||
27 | sed -i -e s:${bindir}/orcc:${STAGING_BINDIR_NATIVE}/orcc:g $i | ||
28 | done | ||
29 | } | ||
30 | |||
23 | python populate_packages_prepend () { | 31 | python populate_packages_prepend () { |
24 | gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) | 32 | gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) |
25 | postinst = bb.data.getVar('plugin_postinst', d, 1) | 33 | postinst = bb.data.getVar('plugin_postinst', d, 1) |