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 (From OE-Core rev: fda535d5b5239b091c79e957f68a45d4eab0ab5d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6618cff562
commit
6e02676d2c
|
@ -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"
|
||||
|
|
|
@ -4,6 +4,10 @@ QTLIBPREFIX = ""
|
|||
|
||||
require packagegroup-qt-toolchain-target.inc
|
||||
|
||||
inherit distro_features_check
|
||||
# depends on qt4-x11-free
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
qt4-x11-free-dev \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'libqtopengl4-dev', '', d)} \
|
||||
|
|
Loading…
Reference in New Issue