diff options
author | Rutherther <rutherther@ditigal.xyz> | 2024-10-27 08:45:04 +0100 |
---|---|---|
committer | John Kehayias <john.kehayias@protonmail.com> | 2024-11-10 16:14:18 -0500 |
commit | 425f3ee3ddd0fbf758790b4d377c9f071cbf2bd9 (patch) | |
tree | 38317b7c87e799efcce44e2a3544fda3e2cb8e14 | |
parent | c60ade9082af8d20b084999c7d98305b2637c7c4 (diff) |
nongnu: firefox-esr: Wrap with pipewire.
Firefox needs pipewire in LD_LIBRARY_PATH for screensharing on Wayland,
otherwise the screensharing just won't start.
* nongnu/packages/mozilla.scm (firefox-esr)[arguments]: Add pipewire
lib path to LD_LIBRARY_PATH variable in 'wrap-program phase.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
-rw-r--r-- | nongnu/packages/mozilla.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nongnu/packages/mozilla.scm b/nongnu/packages/mozilla.scm index d7e2eda..ee55354 100644 --- a/nongnu/packages/mozilla.scm +++ b/nongnu/packages/mozilla.scm @@ -370,13 +370,17 @@ '("mesa" "ffmpeg"))))) (pulseaudio-lib (string-append (assoc-ref inputs "pulseaudio") "/lib")) + ;; For sharing on Wayland + (pipewire-lib (string-append (assoc-ref inputs "pipewire") + "/lib")) ;; For U2F and WebAuthn (eudev-lib (string-append (assoc-ref inputs "eudev") "/lib")) (gtk-share (string-append (assoc-ref inputs "gtk+") "/share"))) (wrap-program (car (find-files lib "^firefox$")) `("LD_LIBRARY_PATH" prefix (,mesa-lib ,libnotify-lib ,libva-lib - ,pulseaudio-lib ,eudev-lib ,@rdd-whitelist)) + ,pulseaudio-lib ,eudev-lib ,@rdd-whitelist + ,pipewire-lib)) `("XDG_DATA_DIRS" prefix (,gtk-share)) `("MOZ_LEGACY_PROFILES" = ("1")) `("MOZ_ALLOW_DOWNGRADE" = ("1")))))) |