mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
mumble: use bundled celt library again
This commit is contained in:
parent
d6c83c30e6
commit
5963d94c3c
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, fetchgit, pkgconfig
|
||||
, qt4, qt5, avahi, boost, libopus, celt, libsndfile, protobuf, speex, libcap
|
||||
, qt4, qt5, avahi, boost, libopus, libsndfile, protobuf, speex, libcap
|
||||
, alsaLib
|
||||
, jackSupport ? false, libjack2 ? null
|
||||
, speechdSupport ? false, speechd ? null
|
||||
@ -32,7 +32,7 @@ let
|
||||
"CONFIG+=packaged"
|
||||
"CONFIG+=no-update"
|
||||
"CONFIG+=no-embed-qt-translations"
|
||||
"CONFIG+=no-bundled-celt"
|
||||
"CONFIG+=bundled-celt"
|
||||
"CONFIG+=no-bundled-opus"
|
||||
"CONFIG+=no-bundled-speex"
|
||||
] ++ optional (!speechdSupport) "CONFIG+=no-speechd"
|
||||
@ -65,10 +65,9 @@ let
|
||||
|
||||
client = source: generic {
|
||||
type = "mumble";
|
||||
NIX_CFLAGS_COMPILE = [ "-I${celt}/include/celt" ];
|
||||
|
||||
nativeBuildInputs = optional (source.qtVersion == 5) qt5.tools;
|
||||
buildInputs = [ libopus celt libsndfile speex ]
|
||||
buildInputs = [ libopus libsndfile speex ]
|
||||
++ optional (source.qtVersion == 5) qt5.svg
|
||||
++ optional stdenv.isLinux alsaLib
|
||||
++ optional jackSupport libjack2
|
||||
|
@ -12197,7 +12197,6 @@ let
|
||||
withLibdnssdCompat = true;
|
||||
};
|
||||
qt5 = qt54; # Mumble is not compatible with qt55 yet
|
||||
celt = celt_0_7;
|
||||
jackSupport = config.mumble.jackSupport or false;
|
||||
speechdSupport = config.mumble.speechdSupport or false;
|
||||
pulseSupport = config.pulseaudio or false;
|
||||
|
Loading…
Reference in New Issue
Block a user