* gnu/packages/spice.scm: Add it. --- gnu/packages/spice.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 3c81a93..8979d32 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -1,6 +1,8 @@ (define-module (gnu packages spice) #:use-module (gnu packages) + #:use-module (gnu packages gl) #:use-module (gnu packages libusb) + #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) #:use-module (guix build-system gnu) #:use-module (guix download) @@ -31,3 +33,28 @@ single USB device, to a different (virtual) machine then the one to which the USB device is attached.") (home-page "http://www.spice-space.org") (license license:gpl2))) + +(define-public virglrenderer + (package + (name "virglrenderer") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://www.freedesktop.org/software/virgl/" + "virglrenderer-" version ".tar.bz2")) + (sha256 + (base32 + "1dj0j8nbyr7nrpds4dqlp43ji8ixjyqhgw6ywlz1r9dn6cs5m5d1")))) + (build-system gnu-build-system) + (inputs + `(("libepoxy" ,libepoxy) + ("mesa" ,mesa) + ("udev" ,eudev))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (synopsis "Virtual 3D GPU library") + (description "A virtual 3D GPU library, that allows the guest operating +system to use the host GPU to accelerate 3D rendering") + (home-page "https://virgil3d.github.io") + (license license:expat))) -- 2.9.0