friture: fix desktop item
friture: remove trailing whitespace friture: use substituteInPlace instead of patch file friture: fix
This commit is contained in:
parent
dec57cb241
commit
37d2d14c04
1 changed files with 12 additions and 0 deletions
|
@ -36,6 +36,18 @@ in py.buildPythonApplication rec {
|
|||
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/share/applications/friture.desktop --replace usr/bin/friture friture
|
||||
|
||||
for size in 16 32 128 256 512
|
||||
do
|
||||
mkdir -p $out/share/icons/hicolor/$size\x$size
|
||||
cp $src/resources/images/friture.iconset/icon_$size\x$size.png $out/share/icons/hicolor/$size\x$size/friture.png
|
||||
done
|
||||
mkdir -p $out/share/icons/hicolor/scalable/apps/
|
||||
cp $src/resources/images-src/window-icon.svg $out/share/icons/hicolor/scalable/apps/friture.svg
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A real-time audio analyzer";
|
||||
homepage = "https://friture.org/";
|
||||
|
|
Loading…
Reference in a new issue