From d308e4750e6647c2f2be9c69e25645d3eeb78b3f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 21 Jul 2015 12:52:48 +0100 Subject: gtk+: require either x11 or directfb DISTRO_FEATURES to be set GTK+ needs either X11 or DirectFB, and fails with obscure errors if neither are present. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-gnome/gtk+/gtk+.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-gnome') diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc index 1c0558c409..be5273d620 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" -- cgit 1.2.3-korg