recipes-extended: add x11 to REQUIRED_DISTRO_FEATURES

They can't be built withou x11 in DISTRO_FEATURES.

(From OE-Core rev: e66f1c830bfee09ed9a043ade5374fe61fea3c99)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2015-05-10 19:30:03 -07:00 committed by Richard Purdie
parent 41719e1bfb
commit f609f7aba7
2 changed files with 8 additions and 2 deletions

View File

@ -7,7 +7,10 @@ DESCRIPTION = "Packages required to satisfy the Linux Standard Base (LSB) specif
PR = "r10"
LICENSE = "MIT"
inherit packagegroup
inherit packagegroup distro_features_check
# The libxt, libxtst and others require x11 in DISTRO_FEATURES
REQUIRED_DISTRO_FEATURES = "x11"
#
# We will skip parsing this packagegeoup for non-glibc systems

View File

@ -24,6 +24,9 @@ SRC_URI = "http://portland.freedesktop.org/download/${BPN}-${PV}.tar.gz \
SRC_URI[md5sum] = "fadf5e7a08e0526fc60dbe3e5b7ef8d6"
SRC_URI[sha256sum] = "7b05558ae4bb8ede356863cae8c42e3e012aa421bf9d45130a570fd209d79102"
inherit autotools-brokensep
inherit autotools-brokensep distro_features_check
# The xprop requires x11 in DISTRO_FEATURES
REQUIRED_DISTRO_FEATURES = "x11"
RDEPENDS_${PN} += "xprop"