diff options
author | Pascal Bach <pascal.bach@siemens.com> | 2015-07-27 15:22:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-27 23:29:15 +0100 |
commit | 7c71bc8a993370da109feb6e038521bfb8cc2a7e (patch) | |
tree | d8b419dfab24a9f654f7a0a7585ffc6ce4448668 /meta/recipes-qt/qt4 | |
parent | 997893e92862774424b65c53691cb2ecc2010035 (diff) | |
download | poky-7c71bc8a993370da109feb6e038521bfb8cc2a7e.tar.gz |
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.
(From OE-Core rev: 7216116c9552e812d8c75c0687223f9a84204a28)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4')
-rw-r--r-- | meta/recipes-qt/qt4/nativesdk-qt4-tools.inc | 2 |
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 @@ | |||
1 | SUMMARY = "SDK tools for Qt version 4.x" | 1 | SUMMARY = "SDK tools for Qt version 4.x" |
2 | DEPENDS = "nativesdk-zlib nativesdk-dbus nativesdk-libx11 qt4-native" | 2 | DEPENDS = "nativesdk-zlib nativesdk-dbus qt4-native ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11', '', d)}" |
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | HOMEPAGE = "http://qt-project.org/" | 4 | HOMEPAGE = "http://qt-project.org/" |
5 | LICENSE = "LGPLv2.1 | GPLv3" | 5 | LICENSE = "LGPLv2.1 | GPLv3" |