From a093ebf114274fd80d8f59264bb7e344b1086d3b Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 19 Jan 2018 15:19:42 +0000 Subject: xorgxrdp: add distro_features_check for x11 * fixes: following errors in every world build: ERROR: Nothing PROVIDES 'xrdp' (but meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb DEPENDS on or otherwise requires it) xrdp was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'xorgxrdp', 'xrdp'] ERROR: Nothing PROVIDES 'virtual/libx11' (but meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb DEPENDS on or otherwise requires it) libx11-diet PROVIDES virtual/libx11 but was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) libx11 PROVIDES virtual/libx11 but was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'xorgxrdp', 'virtual/libx11'] Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster --- meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb b/meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb index 20cf45f06d..6150865795 100644 --- a/meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb +++ b/meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.2.5.bb @@ -1,15 +1,16 @@ SUMMARY = "Xorg drivers for xrdp." LICENSE = "X11" -LIC_FILES_CHKSUM = "file://COPYING;md5=a2523660329fdca3d954c0a87390e007 \ -" +LIC_FILES_CHKSUM = "file://COPYING;md5=a2523660329fdca3d954c0a87390e007" inherit autotools pkgconfig DEPENDS = "virtual/libx11 xserver-xorg xrdp nasm-native" -SRC_URI = "git://github.com/neutrinolabs/xorgxrdp.git \ - " +inherit distro_features_check +REQUIRED_DISTRO_FEATURES = "x11" + +SRC_URI = "git://github.com/neutrinolabs/xorgxrdp.git" SRCREV = "c122544f184d4031bbae1ad80fbab554c34a9427" -- cgit 1.2.3-korg