[OE-core] [PATCH 1/2] gstreamer1.0: convert GSTREAMER_1_DEBUG to PACKAGECONFIG
Andre McCurdy
armccurdy at gmail.com
Fri May 8 19:07:44 UTC 2015
On Fri, May 8, 2015 at 8:04 AM, Ricardo Ribalda Delgado
<ricardo.ribalda at gmail.com> wrote:
> It is more elegant
For gstreamer 0.10, it was possible to enable debug for gstreamer and
most gstreamer plug-ins by over-riding a single variable,
GSTREAMER_DEBUG.
It might be nice if gstreamer 1.x allowed a similar approach. For that
to happen, it looks like:
- Leave GSTREAMER_1_DEBUG as a variable in gstreamer1.0.inc
- Rename GSTREAMER_1_0_DEBUG -> GSTREAMER_1_DEBUG in gstreamer1.0-plugins.inc
Or perhaps even use the "GSTREAMER_DEBUG" variable in gstreamer 1.x recipes?
>
> 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
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list