Subject: [bug#74640] [PATCH] gnu: monado: Update to 24.0.0.

From: Zheng Junjie <[email-masked]>
Date: Mon, 2 Dec 2024 12:19:04 +0800

* gnu/packages/graphics.scm (monado): Update to 24.0.0.
[source]: Switch to git-fetch.
[build-system]: Switch to cmake-build-system.
[arguments]: Remove configure-flags.

Change-Id: Iba340dd539de40235e0f67b97ddf2b646296b883
---
 gnu/packages/graphics.scm | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 8686cac7f7d..337d18a876e 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -29,7 +29,7 @@
 ;;; Copyright © 2021, 2022 Vinicius Monego <[email-masked]>
 ;;; Copyright © 2022 Michael Rohleder <[email-masked]>
 ;;; Copyright © 2022, 2023, 2024 John Kehayias <[email-masked]>
-;;; Copyright © 2022 Zheng Junjie <[email-masked]>
+;;; Copyright © 2022, 2024 Zheng Junjie <[email-masked]>
 ;;; Copyright © 2022 Tobias Kortkamp <[email-masked]>
 ;;; Copyright © 2022 Paul A. Patience <[email-masked]>
 ;;; Copyright © 2022 dan <[email-masked]>
@@ -2551,16 +2551,17 @@ (define-public tinygltf
 (define-public monado
   (package
     (name "monado")
-    (version "21.0.0")
+    (version "24.0.0")
     (source (origin
-          (method url-fetch)
-          (uri (string-append "https://gitlab.freedesktop.org/" name "/"
-                              name "/-/archive/v" version "/"
-                              name "-v" version ".tar.bz2"))
-          (sha256
-           (base32
-            "0n04k7a8b0i8ga0kbzh7qxmvni1ijawgk98s83519vxg4d0yyjbq"))))
-    (build-system meson-build-system)
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.freedesktop.org/monado/monado")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1ix52kr4av259g4n06338qjrlfssi1v2dnb4pfr863wbyrbb8p4l"))))
+    (build-system cmake-build-system)
     (inputs
      (list ffmpeg
            glslang
@@ -2574,9 +2575,6 @@ (define-public monado
            vulkan-loader))
     (native-inputs
      (list eigen pkg-config vulkan-headers))
-    (arguments
-     `(#:configure-flags
-       (list "-Dinstall-active-runtime=false")))
     (home-page "https://monado.freedesktop.org/")
     (synopsis "OpenXR runtime")
     (description "Monado is an OpenXR runtime delivering immersive experiences

base-commit: ca3a79ccee5f9a857e00128f11d04e3c1aef901a
-- 
2.46.0