summary refs log tree commit diff
path: root/gnu/packages/gl.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-05-01 19:04:49 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-05-01 19:06:39 +0300
commit3ee7b4cc9b33ea64733606df66d86d275eb45e8e (patch)
tree8f1358cf70819f19624ae15afe21b8c2ff0f2b2d /gnu/packages/gl.scm
parent6e339db06ee4f14375c11f544fa166fdae045aca (diff)
downloadguix-3ee7b4cc9b33ea64733606df66d86d275eb45e8e.tar.gz
gnu: libva: Build with wayland support.
* gnu/packages/video.scm (libva)[inputs]: Add wayland.
* gnu/packages/gl.scm (libva-without-mesa)[inputs]: Remove wayland.
Diffstat (limited to 'gnu/packages/gl.scm')
-rw-r--r--gnu/packages/gl.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index db02d798f5..dc9f35c7b4 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -55,7 +55,8 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
-  #:use-module (ice-9 match))
+  #:use-module (ice-9 match)
+  #:use-module (srfi srfi-1))
 
 (define-public glu
   (package
@@ -211,7 +212,8 @@ also known as DXTn or DXTC) for Mesa.")
     (package
       (inherit libva)
       (name "libva-without-mesa")
-      (inputs (alist-delete "mesa" (package-inputs libva)))
+      (inputs `(,@(fold alist-delete (package-inputs libva)
+                        '("mesa" "wayland"))))
       (arguments
        (strip-keyword-arguments
         '(#:make-flags)