summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/mesa/mesa-8.0.5.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-8.0.5.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa-8.0.5.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-8.0.5.inc b/meta/recipes-graphics/mesa/mesa-8.0.5.inc
new file mode 100644
index 0000000000..b39b011f1e
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-8.0.5.inc
@@ -0,0 +1,18 @@
+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 \
+ "
+SRC_URI += "${@base_contains('DISTRO_FEATURES', 'x11', '', 'file://0004-gross-hack-to-prevent-from-install-libgl.patch', d)}"
+
+S = "${WORKDIR}/Mesa-${PV}"
+
+SRC_URI[md5sum] = "01305591073a76b65267f69f27d635a3"
+SRC_URI[sha256sum] = "511b8da34f8e69ed24caf422964fb7ae747f3b1d8093f6b8aa2602164a475a5e"
+
+do_configure_prepend() {
+ # 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
+}