guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: libva: Build with wayland support.


From: Efraim Flashner
Subject: 03/03: gnu: libva: Build with wayland support.
Date: Tue, 1 May 2018 12:07:02 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 3ee7b4cc9b33ea64733606df66d86d275eb45e8e
Author: Efraim Flashner <address@hidden>
Date:   Tue May 1 19:04:49 2018 +0300

    gnu: libva: Build with wayland support.
    
    * gnu/packages/video.scm (libva)[inputs]: Add wayland.
    * gnu/packages/gl.scm (libva-without-mesa)[inputs]: Remove wayland.
---
 gnu/packages/gl.scm    | 6 ++++--
 gnu/packages/video.scm | 3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index db02d79..dc9f35c 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)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 58fd355..94b51fc 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -564,7 +564,8 @@ libebml is a C++ library to read and write EBML files.")
        ("libx11" ,libx11)
        ("libxext" ,libxext)
        ("libxfixes" ,libxfixes)
-       ("mesa" ,mesa)))
+       ("mesa" ,mesa)
+       ("wayland" ,wayland)))
     (arguments
      `(#:phases
        (modify-phases %standard-phases



reply via email to

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