[oe-commits] Robert Yang : recipes-extended: add x11 to REQUIRED_DISTRO_FEATURES
git at git.openembedded.org
git at git.openembedded.org
Thu May 14 10:44:42 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: e66f1c830bfee09ed9a043ade5374fe61fea3c99
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e66f1c830bfee09ed9a043ade5374fe61fea3c99
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Sun May 10 19:30:03 2015 -0700
recipes-extended: add x11 to REQUIRED_DISTRO_FEATURES
They can't be built withou x11 in DISTRO_FEATURES.
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb | 5 ++++-
meta/recipes-extended/xdg-utils/xdg-utils_1.1.0-rc1.bb | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
index a07a6ad..3d5075e 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
@@ -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
diff --git a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.0-rc1.bb b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.0-rc1.bb
index 2ac979b..46f1e3c 100644
--- a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.0-rc1.bb
+++ b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.0-rc1.bb
@@ -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"
More information about the Openembedded-commits
mailing list