[oe-commits] Ross Burton : gtk+: require either x11 or directfb DISTRO_FEATURES to be set

git at git.openembedded.org git at git.openembedded.org
Thu Jul 23 07:49:47 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: d308e4750e6647c2f2be9c69e25645d3eeb78b3f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d308e4750e6647c2f2be9c69e25645d3eeb78b3f

Author: Ross Burton <ross.burton at intel.com>
Date:   Tue Jul 21 12:52:48 2015 +0100

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 <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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"



More information about the Openembedded-commits mailing list