2
2
, pkgconfig , intltool , autoreconfHook , substituteAll
3
3
, file , expat , libdrm , xorg , wayland , openssl
4
4
, llvmPackages , libffi , libomxil-bellagio , libva
5
- , libelf , libvdpau , python2
5
+ , libelf , libvdpau
6
6
, grsecEnabled ? false
7
7
, enableRadv ? false
8
8
# Texture floats are patented, see docs/patents.txt, so we don't enable them for full Mesa.
36
36
then [ "nouveau" "freedreno" "vc4" "etnaviv" "imx" ]
37
37
else if stdenv . isAarch64
38
38
then [ "nouveau" "vc4" ]
39
- else [ "i915" "ilo" " r300" "r600" "radeonsi" "nouveau" ] ;
39
+ else [ "i915" "r300" "r600" "radeonsi" "nouveau" ] ;
40
40
defaultDriDrivers =
41
41
if ( stdenv . isArm || stdenv . isAarch64 )
42
42
then [ "nouveau" ]
67
67
in
68
68
69
69
let
70
- version = "17.0.6 " ;
70
+ version = "17.1.1 " ;
71
71
branch = head ( splitString "." version ) ;
72
72
driverLink = "/run/opengl-driver" + optionalString stdenv . isi686 "-32" ;
73
73
in
@@ -82,7 +82,7 @@ stdenv.mkDerivation {
82
82
"ftp://ftp.freedesktop.org/pub/mesa/older-versions/${ branch } .x/${ version } /mesa-${ version } .tar.xz"
83
83
"https://launchpad.net/mesa/trunk/${ version } /+download/mesa-${ version } .tar.xz"
84
84
] ;
85
- sha256 = "17d60jjzg4ddm95gk2cqx0xz6b9anmmz6ax4majwr3gis2yg7v49 " ;
85
+ sha256 = "aed503f94c0c1630a162a3e276f4ee12a86764cee4cb92338ea2dea99a04e7ef " ;
86
86
} ;
87
87
88
88
prePatch = "patchShebangs ." ;
@@ -103,7 +103,7 @@ stdenv.mkDerivation {
103
103
"--localstatedir=/var"
104
104
"--with-dri-driverdir=$(drivers)/lib/dri"
105
105
"--with-dri-searchpath=${ driverLink } /lib/dri"
106
- "--with-egl- platforms=x11,wayland,drm"
106
+ "--with-platforms=x11,wayland,drm"
107
107
]
108
108
++ ( optional ( galliumDrivers != [ ] )
109
109
( "--with-gallium-drivers=" +
@@ -126,7 +126,7 @@ stdenv.mkDerivation {
126
126
"--enable-glx"
127
127
"--enable-glx-tls"
128
128
"--enable-gallium-osmesa" # used by wine
129
- "--enable-gallium- llvm"
129
+ "--enable-llvm"
130
130
"--enable-egl"
131
131
"--enable-xa" # used in vmware driver
132
132
"--enable-gbm"
@@ -152,7 +152,6 @@ stdenv.mkDerivation {
152
152
libX11 libXext libxcb libXt libXfixes libxshmfence
153
153
libffi wayland libvdpau libelf libXvMC
154
154
libomxil-bellagio libva libpthreadstubs openssl /*or another sha1 provider*/
155
- ( python2 . withPackages ( ps : [ ps . Mako ] ) )
156
155
] ;
157
156
158
157
0 commit comments