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 <jonathan.brielmaier@web.de>
This commit is contained in:
pineapples 2021-08-29 13:23:02 +02:00 committed by Jonathan Brielmaier
parent f5cffdf948
commit 0aac8ec7ec
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -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)