guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/7] gnu: Add virglrenderer.


From: David Craven
Subject: [PATCH 2/7] gnu: Add virglrenderer.
Date: Sun, 24 Jul 2016 19:52:25 +0200

* gnu/packages/spice.scm: Add it.
---
 gnu/packages/spice.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index c0cec99..b3d795b 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,30 @@ 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 (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
+      `(("expat" ,expat)
+        ("libdrm" ,libdrm)
+        ("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 (list license:expat license:bsd-3))))
-- 
2.9.0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]