mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-21 07:58:08 +01:00
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>
This commit is contained in:
parent
c60ade9082
commit
425f3ee3dd
1 changed files with 5 additions and 1 deletions
|
@ -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"))))))
|
||||
|
|
Loading…
Reference in a new issue