Patchwork [05/17] gst-plugins-base: add support for non-X11-enabled distros

login
register
mail settings
Submitter lumag
Date Sept. 21, 2011, 6:39 p.m.
Message ID <1316630404-10336-5-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/11885/
State New, archived
Headers show

Comments

lumag - Sept. 21, 2011, 6:39 p.m.
Separate dependencies on X11 and them to DEPENDS only if DISTRO_FEATURES
contain x11

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 .../gstreamer/gst-plugins-base_0.10.32.bb          |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Koen Kooi - Sept. 21, 2011, 7:19 p.m.
Op 21 sep. 2011, om 20:39 heeft Dmitry Eremin-Solenikov het volgende geschreven:

> Separate dependencies on X11 and them to DEPENDS only if DISTRO_FEATURES
> contain x11
> 
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> ---
> .../gstreamer/gst-plugins-base_0.10.32.bb          |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb
> index 82d9afc..9a658fa 100644
> --- a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb
> +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb
> @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
>                     file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
>                     file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0"
> 
> -DEPENDS += "virtual/libx11 alsa-lib freetype liboil libogg libvorbis libxv libtheora avahi util-linux tremor"
> +X11DEPENDS = "virtual/libx11 libxv"
> +DEPENDS += "alsa-lib freetype liboil libogg libvorbis libtheora avahi util-linux tremor ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
> 
> SRC_URI += " file://gst-plugins-base-tremor.patch"

MIssing PR bump

Patch

diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb
index 82d9afc..9a658fa 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb
@@ -6,7 +6,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
                     file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
                     file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0"
 
-DEPENDS += "virtual/libx11 alsa-lib freetype liboil libogg libvorbis libxv libtheora avahi util-linux tremor"
+X11DEPENDS = "virtual/libx11 libxv"
+DEPENDS += "alsa-lib freetype liboil libogg libvorbis libtheora avahi util-linux tremor ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
 
 SRC_URI += " file://gst-plugins-base-tremor.patch"