diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-12-16 14:14:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-03 17:38:46 +0100 |
commit | a9f36bee8ef79ce7c9e3545ab5c854a45c232661 (patch) | |
tree | 60fce0717dc0cbf94073188b7ba787a9c720ea3c /meta/recipes-gnome | |
parent | 8a206f88e5396d7d136480e0efdb5071d5aafeb6 (diff) | |
download | openembedded-core-a9f36bee8ef79ce7c9e3545ab5c854a45c232661.tar.gz openembedded-core-a9f36bee8ef79ce7c9e3545ab5c854a45c232661.tar.bz2 openembedded-core-a9f36bee8ef79ce7c9e3545ab5c854a45c232661.zip |
gtk+: Add PACKAGECONFIG for directfb
* building without x11 doesn't work, because it sets default
gdkbackend to x11 and then requires cairo-xlib to be available
* checking for CAIRO_BACKEND... no
configure: error: Package requirements (cairo-xlib >= 1.6) were not met:
No package 'cairo-xlib' found
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc index dd1fa1b3f8..1c0558c409 100644 --- a/meta/recipes-gnome/gtk+/gtk+.inc +++ b/meta/recipes-gnome/gtk+/gtk+.inc @@ -14,9 +14,13 @@ 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)}" +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', '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 +PACKAGECONFIG[directfb] = "--with-gdktarget=directfb,,directfb" inherit autotools gtk-doc pkgconfig update-alternatives gtk-immodules-cache |