[oe-commits] Ricardo Ribalda Delgado : gstreamer1.0: convert GSTREAMER_1_DEBUG to PACKAGECONFIG

git at git.openembedded.org git at git.openembedded.org
Sat May 9 21:28:55 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 81636555fa7f18407efc172c0d5b9f466b2d4014
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=81636555fa7f18407efc172c0d5b9f466b2d4014

Author: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
Date:   Fri May  8 17:04:13 2015 +0200

gstreamer1.0: convert GSTREAMER_1_DEBUG to PACKAGECONFIG

It is more elegant

Suggested-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 a01c33c..17a0d7f 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"



More information about the Openembedded-commits mailing list