summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa_10.5.4.bb
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2015-04-29 16:33:20 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-30 23:01:25 +0100
commitb3035cac6f505fda2bea31da63ab381b104cfd2e (patch)
tree49c071bc01bbb9322b0a17a7ce4e4ee2cd13ed03 /meta/recipes-graphics/mesa/mesa_10.5.4.bb
parent48c4922ab921a1bb2103cc331d0839febd36beb8 (diff)
downloadopenembedded-core-b3035cac6f505fda2bea31da63ab381b104cfd2e.tar.gz
mesa: Upgrade 10.4.4 -> 10.5.4
* Remove patches that are no longer needed * git build depends on python module mako. Inherit pythonnative for this * source directory changed: default S is now correct in mesa recipe, but still needs to be set in mesa-gl Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa_10.5.4.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa_10.5.4.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa_10.5.4.bb b/meta/recipes-graphics/mesa/mesa_10.5.4.bb
new file mode 100644
index 0000000000..150c664ebf
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa_10.5.4.bb
@@ -0,0 +1,14 @@
+require ${BPN}.inc
+
+SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz"
+
+SRC_URI[md5sum] = "26644437b6447fb3dbae50714a019797"
+SRC_URI[sha256sum] = "b51e723f3a20d842c88a92d809435b229fc4744ca0dbec0317d9d4a3ac4c6803"
+
+#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/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
+ fi
+}