[OE-core] [[PATCH 5/5] xinit: fix depends issue

Armin Kuster akuster808 at gmail.com
Mon Dec 22 04:55:01 UTC 2014


xinit.cpp in xinit package calls xterm, xclock and twm so
add depends for those packages.

Added X11 distro check.

Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-graphics/xorg-app/xinit_1.3.3.bb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-app/xinit_1.3.3.bb b/meta/recipes-graphics/xorg-app/xinit_1.3.3.bb
index 583ea87..874756d 100644
--- a/meta/recipes-graphics/xorg-app/xinit_1.3.3.bb
+++ b/meta/recipes-graphics/xorg-app/xinit_1.3.3.bb
@@ -10,11 +10,17 @@ then terminate."
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=18f01e7b39807bebe2b8df101a039b68"
 
+DEPENDS = "twm xterm xclock"
+# depends on virtual/libx11
+REQUIRED_DISTRO_FEATURES = "x11"
+
 PE = "1"
 
 SRC_URI[md5sum] = "3b8da0e6237aee9828cc809c647510a7"
 SRC_URI[sha256sum] = "74b2878de6e3d5b5948f1562a77e7f53b4e10621e505ddb278050c7f3cae00af"
 
+inherit distro_features_check
+
 EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
 
-RDEPENDS_${PN} += "util-linux-mcookie"
+RDEPENDS_${PN} += "util-linux-mcookie twm xterm xclock"
-- 
1.9.1




More information about the Openembedded-core mailing list