gnu: mesa: Update to 17.3.1.

* gnu/packages/gl.scm (mesa): Update to 17.3.1.
[inputs]: Remove s2tc.
[native-inputs]: Add python2-mako.
[arguments]: Add radeonsi to --with-gallium-drivers (exclude aarch64 and armhf).
This commit is contained in:
Rutger Helling 2017-12-25 21:55:12 +01:00
parent 80f642acd4
commit 771d18162d
No known key found for this signature in database
GPG key ID: F3A727DB44FCCA36

View file

@ -221,7 +221,7 @@ (define libva-without-mesa
(define-public mesa
(package
(name "mesa")
(version "17.2.7")
(version "17.3.1")
(source
(origin
(method url-fetch)
@ -233,7 +233,7 @@ (define-public mesa
version "/mesa-" version ".tar.xz")))
(sha256
(base32
"0s3slgjxnx482yw0knn4a6alsy2cq28rah6hnjbmf12mvyldxksh"))
"1h94m2nkxa1y4n415d5idk2x2lkgbvjcikv6r2r6yn4ak7h0grls"))
(patches
(search-patches "mesa-wayland-egl-symbols-check-mips.patch"
"mesa-skip-disk-cache-test.patch"))))
@ -264,12 +264,12 @@ (define-public mesa
`()))
("makedepend" ,makedepend)
("presentproto" ,presentproto)
("s2tc" ,s2tc)
("wayland" ,wayland)
("wayland-protocols" ,wayland-protocols)))
(native-inputs
`(("pkg-config" ,pkg-config)
("python" ,python-2)
("python2-mako" ,python2-mako)
("which" ,(@ (gnu packages base) which))))
(arguments
`(#:configure-flags
@ -281,7 +281,7 @@ (define-public mesa
;; TODO: Fix svga driver for aarch64 and armhf.
'("--with-gallium-drivers=freedreno,nouveau,r300,r600,swrast,vc4,virgl"))
(_
'("--with-gallium-drivers=i915,nouveau,r300,r600,svga,swrast,virgl")))
'("--with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast,virgl")))
;; Enable various optional features. TODO: opencl requires libclc,
;; omx requires libomxil-bellagio
"--with-platforms=x11,drm,wayland,surfaceless"