ieure pushed a commit to branch master
in repository guix.

commit 064f8810477b10c3699a025cc2c7d75e323ab581
Author: Jakob Kirsch <[email protected]>
AuthorDate: Tue Apr 15 18:47:18 2025 +0200

    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.kir...@web.de>
    From: Jakob Kirsch <[email protected]>
    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 <[email protected]>
---
 gnu/packages/librewolf.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

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

Reply via email to