mumble: patch python scripts
This commit is contained in:
parent
d8c47a20b8
commit
1eccb75f26
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, fetchgit, pkgconfig
|
{ stdenv, fetchurl, fetchgit, pkgconfig
|
||||||
, qt4, qmake4Hook, qt5, avahi, boost, libopus, libsndfile, protobuf, speex, libcap
|
, qt4, qmake4Hook, qt5, avahi, boost, libopus, libsndfile, protobuf, speex, libcap
|
||||||
, alsaLib
|
, alsaLib, python
|
||||||
, jackSupport ? false, libjack2 ? null
|
, jackSupport ? false, libjack2 ? null
|
||||||
, speechdSupport ? false, speechd ? null
|
, speechdSupport ? false, speechd ? null
|
||||||
, pulseSupport ? false, libpulseaudio ? null
|
, pulseSupport ? false, libpulseaudio ? null
|
||||||
@ -19,7 +19,7 @@ let
|
|||||||
|
|
||||||
patches = optional jackSupport ./mumble-jack-support.patch;
|
patches = optional jackSupport ./mumble-jack-support.patch;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ]
|
nativeBuildInputs = [ pkgconfig python ]
|
||||||
++ { qt4 = [ qmake4Hook ]; qt5 = [ qt5.qmakeHook ]; }."qt${toString source.qtVersion}"
|
++ { qt4 = [ qmake4Hook ]; qt5 = [ qt5.qmakeHook ]; }."qt${toString source.qtVersion}"
|
||||||
++ (overrides.nativeBuildInputs or [ ]);
|
++ (overrides.nativeBuildInputs or [ ]);
|
||||||
buildInputs = [ boost protobuf avahi ]
|
buildInputs = [ boost protobuf avahi ]
|
||||||
@ -42,6 +42,7 @@ let
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
qmakeFlags="$qmakeFlags DEFINES+=PLUGIN_PATH=$out/lib"
|
qmakeFlags="$qmakeFlags DEFINES+=PLUGIN_PATH=$out/lib"
|
||||||
|
patchShebangs scripts
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [ "release" ];
|
makeFlags = [ "release" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user