guvcview: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:33:17 +00:00
parent 04551d263c
commit 23cfa1d290
2 changed files with 3 additions and 5 deletions

@ -1,6 +1,6 @@
{ stdenv, fetchurl, intltool, pkgconfig
{ config, stdenv, fetchurl, intltool, pkgconfig
, gtk3, portaudio, SDL2, ffmpeg, udev, libusb1, libv4l, alsaLib, gsl
, pulseaudioSupport ? true, libpulseaudio ? null }:
, pulseaudioSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null }:
assert pulseaudioSupport -> libpulseaudio != null;

@ -17534,9 +17534,7 @@ in
gv = callPackage ../applications/misc/gv { };
guvcview = callPackage ../os-specific/linux/guvcview {
pulseaudioSupport = config.pulseaudio or true;
};
guvcview = callPackage ../os-specific/linux/guvcview { };
gxmessage = callPackage ../applications/misc/gxmessage { };