mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
zoom-us: set LD_PRELOAD=.../v4l2convert.so
This was needed for my webcam to work with zoom-us. v4l2convert is a wrapper for apps that only support simple bgr24 or yuv420. For these apps to support webcams that don’t use those formats, we need to use LD_PRELOAD to get those symbols. Taken from archlinux wiki: https://wiki.archlinux.org/index.php/Webcam_setup#V4L1_support
This commit is contained in:
parent
7531309c6e
commit
9d65bb588f
@ -4,7 +4,7 @@
|
||||
, qtimageformats, qtlocation, qtquickcontrols, qtquickcontrols2, qtscript, qtsvg
|
||||
, qttools, qtwayland, qtwebchannel, qtwebengine
|
||||
# Runtime
|
||||
, coreutils, libjpeg_turbo, pciutils, procps, utillinux
|
||||
, coreutils, libjpeg_turbo, pciutils, procps, utillinux, libv4l
|
||||
, pulseaudioSupport ? true, libpulseaudio ? null
|
||||
}:
|
||||
|
||||
@ -72,6 +72,7 @@ in stdenv.mkDerivation {
|
||||
|
||||
makeWrapper $packagePath/zoom $out/bin/zoom-us \
|
||||
--prefix PATH : "${makeBinPath [ coreutils glib.dev pciutils procps qttools.dev utillinux ]}" \
|
||||
--prefix LD_PRELOAD : "${libv4l}/lib/libv4l/v4l2convert.so" \
|
||||
--run "cd $packagePath"
|
||||
|
||||
runHook postInstall
|
||||
|
Loading…
Reference in New Issue
Block a user