Subject: [bug#61959] [PATCH 7/7] gnu: Add asahi-mesa-utils.

From: Roman Scherer <[email-masked]>
Date: Sat, 4 Mar 2023 15:46:40 +0100

* gnu/packages/gl.scm (asahi-mesa-utils): New variable.
---
 gnu/packages/gl.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 6a9dc41832..e2cc11a711 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -676,6 +676,21 @@ (define-public asahi-mesa-headers
        (sha256
         (base32 "1gg0msrx2d2mgif4jqljns8nqf29nazqpxcxmjaa50yf50n6n05p"))))))
 
+(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
+     `(("mesa" ,asahi-mesa)
+       ,@(fold alist-delete (package-inputs mesa-utils) '("mesa"))))))
+
 (define-public glew
   (package
     (name "glew")
-- 
2.39.1