diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2016-01-05 09:59:26 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2016-01-05 11:54:47 +0100 |
commit | 38d115bc71ff33aea1e350827127c9396d9be818 (patch) | |
tree | 602ec5718de86d46ff062a5185cc77dcdef9e2b1 /pkgs/os-specific/linux/guvcview | |
parent | e753f795e2049d38e0f64b9507a6285eca1ff28b (diff) |
guvcview: add pulseaudioSupport option (default true)
Diffstat (limited to 'pkgs/os-specific/linux/guvcview')
-rw-r--r-- | pkgs/os-specific/linux/guvcview/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/guvcview/default.nix b/pkgs/os-specific/linux/guvcview/default.nix index 940a627e5c293..40c9bdaaeacbc 100644 --- a/pkgs/os-specific/linux/guvcview/default.nix +++ b/pkgs/os-specific/linux/guvcview/default.nix @@ -1,5 +1,8 @@ { stdenv, fetchurl, intltool, gettext, pkgconfig -, gtk3, portaudio, libpng, SDL2, ffmpeg, udev, libusb1, libv4l, alsaLib, gsl }: +, gtk3, portaudio, libpng, SDL2, ffmpeg, udev, libusb1, libv4l, alsaLib, gsl +, pulseaudioSupport ? true, libpulseaudio ? null }: + +assert pulseaudioSupport -> libpulseaudio != null; stdenv.mkDerivation rec { version = "2.0.2"; @@ -22,7 +25,7 @@ stdenv.mkDerivation rec { portaudio udev gsl - ]; + ] ++ stdenv.lib.optional pulseaudioSupport [ libpulseaudio ]; meta = { description = "A simple interface for devices supported by the linux UVC driver"; |