3
0
Fork 0
forked from mirrors/nixpkgs

* Mesa 7.5.2.

svn path=/nixpkgs/branches/xorg-7.5/; revision=18033
This commit is contained in:
Eelco Dolstra 2009-10-29 17:19:25 +00:00
parent 3f82d6c069
commit e9a6fc3bc1

View file

@ -1,26 +1,27 @@
{stdenv, fetchurl, pkgconfig, x11, xlibs, libdrm, expat}: { stdenv, fetchurl, pkgconfig, x11, xlibs, libdrm, expat }:
if stdenv.system != "i686-linux" && stdenv.system != "x86_64-linux" && stdenv.system != "i686-darwin" && stdenv.system != "i686-freebsd" then if stdenv.system != "i686-linux" && stdenv.system != "x86_64-linux" && stdenv.system != "i686-darwin" && stdenv.system != "i686-freebsd" then
throw "unsupported platform for Mesa" throw "unsupported platform for Mesa"
else else
stdenv.mkDerivation { stdenv.mkDerivation {
name = "mesa-7.4.1"; name = "mesa-7.5.2";
src = fetchurl { src = fetchurl {
url = mirror://sourceforge/mesa3d/MesaLib-7.4.1.tar.bz2; url = ftp://ftp.freedesktop.org/pub/mesa/7.5.2/MesaLib-7.5.2.tar.bz2;
md5 = "423260578b653818ba66c2fcbde6d7ad"; md5 = "94e47a499f1226803869c2e37a6a8e3a";
}; };
buildInputs = [ buildInputs =
pkgconfig expat x11 libdrm xlibs.glproto [ pkgconfig expat x11 libdrm xlibs.glproto
xlibs.libXxf86vm xlibs.libXfixes xlibs.libXdamage xlibs.dri2proto xlibs.libXxf86vm xlibs.libXfixes xlibs.libXdamage xlibs.dri2proto
]; ];
passthru = {inherit libdrm;}; passthru = { inherit libdrm; };
meta = { meta = {
description = "An open source implementation of OpenGL"; description = "An open source implementation of OpenGL";
homepage = http://www.mesa3d.org/; homepage = http://www.mesa3d.org/;
license = "bsd";
}; };
} }