summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/mpeg2dec
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-02-17 23:56:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-23 23:59:16 +0000
commit6ebbeeb0bcd29aec25e2c437d0bc95dd78d62f82 (patch)
treebf049a9ce746a6cc68be47602f67bc368c36908f /meta/recipes-multimedia/mpeg2dec
parent668ebf38a5b9b0dbd0f6f1a0ebfafb04afbcbf07 (diff)
downloadopenembedded-core-contrib-6ebbeeb0bcd29aec25e2c437d0bc95dd78d62f82.tar.gz
mpeg2dec: depend on libx11 conditionally
* mpeg2dec currently doesn't build if x11 is unavailable, due to an unconditional dependency on libx11. However, libx11 is not required to build mpeg2dec. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta/recipes-multimedia/mpeg2dec')
-rw-r--r--meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb b/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb
index f2865f6f81..f38066a8a9 100644
--- a/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb
+++ b/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb
@@ -6,7 +6,7 @@ LICENSE_FLAGS = "commercial"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://include/mpeg2.h;beginline=1;endline=22;md5=ead62602d4638329d3b5b86a55803154"
-DEPENDS = "virtual/libx11"
+DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}"
PR = "r2"