From 145ebf94aa187505bb8056ed5edb06dadfaa6f30 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Fri, 25 Nov 2022 15:22:53 +0800 Subject: [PATCH] rosenthal: Add libva-nox. * rosenthal/packages/video.scm (libva-nox): New variable. --- rosenthal/packages/video.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/rosenthal/packages/video.scm b/rosenthal/packages/video.scm index 892df9c..27263c0 100644 --- a/rosenthal/packages/video.scm +++ b/rosenthal/packages/video.scm @@ -23,3 +23,17 @@ (sha256 (base32 "070aj9nw681a4m7f5xb662hhyib0w9q0i0s9v8vplh9cvfhaqpqi")))))) + +(define-public libva-nox + (let ((base libva-2.16.0)) + (package + (inherit base) + (name "libva-nox") + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:configure-flags configure-flags) + #~(append #$configure-flags (list "--disable-glx"))) + ((#:phases _) #~%standard-phases))) + (inputs + (modify-inputs (package-inputs base) + (delete "libx11" "libxext" "libxfixes"))))))