[OE-core] [PATCH] gstreamer1.0: Make tests selectable via variable

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Fri May 8 11:39:14 UTC 2015


This way, this configuration can be easily changed via .bbappend file
without having to re-define the whole EXTRA_OECONF.

With --disable-check  libgstcheck is not build.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
index a01c33ce5ff9..f689617243e1 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
@@ -10,8 +10,9 @@ DEPENDS = "glib-2.0 libxml2 bison-native flex-native"
 inherit autotools pkgconfig gettext
 
 GSTREAMER_1_DEBUG ?= "--disable-debug"
+GSTREAMER_1_CHECK ?= "--disable-check"
 EXTRA_OECONF = "--disable-docbook --disable-gtk-doc \
-                --disable-dependency-tracking --disable-check \
+                --disable-dependency-tracking ${GSTREAMER_1_CHECK} \
                 --disable-examples --disable-tests \
                 --disable-valgrind ${GSTREAMER_1_DEBUG} \
                 "
-- 
2.1.4




More information about the Openembedded-core mailing list