diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-8.0.4.inc')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-8.0.4.inc | 19 |
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 @@ | |||
1 | DEPENDS += "mesa-dri-glsl-native" | ||
2 | |||
3 | SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ | ||
4 | file://0001-Compile-with-uclibc.patch \ | ||
5 | file://0002-cross-compile.patch \ | ||
6 | file://0003-fix-for-x32.patch \ | ||
7 | " | ||
8 | |||
9 | S = "${WORKDIR}/Mesa-${PV}" | ||
10 | |||
11 | SRC_URI[md5sum] = "d546f988adfdf986cff45b1efa2d8a46" | ||
12 | SRC_URI[sha256sum] = "02ed19f4f5f6535dda03a9932a81438aa78ea723ebba1f39a3d49a70a4e1d07e" | ||
13 | |||
14 | do_configure_prepend() { | ||
15 | #check for python not python2, because python-native does not stage python2 binary/link | ||
16 | sed -i 's/AC_CHECK_PROGS(\[PYTHON2\], \[python2 python\])/AC_CHECK_PROGS(\[PYTHON2\], \[python python\])/g' ${S}/configure.ac | ||
17 | # We need builtin_compiler built for buildhost arch instead of target (is provided by mesa-dri-glsl-native)" | ||
18 | sed -i "s#\./builtin_compiler#${STAGING_BINDIR_NATIVE}/glsl/builtin_compiler#g" ${S}/src/glsl/Makefile | ||
19 | } | ||