From 0aac8ec7ec74ac8f9423a4277ec6360505ba658d Mon Sep 17 00:00:00 2001 From: pineapples Date: Sun, 29 Aug 2021 13:23:02 +0200 Subject: [PATCH] nongnu: firefox: Add VA-API support. More information on enabling VA-API in Firefox: https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration * nongnu/packages/mozilla.scm (firefox)[phases]: Add libva to the wrapper. Signed-off-by: Jonathan Brielmaier --- nongnu/packages/mozilla.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nongnu/packages/mozilla.scm b/nongnu/packages/mozilla.scm index c33220f..88508aa 100644 --- a/nongnu/packages/mozilla.scm +++ b/nongnu/packages/mozilla.scm @@ -290,6 +290,8 @@ "/lib")) '("pulseaudio" "mesa" "udev" ;; For U2F and WebAuthn + ;; For hardware video acceleration via VA-API + "libva" ;; For the integration of native notifications "libnotify"))) (gtk-share (string-append (assoc-ref inputs "gtk+") @@ -359,6 +361,7 @@ ("libjpeg-turbo" ,libjpeg-turbo) ("libnotify" ,libnotify) ;; ("libpng-apng" ,libpng-apng) + ("libva" ,libva) ("libvpx" ,libvpx) ("libxcomposite" ,libxcomposite) ("libxft" ,libxft)