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>
This commit is contained in:
Ross Burton 2015-07-21 12:52:48 +01:00 committed by Richard Purdie
parent 08f01365a2
commit 3b7961f995
1 changed files with 3 additions and 0 deletions

View File

@ -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"