gnu: virglrenderer: Update to 0.10.4.

* gnu/packages/spice.scm (virglrenderer): Update to 0.10.4.
[source]: Use git-fetch and update URI.
[build-system] Change to meson-build-system.
[inputs]: Remove eudev.
[native-inputs]: Add python.
[home-page]: Update URL.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Simon Streit 2023-02-02 22:01:00 +01:00 committed by Maxim Cournoyer
parent 61f691fdfb
commit 1dac5b2157
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -56,6 +56,7 @@ (define-module (gnu packages spice)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
@ -87,22 +88,23 @@ (define-public usbredir
(define-public virglrenderer (define-public virglrenderer
(package (package
(name "virglrenderer") (name "virglrenderer")
(version "0.7.0") (version "0.10.4")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://www.freedesktop.org/software/virgl/" (url "https://gitlab.freedesktop.org/virgl/virglrenderer")
"virglrenderer-" version ".tar.bz2")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"041agg1d6i8hg250y30f08n3via0hs9rbijxdrfifb8ara805v0m")))) "06pwavrknyhghlxyh7ckq4scjx47v9fhy08r6pn194whzvzivmqg"))))
(build-system gnu-build-system) (build-system meson-build-system)
(inputs (list eudev libepoxy mesa)) (inputs (list libepoxy mesa))
(native-inputs (list pkg-config)) (native-inputs (list pkg-config python))
(synopsis "Virtual 3D GPU library") (synopsis "Virtual 3D GPU library")
(description "A virtual 3D GPU library that enables a virtualized operating (description "A virtual 3D GPU library that enables a virtualized operating
system to use the host GPU to accelerate 3D rendering.") 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)))) (license (list license:expat license:bsd-3))))
(define-public spice-protocol (define-public spice-protocol