mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
parent
a16c2e5420
commit
d8c47a20b8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user