Subject: [v2 2/6] gnu: virglrenderer: Update to 0.10.4.

From: Simon Streit <[email-masked]>
Date: Thu, 2 Feb 2023 22:01:00 +0100

* gnu/packages/spice.scm (virglrenderer): Update to 0.10.4.
  [uri]: Update source uri.
  [build-system] Change to meson-build-system.
  [inputs]: Add python; remove eudev.
  [home-page]: Update url.
---
 gnu/packages/spice.scm | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index fd0ac077ed..6eb8a4bfc7 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -85,25 +85,24 @@ (define-public usbredir
 (define-public virglrenderer
   (package
     (name "virglrenderer")
-    (version "0.6.0")
+    (version "0.10.4")
     (source (origin
               (method url-fetch)
-              (uri (string-append
-                "https://www.freedesktop.org/software/virgl/"
-                "virglrenderer-" version ".tar.bz2"))
-              (patches (search-patches "virglrenderer-CVE-2017-6386.patch"))
+              (uri (string-append "https://gitlab.freedesktop.org/virgl/"
+                    name "/-/archive/" version "/" name "-" version
+                    ".tar.gz"))
               (sha256
                (base32
-                "06kf0q4l52gzx5p63l8850hff8pmhp7xv1hk8zgx2apbw18y6jd5"))))
-    (build-system gnu-build-system)
+                "0522czb3nixkpwjknw3w1ifaj50686a2aj46v4r5cr0zh9cxqgys"))))
+    (build-system meson-build-system)
     (inputs
-      (list libepoxy mesa eudev))
+      (list libepoxy mesa python))
     (native-inputs
       (list pkg-config))
     (synopsis "Virtual 3D GPU library")
     (description "A virtual 3D GPU library that enables a virtualized operating
 system to use the host GPU to accelerate 3D rendering.")
-    (home-page "https://virgil3d.github.io")
+    (home-page "https://gitlab.freedesktop.org/virgl/virglrenderer")
     (license (list license:expat license:bsd-3))))
 
 (define-public spice-protocol
-- 
2.39.1