summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/mesa/mesa-8.0.4.inc
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2012-08-02 17:49:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 14:45:09 +0100
commite4039eb74b20e96d4b8837cd58cf2d13d091e1ad (patch)
treee72989c8eb4b2f822418d718de5aa7c29924ac73 /meta/recipes-graphics/mesa/mesa-8.0.4.inc
parentbe882417cf432fe79a843cea4439503f286206cf (diff)
downloadopenembedded-core-e4039eb74b20e96d4b8837cd58cf2d13d091e1ad.tar.gz
openembedded-core-e4039eb74b20e96d4b8837cd58cf2d13d091e1ad.tar.bz2
openembedded-core-e4039eb74b20e96d4b8837cd58cf2d13d091e1ad.zip
mesa: Update to 8.0.4 (latest stable version)
- The license file has changed, but the project still has the same license - Patches have been rebased on top of the 8.0 branch. crossfix.patch and crossfix-mklib.patch have been merged as they address the same problem Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-8.0.4.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa-8.0.4.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-8.0.4.inc b/meta/recipes-graphics/mesa/mesa-8.0.4.inc
new file mode 100644
index 0000000000..d9d17bb5fd
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-8.0.4.inc
@@ -0,0 +1,19 @@
+DEPENDS += "mesa-dri-glsl-native"
+
+SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
+ file://0001-Compile-with-uclibc.patch \
+ file://0002-cross-compile.patch \
+ file://0003-fix-for-x32.patch \
+ "
+
+S = "${WORKDIR}/Mesa-${PV}"
+
+SRC_URI[md5sum] = "d546f988adfdf986cff45b1efa2d8a46"
+SRC_URI[sha256sum] = "02ed19f4f5f6535dda03a9932a81438aa78ea723ebba1f39a3d49a70a4e1d07e"
+
+do_configure_prepend() {
+ #check for python not python2, because python-native does not stage python2 binary/link
+ sed -i 's/AC_CHECK_PROGS(\[PYTHON2\], \[python2 python\])/AC_CHECK_PROGS(\[PYTHON2\], \[python python\])/g' ${S}/configure.ac
+ # We need builtin_compiler built for buildhost arch instead of target (is provided by mesa-dri-glsl-native)"
+ sed -i "s#\./builtin_compiler#${STAGING_BINDIR_NATIVE}/glsl/builtin_compiler#g" ${S}/src/glsl/Makefile
+}