aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-04 00:58:33 +0300
committerGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-04 00:58:33 +0300
commit11c93f0a1297f38fbe49a121b105ff623c4221d2 (patch)
treea5b8908f253353740fe488773c39a3b639e24e1b
parentff1e5894854e66e075ea9272f9b87c2fc5a414c2 (diff)
[graphics] Fix cairo recipe to be built with egl and glesv2
-rw-r--r--meta-rcar-gen3-adas/recipes-graphics/cairo/cairo_1.14.6.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-graphics/cairo/cairo_1.14.6.bbappend b/meta-rcar-gen3-adas/recipes-graphics/cairo/cairo_1.14.6.bbappend
new file mode 100644
index 0000000..9bcaaf4
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-graphics/cairo/cairo_1.14.6.bbappend
@@ -0,0 +1,6 @@
+require include/gles-control.inc
+
+DEPENDS_class-target = "${@' libdrm libgbm wayland-kms ' if '${USE_GLES_WAYLAND}' == '1' else ''}"
+
+PACKAGECONFIG_pn-cairo_append = "${@' egl glesv2' if '${USE_GLES_WAYLAND}' == '1' else ''}"
+PACKAGECONFIG_pn-cairo_append += "${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"