summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-02-17 23:56:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-23 23:59:16 +0000
commit668ebf38a5b9b0dbd0f6f1a0ebfafb04afbcbf07 (patch)
treeff02a820b1a690d154447eaa567ea4bf97eca378 /meta
parent992604c533c9f3c2133cfa87c1121d43a508ec4a (diff)
downloadopenembedded-core-668ebf38a5b9b0dbd0f6f1a0ebfafb04afbcbf07.tar.gz
openembedded-core-668ebf38a5b9b0dbd0f6f1a0ebfafb04afbcbf07.tar.bz2
openembedded-core-668ebf38a5b9b0dbd0f6f1a0ebfafb04afbcbf07.tar.xz
openembedded-core-668ebf38a5b9b0dbd0f6f1a0ebfafb04afbcbf07.zip
gst-plugins-base: depend on libx11 and libxv conditionally
* gst-plugins-base currently doesn't build if x11 is unavailable, due to unconditional dependencies on libx11 and libxv. However, they are not required to build gst-plugins-base. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.35.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.35.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.35.bb
index 6dfc26e71..93f8eb3c7 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.35.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.35.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"
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxv', '', d)}"
+DEPENDS += "alsa-lib freetype liboil libogg libvorbis libtheora avahi util-linux tremor"
SRC_URI += " file://gst-plugins-base-tremor.patch"