diff options
author | 2015-05-06 01:30:57 -0700 | |
---|---|---|
committer | 2015-09-15 19:21:04 -0700 | |
commit | 90e4a1064ea7dfa9be458d306bba765136b50306 (patch) | |
tree | 6360a26fb9f3b1f67619de98bb6af01301425b61 /meta/recipes-gnome/gtk+/gtk+.inc | |
parent | f0189829498e30231d826c9f55aad73e622d076e (diff) | |
download | openembedded-core-contrib-90e4a1064ea7dfa9be458d306bba765136b50306.tar.gz |
gtk+/cairo: enable x11 or directfb
The gtk+2 requires whether x11 or directfb to build, so we need enable
either of them. The cairo can be built without x11 or directfb, but gtk+
requires cairo, so enable x11 or directfb for cairo, too.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk+.inc')
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc index be5273d620..9d697cdb0d 100644 --- a/meta/recipes-gnome/gtk+/gtk+.inc +++ b/meta/recipes-gnome/gtk+/gtk+.inc @@ -17,9 +17,8 @@ X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender DEPENDS = "glib-2.0 pango atk jpeg libpng gdk-pixbuf-native docbook-utils-native \ cairo gdk-pixbuf" -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ -" +# Requires x11 or directfb +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'directfb', d)}" PACKAGECONFIG[x11] = "--with-x=yes --with-gdktarget=x11,--with-x=no,${X11DEPENDS}" # without --with-gdktarget=directfb it will check for cairo-xlib which isn't available without X11 DISTRO_FEATURE |