mumble: add pulseaudio support

This commit is contained in:
Nikolay Amiantov 2015-01-10 23:36:17 +03:00
parent 11ac18a6e6
commit 663082b366
2 changed files with 6 additions and 1 deletions

View File

@ -4,10 +4,13 @@
, jack2 ? null
, speechdSupport ? false
, speechd ? null
, pulseSupport ? false
, pulseaudio ? null
}:
assert jackSupport -> jack2 != null;
assert speechdSupport -> speechd != null;
assert pulseSupport -> pulseaudio != null;
let
optional = stdenv.lib.optional;
@ -37,7 +40,8 @@ stdenv.mkDerivation rec {
buildInputs = [ qt4 boost protobuf libsndfile speex
libopus avahi pkgconfig ]
++ (optional jackSupport jack2)
++ (optional speechdSupport speechd);
++ (optional speechdSupport speechd)
++ (optional pulseSupport pulseaudio);
installPhase = ''
mkdir -p $out

View File

@ -10507,6 +10507,7 @@ let
};
jackSupport = config.mumble.jackSupport or false;
speechdSupport = config.mumble.speechdSupport or false;
pulseSupport = config.pulseaudio or false;
};
murmur = callPackage ../applications/networking/mumble/murmur.nix {