Merge pull request #153308 from fabianhauser/jitsi-meet-electron-pipewire

jitsi-meet-electron: add pipewire screensharing support
This commit is contained in:
Jörg Thalheim 2022-01-03 13:00:19 +00:00 committed by GitHub
commit bd61c16560
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@
, makeWrapper , makeWrapper
, electron , electron
, xorg , xorg
, pipewire
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -45,7 +46,7 @@ stdenv.mkDerivation rec {
postFixup = '' postFixup = ''
makeWrapper ${electron}/bin/electron $out/bin/${pname} \ makeWrapper ${electron}/bin/electron $out/bin/${pname} \
--add-flags $out/share/${pname}/resources/app.asar \ --add-flags $out/share/${pname}/resources/app.asar \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc xorg.libXtst ]}" --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc xorg.libXtst pipewire ]}"
''; '';
meta = with lib; { meta = with lib; {