gnu: mesa: Update to 24.3.1.

* gnu/packages/gl.scm (mesa): Update to 24.3.1.
[arguments]: Add 'set-home-directory phase (build tries to use a
shader cache, though this without it won't fail to build).

Change-Id: I1fd7d1fe20109ccdd7386a82ecf7d415999c262a
This commit is contained in:
John Kehayias 2024-12-05 16:14:56 -05:00
parent b776730432
commit e11df98795
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -303,7 +303,7 @@ also known as DXTn or DXTC) for Mesa.")
(define-public mesa
(package
(name "mesa")
(version "24.2.5")
(version "24.3.1")
(source
(origin
(method url-fetch)
@ -313,7 +313,7 @@ also known as DXTn or DXTC) for Mesa.")
"mesa-" version ".tar.xz")))
(sha256
(base32
"0vyrkmy8j5bygddi2bsssj9g1rrcg4vfhvw0bjxsbmif4km0ngbk"))))
"1bs310dw9jjzvvchszmb3jakqb5268ssp83ba9ybrrcw8h05jycw"))))
(build-system meson-build-system)
(propagated-inputs
;; The following are in the Requires.private field of gl.pc.
@ -545,6 +545,9 @@ directory = ~a
(from-crates-io 'rust-proc-macro2-1)
(from-crates-io 'rust-paste-1))))))))
#~())
(add-after 'unpack 'set-home-directory
;; Build tries to use a shader cache (non-fatal error).
(lambda _ (setenv "HOME" "/tmp")))
(add-before 'configure 'fix-dlopen-libnames
(lambda* (#:key inputs #:allow-other-keys)
(let ((out #$output))