summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2015-07-27 15:22:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-27 23:28:22 +0100
commit7216116c9552e812d8c75c0687223f9a84204a28 (patch)
tree859d14f03e14a2c7b24a7350a89c5a65d3602323 /meta
parentec2f1b5af102ab6a8fcc23bf115c8f0451ab7eb8 (diff)
downloadopenembedded-core-7216116c9552e812d8c75c0687223f9a84204a28.tar.gz
openembedded-core-7216116c9552e812d8c75c0687223f9a84204a28.tar.bz2
openembedded-core-7216116c9552e812d8c75c0687223f9a84204a28.zip
nativesdk-qt4-tools: depend on nativesdk-qt4-tools only if DISTRO_FEATURES includes x11
Currently nativesdk-qt4-tools can't be built if the DISTRO_FEATURES doesn't contain x11. To make it build we add a dependency to x11 only if the feature is activated. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-qt/qt4/nativesdk-qt4-tools.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc b/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
index aa84e3dcfd..077008bb8b 100644
--- a/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
+++ b/meta/recipes-qt/qt4/nativesdk-qt4-tools.inc
@@ -1,5 +1,5 @@
SUMMARY = "SDK tools for Qt version 4.x"
-DEPENDS = "nativesdk-zlib nativesdk-dbus nativesdk-libx11 qt4-native"
+DEPENDS = "nativesdk-zlib nativesdk-dbus qt4-native ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11', '', d)}"
SECTION = "libs"
HOMEPAGE = "http://qt-project.org/"
LICENSE = "LGPLv2.1 | GPLv3"