mumble_git: wrap with Qt dependencies

Fixes #14084.
This commit is contained in:
Nikolay Amiantov 2017-03-31 18:33:08 +03:00
parent a16c2e5420
commit d8c47a20b8

View File

@ -69,7 +69,7 @@ let
client = source: generic {
type = "mumble";
nativeBuildInputs = optional (source.qtVersion == 5) qt5.qttools;
nativeBuildInputs = optionals (source.qtVersion == 5) [ qt5.qttools qt5.makeQtWrapper ];
buildInputs = [ libopus libsndfile speex ]
++ optional (source.qtVersion == 5) qt5.qtsvg
++ optional stdenv.isLinux alsaLib
@ -90,6 +90,10 @@ let
mkdir -p $out/share/icons{,/hicolor/scalable/apps}
cp icons/mumble.svg $out/share/icons
ln -s $out/share/icon/mumble.svg $out/share/icons/hicolor/scalable/apps
${optionalString (source.qtVersion == 5) ''
wrapQtProgram $out/bin/mumble
''}
'';
} source;