summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlistair Francis <alistair@alistair23.me>2020-02-23 12:24:53 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-25 10:41:15 +0000
commitcb03ccec2926eae6d8eaf1606a7d11fcc54f1820 (patch)
treeb4afeae5b0cb149337244946b7d877fac0f4345e
parent007df9bba56f885dd847b2f8b24fb250bcdd386f (diff)
downloadopenembedded-core-contrib-cb03ccec2926eae6d8eaf1606a7d11fcc54f1820.tar.gz
openembedded-core-contrib-cb03ccec2926eae6d8eaf1606a7d11fcc54f1820.tar.bz2
openembedded-core-contrib-cb03ccec2926eae6d8eaf1606a7d11fcc54f1820.zip
clutter: Build cluter with the GDK backend
ClutterActors can crash with strange segfaults when built without the GDK backend but run ontop of GDK. To fix this let's add a PACKAGECONFIG to enable/disable GDK backend support and enable it by default. Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/clutter/clutter-1.0.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/clutter/clutter-1.0.inc b/meta/recipes-graphics/clutter/clutter-1.0.inc
index 5dc45ebf21..e0ac819e4c 100644
--- a/meta/recipes-graphics/clutter/clutter-1.0.inc
+++ b/meta/recipes-graphics/clutter/clutter-1.0.inc
@@ -24,11 +24,11 @@ ERDEPENDS_EVDEV = "xkeyboard-config"
# Disable pretty much everything, override in platform specific set up
EXTRA_OECONF += "--disable-quartz-backend \
--disable-win32-backend \
- --disable-gdk-backend \
--disable-cex100-backend \
--disable-tslib-input \
"
+PACKAGECONFIG[gdk] = "--enable-gdk-backend,--disable-gdk-backend,gtk+3"
PACKAGECONFIG[x11] = "--enable-x11-backend,--disable-x11-backend,${EDEPENDS_X11}"
PACKAGECONFIG[glx] = ",,${EDEPENDS_X11} ${EDEPENDS_GLX}"
PACKAGECONFIG[egl] = "--enable-egl-backend,--disable-egl-backend,${EDEPENDS_EGL}"
@@ -37,7 +37,7 @@ PACKAGECONFIG[wayland] = "--enable-wayland-backend,--disable-wayland-backend,${E
PACKAGECONFIG[wayland-compositor] = "--enable-wayland-compositor,--disable-wayland-compositor,wayland"
# Default configuration, distros might want to override
-PACKAGECONFIG ??= "egl \
+PACKAGECONFIG ??= "egl gdk \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', '', d)}"