Skip to contentSkip to conversation

gtk+: require either x11 or directfb DISTRO_FEATURES to be set

PATCH New Ross Burton 1 participant 1 message Jul 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-gnome/gtk+/gtk+.inc | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-gnome/gtk+/gtk+.inc +3 -0
index 1c0558c..be5273d 100644
@@ -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"
Signature · 1 line
2.1.4