summaryrefslogtreecommitdiff
path: root/meta/recipes-gnome/gtk+
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-07-21 12:52:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-22 23:25:00 +0100
commitd308e4750e6647c2f2be9c69e25645d3eeb78b3f (patch)
tree9505f66c717d69544de2ee5a2b002b38cb5ad22d /meta/recipes-gnome/gtk+
parentbf6fea14d0575e7f2dd6a35c79efb45412d70b76 (diff)
downloadopenembedded-core-d308e4750e6647c2f2be9c69e25645d3eeb78b3f.tar.gz
openembedded-core-d308e4750e6647c2f2be9c69e25645d3eeb78b3f.tar.bz2
openembedded-core-d308e4750e6647c2f2be9c69e25645d3eeb78b3f.zip
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gtk+')
-rw-r--r--meta/recipes-gnome/gtk+/gtk+.inc3
1 files changed, 3 insertions, 0 deletions
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"