diff mbox series

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

Message ID 18178607ab80560adc248e49823f961b2c634322.1678031751.git.roman@burningswell.com
State New
Headers show
Series Add some Asahi Linux packages | expand

Commit Message

Roman Scherer March 5, 2023, 4:14 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")