* Mesa updated to 8.0.2.
svn path=/nixpkgs/branches/x-updates/; revision=34143
This commit is contained in:
parent
21bf5ef509
commit
5755aa2ce9
|
@ -7,27 +7,24 @@ if ! stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms then
|
||||||
throw "unsupported platform for Mesa"
|
throw "unsupported platform for Mesa"
|
||||||
else
|
else
|
||||||
|
|
||||||
let version = "7.11.2"; in
|
let version = "8.0.2"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "mesa-${version}";
|
name = "mesa-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.freedesktop.org/pub/mesa/${version}/MesaLib-${version}.tar.bz2";
|
url = "ftp://ftp.freedesktop.org/pub/mesa/${version}/MesaLib-${version}.tar.bz2";
|
||||||
sha256 = "0msk1fh4yw4yi7z37v75vhpa23z49lkwgin6drczbihbqsl6lx2p";
|
md5 = "a368104e5700707048dc3e8691a9a7a1";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./swrast-settexbuffer.patch ] ++ stdenv.lib.optional
|
patches =
|
||||||
(stdenv.system == "mips64el-linux") ./mips_wmb.patch;
|
stdenv.lib.optional (stdenv.system == "mips64el-linux") ./mips_wmb.patch;
|
||||||
|
|
||||||
prePatch = "patchShebangs .";
|
prePatch = "patchShebangs .";
|
||||||
|
|
||||||
# r300
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
" --with-driver=dri --enable-gl-osmesa --enable-gles1"
|
" --enable-gles1 --enable-gles2 --enable-gallium-egl"
|
||||||
+ " --with-gallium-drivers=i915,nouveau,r600,svga,swrast"
|
+ " --with-gallium-drivers=i915,nouveau,r600,svga,swrast"
|
||||||
+ " --enable-gles2 --enable-gallium-egl --disable-glx-tls"
|
|
||||||
+ " --enable-xcb --enable-egl --disable-glut"
|
|
||||||
# Texture floats are patented, see docs/patents.txt
|
# Texture floats are patented, see docs/patents.txt
|
||||||
+ stdenv.lib.optionalString enableTextureFloats " --enable-texture-float";
|
+ stdenv.lib.optionalString enableTextureFloats " --enable-texture-float";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue