aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa_17.0.6.bb
diff options
context:
space:
mode:
authorHuang Qiyu <huangqy.fnst@cn.fujitsu.com>2017-05-24 17:08:58 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-25 23:57:01 +0100
commit53b58373c7f64fe5b03f1c90b2a0ec75d6c231a5 (patch)
tree806277fe994d93e8a56be3a2a82ef0c452ca06b5 /meta/recipes-graphics/mesa/mesa_17.0.6.bb
parent7936c9451eb4c376a78a0ac7461d1b2430c7f1f3 (diff)
downloadopenembedded-core-contrib-53b58373c7f64fe5b03f1c90b2a0ec75d6c231a5.tar.gz
mesa: 17.0.4 -> 17.0.6
Upgrade mesa from 17.0.4 to 17.0.6. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa_17.0.6.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa_17.0.6.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa_17.0.6.bb b/meta/recipes-graphics/mesa/mesa_17.0.6.bb
new file mode 100644
index 0000000000..3f98271f21
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa_17.0.6.bb
@@ -0,0 +1,18 @@
+require ${BPN}.inc
+
+SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/mesa-${PV}.tar.xz \
+ file://replace_glibc_check_with_linux.patch \
+ file://disable-asm-on-non-gcc.patch \
+ file://0001-Use-wayland-scanner-in-the-path.patch \
+"
+
+SRC_URI[md5sum] = "77ea38dc0ab899864b06ea2941ac31a4"
+SRC_URI[sha256sum] = "89ecf3bcd0f18dcca5aaa42bf36bb52a2df33be89889f94aaaad91f7a504a69d"
+
+#because we cannot rely on the fact that all apps will use pkgconfig,
+#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
+do_install_append() {
+ if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
+ sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
+ fi
+}