Skip to content

Commit

Permalink
mumble_git: wrap with Qt dependencies
Browse files Browse the repository at this point in the history
Fixes #14084.
  • Loading branch information
abbradar committed Mar 31, 2017
1 parent a16c2e5 commit d8c47a2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/applications/networking/mumble/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;

Expand Down

0 comments on commit d8c47a2

Please sign in to comment.