forked from mirrors/nixpkgs
zoom-us: fix webcam video
Webcam Logitech C270 showed black screen in zoom, but LD_PRELOADing v4l1compat.so fixed this. I hope, this wouldn't break camera for people, who were already able to see video, but I can't be 100% sure currently.
This commit is contained in:
parent
8bc737d9d3
commit
6d6d2fd324
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchurl, system, makeWrapper,
|
||||
alsaLib, dbus, glib, gstreamer, fontconfig, freetype, libpulseaudio, libxml2,
|
||||
libxslt, mesa, nspr, nss, sqlite, utillinux, zlib, xorg, udev, expat }:
|
||||
libxslt, mesa, nspr, nss, sqlite, utillinux, zlib, xorg, udev, expat, libv4l }:
|
||||
|
||||
let
|
||||
|
||||
|
@ -78,6 +78,7 @@ in stdenv.mkDerivation {
|
|||
# RUNPATH set via patchelf is used only for half of libraries (why?), so wrap it
|
||||
wrapProgram $packagePath/zoom \
|
||||
--prefix LD_LIBRARY_PATH : "$packagePath:$libPath" \
|
||||
--prefix LD_PRELOAD : "${libv4l}/lib/v4l1compat.so" \
|
||||
--set QT_PLUGIN_PATH "$packagePath/platforms" \
|
||||
--set QT_XKB_CONFIG_ROOT "${xorg.xkeyboardconfig}/share/X11/xkb" \
|
||||
--set QTCOMPOSE "${xorg.libX11.out}/share/X11/locale"
|
||||
|
|
Loading…
Reference in a new issue