gnu: Add virglrenderer.

* gnu/packages/spice.scm (virglrenderer): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
David Craven 2016-07-24 19:52:25 +02:00 committed by Leo Famulari
parent 1d2c67c11e
commit 2ef2654de4
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -18,7 +18,9 @@
(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)
@ -50,3 +52,28 @@ (define-public usbredir
attached.")
(home-page "http://www.spice-space.org")
(license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+))))
(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 enables a virtualized operating
system to use the host GPU to accelerate 3D rendering.")
(home-page "https://virgil3d.github.io")
(license (list license:expat license:bsd-3))))