gnu: librewolf: Fix video playback.

This patch fixes the video playback issue with librewolf.

From ebe6707d964fca6f47cf778559f6890bf67665dd Mon Sep 17 00:00:00 2001
Message-ID: <ebe6707d964fca6f47cf778559f6890bf67665dd.1744735632.git.jakob.kirsch@web.de>
From: Jakob Kirsch <jakob.kirsch@web.de>
Date: Tue, 15 Apr 2025 18:44:58 +0200
Subject: [PATCH] gnu: librewolf: Fix video playback.

Firefox seems to enable VAAPI starting with version 137, which depends on libpciaccess.
Without it, video playback randomly stops and doesn't work until you restart the browser.

* gnu/packages/librewolf.scm (librewolf): [inputs]: Add libpciaccess.

Change-Id: I87332f53a41ef64639c9770c6dbfcac1eefe2e84
Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
Jakob Kirsch 2025-04-15 18:47:18 +02:00 committed by Ian Eure
parent 584028ddc3
commit 064f881047
No known key found for this signature in database
GPG key ID: 8499AC88F1A71CF2

View file

@ -558,7 +558,8 @@
"libva" "libva"
"mesa" "mesa"
"pipewire" ; For sharing on Wayland "pipewire" ; For sharing on Wayland
"pulseaudio"))) "pulseaudio"
"libpciaccess")))
;; VA-API is run in the RDD (Remote Data Decoder) sandbox ;; VA-API is run in the RDD (Remote Data Decoder) sandbox
;; and must be explicitly given access to files it needs. ;; and must be explicitly given access to files it needs.
@ -574,7 +575,8 @@
(delete-duplicates (delete-duplicates
(append-map runpaths-of-input (append-map runpaths-of-input
'("mesa" '("mesa"
"ffmpeg"))))) "ffmpeg"
"libpciaccess")))))
(gtk-share (string-append (assoc-ref inputs (gtk-share (string-append (assoc-ref inputs
"gtk+") "gtk+")
"/share"))) "/share")))
@ -661,6 +663,7 @@
libgnome libgnome
libjpeg-turbo libjpeg-turbo
libnotify libnotify
libpciaccess
libpng-apng-for-librewolf libpng-apng-for-librewolf
libva libva
libvpx libvpx