[OE-core] [oe-core][PATCH] mesa: Upgrade to 10.4.0

Pengyu Ma pengyu.ma at windriver.com
Wed Jan 28 07:15:17 UTC 2015


Signed-off-by: Pengyu Ma <pengyu.ma at windriver.com>
---
 meta/recipes-graphics/mesa/mesa_10.4.0.bb |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta/recipes-graphics/mesa/mesa_10.4.0.bb

diff --git a/meta/recipes-graphics/mesa/mesa_10.4.0.bb b/meta/recipes-graphics/mesa/mesa_10.4.0.bb
new file mode 100644
index 0000000..7d3723e
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa_10.4.0.bb
@@ -0,0 +1,16 @@
+require ${BPN}.inc
+
+SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "b7b37117eecbdfaaf3075acfb063d5a3"
+SRC_URI[sha256sum] = "98a7dff3a1a6708c79789de8b9a05d8042e867067f70e8f30387c15026233219"
+
+S = "${WORKDIR}/Mesa-${PV}"
+
+#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('DISTRO_FEATURES', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
+    fi
+}
-- 
1.7.9.5




More information about the Openembedded-core mailing list