From ef967c70182eeccb59c7511d838a7ecb0b2315c1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 28 Sep 2015 11:53:35 +0100 Subject: classes/meta: Add DISTRO_FEATURES check for gtk+/gtk3+ If you currently do a DISTRO_FEATURES_remove = "x11" with OE-Core, you see failures due to dependency problems. The work in resolving this was partially completed a while back. This adds in the markup mainly for gtk/gtk3+ recipes and means "bitbake world" will work successfully. Rather than code the gtk/gtk+ specific distro features into each recipe, a shared variable is used. Signed-off-by: Richard Purdie --- meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-graphics/xorg-xserver/xserver-xorg.inc') diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc index cc1c02b553..9881c942b8 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc @@ -23,6 +23,9 @@ S = "${WORKDIR}/${XORG_PN}-${PV}" inherit autotools pkgconfig +inherit distro_features_check +REQUIRED_DISTRO_FEATURES = "x11" + PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86vidmodeproto compositeproto recordproto resourceproto videoproto scrnsaverproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto presentproto" LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl libgcrypt" DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} font-util" -- cgit 1.2.3-korg