diff options
author | Joshua Lock <joshua.lock@collabora.co.uk> | 2015-05-15 14:37:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-15 22:08:03 +0100 |
commit | 0cf9ef0bf1e50f80234ab4d8972b4c240e28eb8a (patch) | |
tree | 22bd809df8059346af84edea17aa5a76773483d8 /meta/recipes-graphics | |
parent | 26fcfbbfc1eb247e77733180ea253f158128c9e7 (diff) | |
download | poky-0cf9ef0bf1e50f80234ab4d8972b4c240e28eb8a.tar.gz |
cairo: make xlib and libxcb dependencies explicit
(From OE-Core rev: 963ee40b6653741af9a22af7a01ad31bd6ca97a9)
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')
-rw-r--r-- | meta/recipes-graphics/cairo/cairo.inc | 6 |
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+" | |||
17 | X11DEPENDS = "virtual/libx11 libsm libxrender libxext" | 17 | X11DEPENDS = "virtual/libx11 libsm libxrender libxext" |
18 | DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" | 18 | DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" |
19 | 19 | ||
20 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | 20 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ |
21 | ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}" | 21 | ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}" |
22 | PACKAGECONFIG[x11] = "--with-x=yes,--without-x,${X11DEPENDS}" | 22 | |
23 | PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}" | ||
24 | PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb" | ||
23 | PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" | 25 | PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" |
24 | PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind" | 26 | PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind" |
25 | PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" | 27 | PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" |