Merge pull request #198803 from Homebrew/bump-wizcli-0.69.0
[Homebrew/homebrew-cask.git] / Casks / r / retroarch.rb
blob5a6f690fb065b70eace12be579030a546091ac00
1 cask "retroarch" do
2   version "1.20.0"
3   sha256 :no_check # required as upstream package is often updated in place
5   url "https://buildbot.libretro.com/stable/#{version}/apple/osx/x86_64/RetroArch.dmg",
6       verified: "buildbot.libretro.com/stable/"
7   name "RetroArch"
8   desc "Frontend for emulators, game engines and media players (OpenGL graphics API)"
9   homepage "https://www.retroarch.com/"
11   livecheck do
12     url "https://buildbot.libretro.com/stable/"
13     regex(%r{href=["']?/stable/v?(\d+(?:\.\d+)+)/?["' >]}i)
14   end
16   conflicts_with cask: "retroarch-metal"
17   depends_on macos: ">= :high_sierra"
19   app "RetroArch.app"
21   zap trash: [
22     "~/Documents/RetroArch/",
23     "~/Library/Application Support/RetroArch",
24     "~/Library/Saved Application State/com.libretro.RetroArch.savedState",
25   ]
27   caveats do
28     requires_rosetta
29   end
30 end