gstreamer1.0: Convert tests and valgrind config opts to PACKAGECONFIGs

I need to be able to run unit tests and build with valgrind support.

(From OE-Core rev: 287809aee528fa81f024c6005a7e8572643e6fb4)

Signed-off-by: Fabrice Coulon <fabrice.coulon@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Fabrice Coulon 2015-12-02 11:10:30 +01:00 committed by Richard Purdie
parent 11b952412f
commit f1e8938298
1 changed files with 3 additions and 3 deletions

View File

@ -11,11 +11,12 @@ inherit autotools pkgconfig gettext
PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
PACKAGECONFIG[check] = "--enable-check,--disable-check"
PACKAGECONFIG[tests] = "--enable-tests,--disable-tests"
PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind,"
EXTRA_OECONF = "--disable-docbook --disable-gtk-doc \
--disable-dependency-tracking \
--disable-examples --disable-tests \
--disable-valgrind \
--disable-examples \
"
RRECOMMENDS_${PN}_qemux86 += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
@ -26,4 +27,3 @@ CACHED_CONFIGUREVARS += "ac_cv_header_valgrind_valgrind_h=no"
FILES_${PN} += " ${libdir}/gstreamer-1.0/*.so ${datadir}/bash-completion/completions/ ${datadir}/bash-completion/helpers/gst*"
FILES_${PN}-dev += " ${libdir}/gstreamer-1.0/*.la ${libdir}/gstreamer-1.0/*.a ${libdir}/gstreamer-1.0/include"
FILES_${PN}-dbg += " ${libdir}/gstreamer-1.0/.debug/ ${libexecdir}/gstreamer-1.0/.debug/ ${datadir}/bash-completion/helpers/.debug/"