Properly configure mumble to build without the server and libopus
This commit is contained in:
parent
4118e632e8
commit
7aa292a069
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, qt4, libvorbis, boost, speechd, protobuf, libsndfile,
|
{ stdenv, fetchurl, qt4, boost, speechd, protobuf, libsndfile,
|
||||||
avahi, dbus, libcap, pkgconfig,
|
speex, libopus, avahi, pkgconfig
|
||||||
jackSupport ? false,
|
jackSupport ? false,
|
||||||
jackaudio ? null }:
|
jackaudio ? null }:
|
||||||
|
|
||||||
@ -18,16 +18,18 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
qmake CONFIG+=no-g15 CONFIG+=no-update \
|
qmake CONFIG+=no-g15 CONFIG+=no-update CONFIG+=no-server \
|
||||||
CONFIG+=no-embed-qt-translations CONFIG+=no-ice \
|
CONFIG+=no-embed-qt-translations CONFIG+=packaged \
|
||||||
|
CONFIG+=bundled-celt CONFIG+=no-bundled-opus \
|
||||||
|
CONFIG+=no-bundled-speex
|
||||||
''
|
''
|
||||||
+ stdenv.lib.optionalString jackSupport ''
|
+ stdenv.lib.optionalString jackSupport ''
|
||||||
CONFIG+=no-oss CONFIG+=no-alsa CONFIG+=jackaudio
|
CONFIG+=no-oss CONFIG+=no-alsa CONFIG+=jackaudio
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
buildInputs = [ qt4 libvorbis boost speechd protobuf libsndfile avahi dbus
|
buildInputs = [ qt4 boost speechd protobuf libsndfile speex
|
||||||
libcap pkgconfig ]
|
libopus avahi pkgconfig ]
|
||||||
++ (stdenv.lib.optional jackSupport jackaudio);
|
++ (stdenv.lib.optional jackSupport jackaudio);
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user