diff options
author | Kira Bruneau <kira.bruneau@gmail.com> | 2021-01-16 14:41:53 -0500 |
---|---|---|
committer | Kira Bruneau <kira.bruneau@pm.me> | 2022-08-04 18:04:17 -0400 |
commit | dc0a907d87a457ab06a69463d3c0afd045b74a3c (patch) | |
tree | cb968a9258ba7cfac296a6bd4e4a5e8e1678d5e4 /pkgs/applications/audio/zynaddsubfx | |
parent | 5f9b871b72b24f066b1a1e189efd0669f2888c49 (diff) | |
download | nixpkgs-dc0a907d87a457ab06a69463d3c0afd045b74a3c.tar nixpkgs-dc0a907d87a457ab06a69463d3c0afd045b74a3c.tar.gz nixpkgs-dc0a907d87a457ab06a69463d3c0afd045b74a3c.tar.bz2 nixpkgs-dc0a907d87a457ab06a69463d3c0afd045b74a3c.tar.lz nixpkgs-dc0a907d87a457ab06a69463d3c0afd045b74a3c.tar.xz nixpkgs-dc0a907d87a457ab06a69463d3c0afd045b74a3c.tar.zst nixpkgs-dc0a907d87a457ab06a69463d3c0afd045b74a3c.zip |
zynaddsubfx: use Zyn-Fusion logo for zest build
Derived from https://raw.githubusercontent.com/mruby-zest/mruby-zest/ea4894620bf80ae59593b5d404b950d436a91e6c/example/ZynLogo.qml
Diffstat (limited to 'pkgs/applications/audio/zynaddsubfx')
-rw-r--r-- | pkgs/applications/audio/zynaddsubfx/ZynLogo.svg | 6 | ||||
-rw-r--r-- | pkgs/applications/audio/zynaddsubfx/default.nix | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/applications/audio/zynaddsubfx/ZynLogo.svg b/pkgs/applications/audio/zynaddsubfx/ZynLogo.svg new file mode 100644 index 00000000000..8a1bc56d087 --- /dev/null +++ b/pkgs/applications/audio/zynaddsubfx/ZynLogo.svg @@ -0,0 +1,6 @@ +<svg viewBox="64 60 33 33" xmlns="http://www.w3.org/2000/svg"> + <polygon points="97 64 64 61 67.3 63.3 64 63 87 79 97 66 95.6 65.9" fill="#2E3239"/> + <polygon points="97 90 74 74 64 87 65.4 87.1 64 89 97 92 93.7 89.7" fill="#2E3239"/> + <polygon points="64 62 97 65 87 78" fill="#50C3C7"/> + <polygon points="97 91 64 88 74 75" fill="#57C1A6"/> +</svg> diff --git a/pkgs/applications/audio/zynaddsubfx/default.nix b/pkgs/applications/audio/zynaddsubfx/default.nix index e738a0fbcbe..9b09040fc8c 100644 --- a/pkgs/applications/audio/zynaddsubfx/default.nix +++ b/pkgs/applications/audio/zynaddsubfx/default.nix @@ -102,6 +102,14 @@ in stdenv.mkDerivation rec { runHook postCheck ''; + # Use Zyn-Fusion logo for zest build + # Manually derived from https://github.com/mruby-zest/mruby-zest-build/blob/3.0.6/src/mruby-zest/example/ZynLogo.qml#L65-L97 + postInstall = lib.optionalString (guiModule == "zest") '' + rm -r "$out/share/pixmaps" + mkdir -p "$out/share/icons/hicolor/scalable/apps" + cp ${./ZynLogo.svg} "$out/share/icons/hicolor/scalable/apps/zynaddsubfx.svg" + ''; + # When building with zest GUI, patch plugins # and standalone executable to properly locate zest postFixup = lib.optionalString (guiModule == "zest") '' |