cask "kdenlive" do arch arm: "arm64", intel: "x86_64" version "24.08.3" sha256 arm: "b39576cebcc6cc8000750285d8a15c65f630e0eee8e262a5c2f0c8d5bc16146c", intel: "cccfe778360b8ce27a6dda701effb52f6124d5f1677bd25174a214f5d5cdec86" url "https://cdn.download.kde.org/stable/kdenlive/#{version.major_minor}/macOS/kdenlive-#{version}-#{arch}.dmg", verified: "cdn.download.kde.org/stable/kdenlive/" name "Kdenlive" desc "Free and Open Source Video Editor" homepage "https://kdenlive.org/" livecheck do url "https://kdenlive.org/en/download/" regex(/href=.*?kdenlive[._-]v?(\d+(?:[.-]\d+)+)-#{arch}.dmg/i) end depends_on macos: ">= :big_sur" app "kdenlive.app" zap trash: [ "~/Library/Application Support/kdenlive", "~/Library/Caches/kdenlive", "~/Library/Preferences/kdenlive-layoutsrc", "~/Library/Preferences/kdenliverc", "~/Library/Preferences/org.kde.Kdenlive.plist", ] end