excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / v / vmpk.rb
blobffc373c7777eab42f4546e7824b6179fe369d8b6
1 cask "vmpk" do
2   version "0.9.0"
3   sha256 "b2ce743f8f986575865dcc994cab89f43bff8da6d4e43d1380f846b2807b1bd6"
5   url "https://downloads.sourceforge.net/vmpk/#{version.major_minor_patch}/vmpk-#{version}-mac-x64.dmg",
6       verified: "downloads.sourceforge.net/vmpk/"
7   name "VMPK"
8   desc "Virtual MIDI Piano Keyboard"
9   homepage "https://vmpk.sourceforge.io/"
11   livecheck do
12     url "https://sourceforge.net/projects/vmpk/rss?path=/vmpk"
13     regex(/url=.*?vmpk[._-]?v?(\d+(?:\.\d+)+)-mac-x64\.dmg/i)
14   end
16   depends_on formula: "fluid-synth"
17   depends_on macos: ">= :sierra"
19   app "vmpk.app"
21   zap trash: [
22     "~/Library/Preferences/net.sourceforge.vmpk.VMPK.plist",
23     "~/Library/Saved Application State/net.sourceforge.vmpk.savedState",
24   ]
26   caveats do
27     requires_rosetta
28   end
29 end