~ruther/guix-local

064f8810477b10c3699a025cc2c7d75e323ab581 — Jakob Kirsch 1 year, 6 months ago 584028d
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>
1 files changed, 5 insertions(+), 2 deletions(-)

M gnu/packages/librewolf.scm
M gnu/packages/librewolf.scm => gnu/packages/librewolf.scm +5 -2
@@ 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