Merge pull request #5698 from abbradar/mumble-pa
mumble: add pulseaudio support
This commit is contained in:
commit
0a80cf9e51
@ -4,10 +4,13 @@
|
|||||||
, jack2 ? null
|
, jack2 ? null
|
||||||
, speechdSupport ? false
|
, speechdSupport ? false
|
||||||
, speechd ? null
|
, speechd ? null
|
||||||
|
, pulseSupport ? false
|
||||||
|
, pulseaudio ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert jackSupport -> jack2 != null;
|
assert jackSupport -> jack2 != null;
|
||||||
assert speechdSupport -> speechd != null;
|
assert speechdSupport -> speechd != null;
|
||||||
|
assert pulseSupport -> pulseaudio != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
optional = stdenv.lib.optional;
|
optional = stdenv.lib.optional;
|
||||||
@ -37,7 +40,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ qt4 boost protobuf libsndfile speex
|
buildInputs = [ qt4 boost protobuf libsndfile speex
|
||||||
libopus avahi pkgconfig ]
|
libopus avahi pkgconfig ]
|
||||||
++ (optional jackSupport jack2)
|
++ (optional jackSupport jack2)
|
||||||
++ (optional speechdSupport speechd);
|
++ (optional speechdSupport speechd)
|
||||||
|
++ (optional pulseSupport pulseaudio);
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
|
@ -10507,6 +10507,7 @@ let
|
|||||||
};
|
};
|
||||||
jackSupport = config.mumble.jackSupport or false;
|
jackSupport = config.mumble.jackSupport or false;
|
||||||
speechdSupport = config.mumble.speechdSupport or false;
|
speechdSupport = config.mumble.speechdSupport or false;
|
||||||
|
pulseSupport = config.pulseaudio or false;
|
||||||
};
|
};
|
||||||
|
|
||||||
murmur = callPackage ../applications/networking/mumble/murmur.nix {
|
murmur = callPackage ../applications/networking/mumble/murmur.nix {
|
||||||
|
Loading…
Reference in New Issue
Block a user