]> code.ossystems Code Review - meta-freescale.git/commitdiff
gtk+3: Disable Wayland backend when building for X11
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 20 Jul 2015 22:29:02 +0000 (19:29 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 29 Jul 2015 02:26:59 +0000 (23:26 -0300)
The X11 backend of i.MX5 and i.MX6 does not support the Wayland
rendering and causes GTK+3 configure script to fail.

When building for X11 we now disable the Wayland backend allowing the
configure to proceed.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/gtk+/gtk+3_%.bbappend [new file with mode: 0644]

diff --git a/recipes-graphics/gtk+/gtk+3_%.bbappend b/recipes-graphics/gtk+/gtk+3_%.bbappend
new file mode 100644 (file)
index 0000000..7891e1c
--- /dev/null
@@ -0,0 +1,2 @@
+PACKAGECONFIG_remove_mx5 = "${@base_contains("DISTRO_FEATURES", "x11", "wayland", "", d)}"
+PACKAGECONFIG_remove_mx6 = "${@base_contains("DISTRO_FEATURES", "x11", "wayland", "", d)}"