[OE-core] [PATCH 1/2] gstreamer1.0: convert GSTREAMER_1_DEBUG to PACKAGECONFIG

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Fri May 8 15:04:13 UTC 2015


It is more elegant

Suggested-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
index a01c33ce5ff9..17a0d7f839c4 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
@@ -9,11 +9,12 @@ DEPENDS = "glib-2.0 libxml2 bison-native flex-native"
 
 inherit autotools pkgconfig gettext
 
-GSTREAMER_1_DEBUG ?= "--disable-debug"
+PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
+
 EXTRA_OECONF = "--disable-docbook --disable-gtk-doc \
                 --disable-dependency-tracking --disable-check \
                 --disable-examples --disable-tests \
-                --disable-valgrind ${GSTREAMER_1_DEBUG} \
+                --disable-valgrind \
                 "
 
 RRECOMMENDS_${PN}_qemux86    += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"
-- 
2.1.4




More information about the Openembedded-core mailing list