aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-06-30 18:35:55 -0300
committerCliff Brake <cbrake@bec-systems.com>2014-07-16 15:28:40 -0400
commitd85b01997ce8cc354ccc53f97fdffc79cf2277d5 (patch)
tree0758bc64619270fac063727867942f2187271b20 /meta-oe
parente73087c58834167b1d2aa613157bbb2adb148435 (diff)
downloadmeta-openembedded-d85b01997ce8cc354ccc53f97fdffc79cf2277d5.tar.gz
meta-openembedded-d85b01997ce8cc354ccc53f97fdffc79cf2277d5.tar.bz2
meta-openembedded-d85b01997ce8cc354ccc53f97fdffc79cf2277d5.zip
v4l-utils: Add virtual/libx11 dependency only if X11 is available
In case we are building in a X11-less distro we shouldn't depends on virtual/libx11. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb
index 6c25c9068..057f6e96f 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb
@@ -3,7 +3,8 @@ LICENSE = "GPLv2 & LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \
file://COPYING.libv4l;md5=d749e86a105281d7a44c2328acebc4b0"
-DEPENDS = "jpeg virtual/libx11"
+DEPENDS = "jpeg \
+ ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}"
inherit autotools gettext