[oe-commits] Andreas Oberritter : mpeg2dec: depend on libx11 conditionally

git at git.openembedded.org git at git.openembedded.org
Fri Feb 24 00:01:36 UTC 2012


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

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Fri Feb 17 23:56:11 2012 +0100

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 at opendreambox.org>

---

 meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb |    2 +-
 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 f2865f6..f38066a 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"
 





More information about the Openembedded-commits mailing list