]> code.ossystems Code Review - openembedded-core.git/commitdiff
xorg-lib: allow native building without x11 DISTRO_FEATURES
authorRoss Burton <ross.burton@intel.com>
Mon, 14 Mar 2016 20:35:35 +0000 (20:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Mar 2016 11:26:45 +0000 (11:26 +0000)
The Xorg libraries use REQUIRED_DISTRO_FEATURES to stop building on
distributions without the x11 feature but this stops people building native
tooling that uses libX11, such as libsdl-native.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-lib/libxcb.inc
meta/recipes-graphics/xorg-lib/xorg-lib-common.inc

index e40ae77ab436cdd992790804c8b64dd7709d8407..b02efd278a25da63641e7804ff41638cef893bfb 100644 (file)
@@ -26,6 +26,7 @@ inherit autotools pkgconfig pythonnative distro_features_check
 
 # The libxau and others requires x11 in DISTRO_FEATURES
 REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES_class-native = ""
 
 python populate_packages_prepend () {
     do_split_packages(d, '${libdir}', '^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True)
index 09df0109cb826bb11faac5560ee2b7dc600264c0..6f4e44454f23285110f6a1844e22d5ebc640f0f8 100644 (file)
@@ -24,3 +24,4 @@ UNKNOWN_CONFIGURE_WHITELIST += "--enable-malloc0returnsnull --disable-malloc0ret
 "
 
 REQUIRED_DISTRO_FEATURES ?= "x11"
+REQUIRED_DISTRO_FEATURES_class-native = ""