summaryrefslogtreecommitdiffstats
path: root/meta-ivi-bsp/recipes-graphics/mesa/mesa_10.4.%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ivi-bsp/recipes-graphics/mesa/mesa_10.4.%.bbappend')
-rw-r--r--meta-ivi-bsp/recipes-graphics/mesa/mesa_10.4.%.bbappend26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-ivi-bsp/recipes-graphics/mesa/mesa_10.4.%.bbappend b/meta-ivi-bsp/recipes-graphics/mesa/mesa_10.4.%.bbappend
new file mode 100644
index 0000000..7ae6b8b
--- /dev/null
+++ b/meta-ivi-bsp/recipes-graphics/mesa/mesa_10.4.%.bbappend
@@ -0,0 +1,26 @@
+PR = "r1"
+
+#
+# please, read mesa/READM.gallium about an issue when using gallium
+#
+PACKAGES =+ " \
+ libegl-gallium libgbm-gallium \
+ "
+
+FILESEXTRAPATHS_append := "${THISDIR}/${PN}"
+SRC_URI_append_qemux86 = " \
+ file://revert-c46c551c56f78c6bf9e63524c89478695fc4f525.patch \
+ file://revert-363b53f00069af718f64cf047f19ad5681a8bf6d.patch \
+ "
+SRC_URI_append_qemux86-64 = " \
+ file://revert-c46c551c56f78c6bf9e63524c89478695fc4f525.patch \
+ file://revert-363b53f00069af718f64cf047f19ad5681a8bf6d.patch \
+ "
+
+PACKAGECONFIG[gallium-egl] = "--enable-gallium-egl, --disable-gallium-egl"
+
+FILES_libegl-gallium = "${libdir}/egl/egl_gallium.so*"
+FILES_libgbm-gallium = "${libdir}/gbm/gbm_gallium_drm.so*"
+
+PACKAGECONFIG_append_qemux86 = " gallium gallium-egl gallium-llvm"
+PACKAGECONFIG_append_qemux86-64 = " gallium gallium-egl gallium-llvm"