forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openshot-video-editor@daily: migrate
- Loading branch information
1 parent
c20fdff
commit 4279722
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
cask "openshot-video-editor@daily" do | ||
version "3.1.1,11893-a9e34a9b-8e9d7edc" | ||
sha256 "88fb1efb813f5b6295efae969403351bd63c553abdcb1e2eaf0277b0e47df88d" | ||
|
||
url "https://github.com/OpenShot/openshot-qt/releases/download/daily/OpenShot-v#{version.csv.first}-daily-#{version.csv.second}-x86_64.dmg", | ||
verified: "github.com/OpenShot/openshot-qt/" | ||
name "OpenShot Video Editor (Daily Build)" | ||
desc "Cross-platform video editor" | ||
homepage "https://openshot.org/" | ||
|
||
livecheck do | ||
url "https://www.openshot.org/download/" | ||
regex(/OpenShot[._-]v?(\d+(?:\.\d+)+)[._-]daily[._-](.*)[._-]x86[._-]64\.dmg"/i) | ||
strategy :page_match do |page, regex| | ||
page.scan(regex).map { |match| "#{match[0]},#{match[1]}" } | ||
end | ||
end | ||
|
||
conflicts_with cask: "openshot-video-editor" | ||
depends_on macos: ">= :catalina" | ||
|
||
app "OpenShot Video Editor.app" | ||
|
||
zap trash: [ | ||
"~/.openshot_qt", | ||
"~/Library/Application Support/openshot", | ||
"~/Library/Preferences/openshot-qt.plist", | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters