summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/cairo
diff options
context:
space:
mode:
authorJoshua Lock <joshua.lock@collabora.co.uk>2015-05-15 14:37:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-15 17:58:59 +0100
commit963ee40b6653741af9a22af7a01ad31bd6ca97a9 (patch)
treec1ab5711ef5759de4a1ae5f6fcb5ad339266b917 /meta/recipes-graphics/cairo
parentc24f0fa366cd96a1d67564dd760b0640fa9f7b13 (diff)
downloadopenembedded-core-963ee40b6653741af9a22af7a01ad31bd6ca97a9.tar.gz
openembedded-core-963ee40b6653741af9a22af7a01ad31bd6ca97a9.tar.bz2
openembedded-core-963ee40b6653741af9a22af7a01ad31bd6ca97a9.zip
cairo: make xlib and libxcb dependencies explicit
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/cairo')
-rw-r--r--meta/recipes-graphics/cairo/cairo.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc
index 98add5a858..1e45318dde 100644
--- a/meta/recipes-graphics/cairo/cairo.inc
+++ b/meta/recipes-graphics/cairo/cairo.inc
@@ -17,9 +17,11 @@ LICENSE_${PN}-perf-utils = "GPLv3+"
X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"
-PACKAGECONFIG[x11] = "--with-x=yes,--without-x,${X11DEPENDS}"
+
+PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}"
+PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"
PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb"
PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind"
PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl"