gst-openmax: fix build with newer GLib

The new GLib deprecated some threading API, but gst-openmax wasn't detecting
release vs development at all so assuming development, and thus building with
-Werror.  Set the variable that the configure script is assuming to exist, so
that -Werror isn't used.

(From OE-Core rev: 26bf8f6a047ccc0f73eaa40093afddabfce8ea1b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2012-12-17 17:21:11 +00:00 committed by Richard Purdie
parent 91b6a483cf
commit 2a9c574fd8
1 changed files with 5 additions and 1 deletions

View File

@ -11,9 +11,13 @@ SRC_URI = "http://gstreamer.freedesktop.org/src/gst-openmax/gst-openmax-${PV}.ta
inherit autotools
# Tell configure that this isn't a development snapshot so we don't want
# -Werror (hopefully fixed in 0.10.2)
export GST_CVS="no"
EXTRA_OECONF += "--disable-valgrind"
PR = "r3"
PR = "r4"
FILES_${PN} += "${libdir}/gstreamer-0.10/libgstomx.so"
FILES_${PN}-dev += "${libdir}/gstreamer-0.10/libgstomx.la"