homebrew-cask/Casks/retroarch.rb

25 lines
689 B
Ruby

cask "retroarch" do
version "1.15.0"
sha256 "b171b3fe6284671a8b9b04cdad82cae6e14eee84faa63be160f754f175fe179c"
url "https://buildbot.libretro.com/stable/#{version}/apple/osx/x86_64/RetroArch.dmg"
name "RetroArch"
desc "Emulator frontend (OpenGL graphics API version)"
homepage "https://www.libretro.com/"
livecheck do
url "https://buildbot.libretro.com/stable/"
regex(%r{href=["']?/stable/v?(\d+(?:\.\d+)+)/?["' >]}i)
end
conflicts_with cask: "retroarch-metal"
app "RetroArch.app"
zap trash: [
"~/Documents/RetroArch/",
"~/Library/Application Support/RetroArch",
"~/Library/Saved Application State/com.libretro.RetroArch.savedState",
]
end