[OE-core] [PATCH] gtk+: require either x11 or directfb DISTRO_FEATURES to be set
Ross Burton
ross.burton at intel.com
Tue Jul 21 11:49:12 UTC 2015
GTK+ needs either X11 or DirectFB, and fails with obscure errors if neither are present.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-gnome/gtk+/gtk+.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc
index 1c0558c..be5273d 100644
--- a/meta/recipes-gnome/gtk+/gtk+.inc
+++ b/meta/recipes-gnome/gtk+/gtk+.inc
@@ -10,6 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
SECTION = "libs"
+inherit distro_features_check
+ANY_OF_DISTRO_FEATURES = "directfb x11"
+
X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender libxcomposite"
DEPENDS = "glib-2.0 pango atk jpeg libpng gdk-pixbuf-native docbook-utils-native \
cairo gdk-pixbuf"
--
2.1.4
More information about the Openembedded-core
mailing list