aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/qt4x11.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-01-22 17:39:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 10:37:53 +0000
commitfda535d5b5239b091c79e957f68a45d4eab0ab5d (patch)
tree127a61f8e6b44412733c25f6d3f074b2ad9a5704 /meta/classes/qt4x11.bbclass
parent929ccf90d9cbf6a10a263b59e5f02b0542d73899 (diff)
downloadopenembedded-core-contrib-fda535d5b5239b091c79e957f68a45d4eab0ab5d.tar.gz
recipes-qt: add x11 to required DISTRO_FEATURES
* it's not complete, but recipes depending on virtual/libx11 are easiest to spot, I've long list of PNBLACKLIST for all recipes which cannot be built in distro without x11 in DISTRO_FEATURES Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/qt4x11.bbclass')
-rw-r--r--meta/classes/qt4x11.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/qt4x11.bbclass b/meta/classes/qt4x11.bbclass
index b06e15d29e7..6f06d347552 100644
--- a/meta/classes/qt4x11.bbclass
+++ b/meta/classes/qt4x11.bbclass
@@ -1,7 +1,10 @@
QT4DEPENDS ?= "qt4-x11 "
DEPENDS_prepend = "${QT4DEPENDS}"
-inherit qmake2
+# depends on qt4-x11
+REQUIRED_DISTRO_FEATURES += "x11"
+
+inherit qmake2 distro_features_check
QT_BASE_NAME = "qt4"
QT_DIR_NAME = "qt4"