aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/cairo
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-02-25 15:44:03 -0800
committerAndrei Gherzan <andrei@gherzan.ro>2019-03-05 12:19:25 +0000
commitc7e7f0b762107d92fdf249481d6d00536cff5305 (patch)
treef208c37e931bfd4ee94e7efebe193faf7780e950 /recipes-graphics/cairo
parent60dbfd25443754690f834afe30e7a6dca46a40da (diff)
downloadmeta-raspberrypi-c7e7f0b762107d92fdf249481d6d00536cff5305.tar.gz
meta-raspberrypi-c7e7f0b762107d92fdf249481d6d00536cff5305.tar.bz2
meta-raspberrypi-c7e7f0b762107d92fdf249481d6d00536cff5305.zip
cairo: Enable egl/gles2 with userland
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-graphics/cairo')
-rw-r--r--recipes-graphics/cairo/cairo_%.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-graphics/cairo/cairo_%.bbappend b/recipes-graphics/cairo/cairo_%.bbappend
new file mode 100644
index 0000000..7ba13e2
--- /dev/null
+++ b/recipes-graphics/cairo/cairo_%.bbappend
@@ -0,0 +1,3 @@
+PACKAGECONFIG_GLESV2 = " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'glesv2', d)}"
+
+PACKAGECONFIG_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' egl ${PACKAGECONFIG_GLESV2}', d)}"