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>
This commit is contained in:
Gary Thomas 2010-09-29 16:22:40 +01:00 committed by Richard Purdie
parent a598c15636
commit 53bfbe6b06

View File

@ -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)