diff mbox series

[bug#61959,v4,6/7] gnu: Add asahi-mesa-utils.

Message ID 3d63a47fa64b556e1be9dc91f78188342d1865bc.1678277362.git.roman@burningswell.com
State New
Headers show
Series Change patch order | expand

Commit Message

Roman Scherer March 8, 2023, 12:13 p.m. UTC
* gnu/packages/gl.scm (asahi-mesa-utils): New variable.
---
 gnu/packages/gl.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 490b1051d2..0b4c11db7b 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -667,6 +667,21 @@  (define-public asahi-mesa-headers
     (version (package-version asahi-mesa))
     (source (package-source asahi-mesa))))
 
+(define-public asahi-mesa-utils
+  (package/inherit mesa-utils
+    (name "asahi-mesa-utils")
+    (version "8.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://archive.mesa3d.org/demos/" version
+                           "/mesa-demos-" version ".tar.bz2"))
+       (sha256 (base32 "1hdaf7pnh5h4f16pzrxqw3g5s37r5dkimsy46pv316phh05dz8nf"))))
+    (build-system meson-build-system)
+    (inputs
+     (modify-inputs (package-inputs mesa-utils)
+       (replace "mesa" asahi-mesa)))))
+
 (define-public glew
   (package
     (name "glew")