aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/clutter/clutter-1.0_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/clutter/clutter-1.0_%.bbappend')
-rw-r--r--recipes-graphics/clutter/clutter-1.0_%.bbappend9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-graphics/clutter/clutter-1.0_%.bbappend b/recipes-graphics/clutter/clutter-1.0_%.bbappend
new file mode 100644
index 00000000..cdeac1f2
--- /dev/null
+++ b/recipes-graphics/clutter/clutter-1.0_%.bbappend
@@ -0,0 +1,9 @@
+# Provide the need flags and backend settings to work with Vivante GPU
+CFLAGS_append_mx6 = " -DLINUX \
+ ${@base_contains('DISTRO_FEATURES', 'x11', '', \
+ base_contains('DISTRO_FEATURES', 'wayland', \
+ '-DEGL_API_WL -DEGL_API_FB', '', d), d)}"
+
+PACKAGECONFIG_mx6 ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'glx x11', \
+ base_contains('DISTRO_FEATURES', 'wayland', \
+ 'wayland egl', '', d), d)}"