diff options
author | Ross Burton <ross.burton@intel.com> | 2015-07-21 12:52:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-23 08:48:40 +0100 |
commit | 3b7961f995b286732fd2a2aaf3b921c6291dd5ae (patch) | |
tree | 0040f493e2d3c43fbca0174b27e4a85b32354f97 /meta/recipes-gnome | |
parent | 08f01365a20262603b90f8be0ce0d3e15b7f69e2 (diff) | |
download | poky-3b7961f995b286732fd2a2aaf3b921c6291dd5ae.tar.gz |
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.
(From OE-Core rev: d308e4750e6647c2f2be9c69e25645d3eeb78b3f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+.inc | 3 |
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" | |||
10 | 10 | ||
11 | SECTION = "libs" | 11 | SECTION = "libs" |
12 | 12 | ||
13 | inherit distro_features_check | ||
14 | ANY_OF_DISTRO_FEATURES = "directfb x11" | ||
15 | |||
13 | X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender libxcomposite" | 16 | X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender libxcomposite" |
14 | DEPENDS = "glib-2.0 pango atk jpeg libpng gdk-pixbuf-native docbook-utils-native \ | 17 | DEPENDS = "glib-2.0 pango atk jpeg libpng gdk-pixbuf-native docbook-utils-native \ |
15 | cairo gdk-pixbuf" | 18 | cairo gdk-pixbuf" |