Merge pull request #198799 from Homebrew/bump-huly-0.6.411
[Homebrew/homebrew-cask.git] / Casks / n / natron.rb
blob62f5be8aa944a3e625c1bb4e3b08b29879a60506
1 cask "natron" do
2   version "2.5.0"
4   on_mojave :or_older do
5     sha256 "4bf8ce890fe51446c01fc8480e8159cd559cfaac2445eae1699ae1718121fa7a"
7     url "https://github.com/NatronGitHub/Natron/releases/download/v#{version}/Natron-#{version}-OSX109-x86_64.dmg",
8         verified: "github.com/NatronGitHub/Natron/"
9   end
10   on_catalina do
11     sha256 "1c97a1f373c3adcdbb933f20b02d0ebd4d7737d44e5344a372bd7b9e5211860e"
13     url "https://github.com/NatronGitHub/Natron/releases/download/v#{version}/Natron-#{version}-macOS1015-x86_64.dmg",
14         verified: "github.com/NatronGitHub/Natron/"
15   end
16   on_big_sur :or_newer do
17     sha256 "aa31fb6963344c281b53ca6e93823885e09f7d115ed5cc311abb833de4647537"
19     url "https://github.com/NatronGitHub/Natron/releases/download/v#{version}/Natron-#{version}-macOS12-x86_64.dmg",
20         verified: "github.com/NatronGitHub/Natron/"
21   end
23   name "Natron"
24   desc "Open-source node-graph based video compositing software"
25   homepage "https://NatronGitHub.github.io/"
27   livecheck do
28     url :url
29     strategy :github_latest
30   end
32   app "Natron.app"
34   zap trash: [
35     "~/.Natron",
36     "~/Library/Application Support/INRIA/Natron",
37     "~/Library/Caches/INRIA/Natron",
38     "~/Library/Preferences/com.inria.Natron.plist",
39   ]
41   caveats do
42     requires_rosetta
43   end
44 end