cask "retroarch-metal" do version "1.21.0" sha256 :no_check # required as upstream package is often updated in place url "https://buildbot.libretro.com/stable/#{version}/apple/osx/universal/RetroArch_Metal.dmg", verified: "buildbot.libretro.com/stable/" name "RetroArch" desc "Frontend for emulators, game engines and media players (Metal graphics API)" homepage "https://www.retroarch.com/" livecheck do cask "retroarch" end no_autobump! because: :requires_manual_review conflicts_with cask: "retroarch" depends_on macos: ">= :high_sierra" app "RetroArch.app" zap trash: [ "~/Documents/RetroArch/", "~/Library/Application Support/RetroArch", "~/Library/Saved Application State/com.libretro.RetroArch.savedState", ] end