Patchwork [meta-fsl-arm,08/25] clutter-1.0: Update for wayland build

login
register
mail settings
Submitter Otavio Salvador
Date Oct. 28, 2013, 6:10 p.m.
Message ID <1382983863-5208-9-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/60625/
State Deferred
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Oct. 28, 2013, 6:10 p.m.
From: Lauren Post <lauren.post@freescale.com>

Required for weston wayland to build

Change-Id: I437e9803214c8d1ea3febed3ed318a29bc667eed
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
 recipes-graphics/clutter/clutter-1.0_1.14.4.bbappend | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 recipes-graphics/clutter/clutter-1.0_1.14.4.bbappend

Patch

diff --git a/recipes-graphics/clutter/clutter-1.0_1.14.4.bbappend b/recipes-graphics/clutter/clutter-1.0_1.14.4.bbappend
new file mode 100644
index 0000000..b65cd2d
--- /dev/null
+++ b/recipes-graphics/clutter/clutter-1.0_1.14.4.bbappend
@@ -0,0 +1,5 @@ 
+# Enable EGL backend for Wayland
+PACKAGECONFIG_mx6 = "${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland egl', '', d)} \
+                     ${@base_contains('DISTRO_FEATURES', 'x11', 'glx x11', '', d)}"
+
+CFLAGS_append_mx6 += "${@base_contains('DISTRO_FEATURES', 'wayland', '-DLINUX -DEGL_API_FB -DEGL_API_WL', '', d)}"