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.
Merge pull request Homebrew#172565 from Homebrew/migrate-u
various casks (u-z): migrate
- Loading branch information
Showing
12 changed files
with
509 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,31 @@ | ||
cask "utm@beta" do | ||
version "4.5.2" | ||
sha256 "a41466b475e7c3d06815e6820a8924e61ba50a1744165f5d10d6cbf33cd7333b" | ||
|
||
url "https://github.com/utmapp/UTM/releases/download/v#{version}/UTM.dmg", | ||
verified: "github.com/utmapp/UTM/" | ||
name "UTM" | ||
desc "Virtual machines UI using QEMU" | ||
homepage "https://mac.getutm.app/" | ||
|
||
# Use the default livecheck strategy to return the "latest" release | ||
# regardless of how it is tagged. https://github.com/Homebrew/homebrew-cask-versions/pull/18839#issuecomment-1874765632 | ||
|
||
conflicts_with cask: "utm" | ||
depends_on macos: ">= :big_sur" | ||
|
||
app "UTM.app" | ||
binary "#{appdir}/UTM.app/Contents/MacOS/utmctl" | ||
|
||
uninstall quit: "com.utmapp.UTM" | ||
|
||
zap trash: [ | ||
"~/Library/Application Scripts/com.utmapp.QEMUHelper", | ||
"~/Library/Application Scripts/com.utmapp.UTM", | ||
"~/Library/Containers/com.utmapp.QEMUHelper", | ||
"~/Library/Containers/com.utmapp.UTM", | ||
"~/Library/Group Containers/*.com.utmapp.UTM", | ||
"~/Library/Preferences/com.utmapp.UTM.plist", | ||
"~/Library/Saved Application State/com.utmapp.UTM.savedState", | ||
] | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
cask "virtualbox@6" do | ||
version "6.1.50,161033" | ||
sha256 "b70d28695730b33f0a9abbce6b3c675d9031f2983a0429eb5ea7e979df95ea80" | ||
|
||
url "https://download.virtualbox.org/virtualbox/#{version.csv.first}/VirtualBox-#{version.csv.first}-#{version.csv.second}-OSX.dmg" | ||
name "Oracle VirtualBox" | ||
desc "Virtualizer for x86 hardware" | ||
homepage "https://www.virtualbox.org/" | ||
|
||
livecheck do | ||
url "https://www.virtualbox.org/wiki/Download_Old_Builds_6_1" | ||
regex(/href=.*?VirtualBox-(\d+(?:\.\d+)+)-(\d+)-OSX.dmg/i) | ||
strategy :page_match do |page, regex| | ||
page.scan(regex).map { |match| "#{match[0]},#{match[1]}" } | ||
end | ||
end | ||
|
||
conflicts_with cask: "virtualbox-beta" | ||
depends_on macos: ">= :high_sierra" | ||
depends_on arch: :x86_64 | ||
|
||
pkg "VirtualBox.pkg", | ||
choices: [ | ||
{ | ||
"choiceIdentifier" => "choiceVBoxKEXTs", | ||
"choiceAttribute" => "selected", | ||
"attributeSetting" => 1, | ||
}, | ||
{ | ||
"choiceIdentifier" => "choiceVBox", | ||
"choiceAttribute" => "selected", | ||
"attributeSetting" => 1, | ||
}, | ||
{ | ||
"choiceIdentifier" => "choiceVBoxCLI", | ||
"choiceAttribute" => "selected", | ||
"attributeSetting" => 1, | ||
}, | ||
{ | ||
"choiceIdentifier" => "choiceOSXFuseCore", | ||
"choiceAttribute" => "selected", | ||
"attributeSetting" => 0, | ||
}, | ||
] | ||
|
||
postflight do | ||
# If VirtualBox is installed before `/usr/local/lib/pkgconfig` is created by Homebrew, it creates it itself | ||
# with incorrect permissions that break other packages | ||
# See https://github.com/Homebrew/homebrew-cask/issues/68730#issuecomment-534363026 | ||
set_ownership "/usr/local/lib/pkgconfig" | ||
end | ||
|
||
uninstall script: { | ||
executable: "VirtualBox_Uninstall.tool", | ||
args: ["--unattended"], | ||
sudo: true, | ||
}, | ||
pkgutil: "org.virtualbox.pkg.*", | ||
delete: "/usr/local/bin/vboximg-mount" | ||
|
||
zap trash: [ | ||
"/Library/Application Support/VirtualBox", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.virtualbox.app.virtualbox*", | ||
"~/Library/Preferences/org.virtualbox.app.VirtualBox*", | ||
"~/Library/Saved Application State/org.virtualbox.app.VirtualBox*", | ||
"~/Library/VirtualBox", | ||
], | ||
rmdir: "~/VirtualBox VMs" | ||
|
||
caveats do | ||
kext | ||
end | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
cask "virtualbox@beta" do | ||
arch arm: "macOSArm64", intel: "OSX" | ||
|
||
on_arm do | ||
version "7.0.17_BETA4-162969" | ||
sha256 "5e64b43f9ebc32626e2b2497af82dd7232f3aacc35a57cc5739115381726e72a" | ||
end | ||
on_intel do | ||
version "7.0.17-162969" | ||
sha256 "cec4000c9bf842eb781be279811f64ad875f678cdc1c3f41e2d66cc9e109f8f3" | ||
end | ||
|
||
url "https://www.virtualbox.org/download/testcase/VirtualBox-#{version}-#{arch}.dmg" | ||
name "Oracle VirtualBox" | ||
desc "Virtualizer for x86 and arm64 hardware" | ||
homepage "https://www.virtualbox.org/wiki/Testbuilds" | ||
|
||
livecheck do | ||
url :homepage | ||
regex(/href=.*?VirtualBox[._-]v?(\d+(?:[.-]\d+)+.*?)[._-]#{arch}\.dmg(?!.+?development)/i) | ||
end | ||
|
||
conflicts_with cask: "virtualbox" | ||
depends_on macos: ">= :catalina" | ||
|
||
pkg "VirtualBox.pkg", | ||
choices: [ | ||
{ | ||
"choiceIdentifier" => "choiceVBoxKEXTs", | ||
"choiceAttribute" => "selected", | ||
"attributeSetting" => 1, | ||
}, | ||
{ | ||
"choiceIdentifier" => "choiceVBox", | ||
"choiceAttribute" => "selected", | ||
"attributeSetting" => 1, | ||
}, | ||
{ | ||
"choiceIdentifier" => "choiceVBoxCLI", | ||
"choiceAttribute" => "selected", | ||
"attributeSetting" => 1, | ||
}, | ||
{ | ||
"choiceIdentifier" => "choiceOSXFuseCore", | ||
"choiceAttribute" => "selected", | ||
"attributeSetting" => 0, | ||
}, | ||
] | ||
|
||
postflight do | ||
# If VirtualBox is installed before `/usr/local/lib/pkgconfig` is created by Homebrew, | ||
# it creates it itself with incorrect permissions that break other packages. | ||
# See https://github.com/Homebrew/homebrew-cask/issues/68730#issuecomment-534363026 | ||
set_ownership "/usr/local/lib/pkgconfig" | ||
end | ||
|
||
uninstall script: { | ||
executable: "VirtualBox_Uninstall.tool", | ||
args: ["--unattended"], | ||
sudo: true, | ||
}, | ||
pkgutil: "org.virtualbox.pkg.*", | ||
delete: "/usr/local/bin/vboximg-mount" | ||
|
||
zap trash: [ | ||
"/Library/Application Support/VirtualBox", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.virtualbox.app.virtualbox.sfl*", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.virtualbox.app.virtualboxvm.sfl*", | ||
"~/Library/Preferences/org.virtualbox.app.VirtualBox.plist", | ||
"~/Library/Preferences/org.virtualbox.app.VirtualBoxVM.plist", | ||
"~/Library/Saved Application State/org.virtualbox.app.VirtualBox.savedState", | ||
"~/Library/Saved Application State/org.virtualbox.app.VirtualBoxVM.savedState", | ||
"~/Library/VirtualBox", | ||
], | ||
rmdir: "~/VirtualBox VMs" | ||
|
||
caveats do | ||
kext | ||
end | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
cask "virtualbuddy@beta" do | ||
version "1.3,100" | ||
sha256 "599b848a8d2dd13e1bde0785f2fd68e60ab795d98e5f1fa3d8ea70f28b3a42d9" | ||
|
||
url "https://github.com/insidegui/VirtualBuddy/releases/download/#{version.csv.first}-beta/VirtualBuddy_v#{version.csv.first}-#{version.csv.second}.dmg" | ||
name "VirtualBuddy" | ||
desc "Virtualization tool" | ||
homepage "https://github.com/insidegui/VirtualBuddy" | ||
|
||
livecheck do | ||
skip "No reliable way to get version info" | ||
end | ||
|
||
conflicts_with cask: "virtualbuddy" | ||
depends_on arch: :arm64 | ||
depends_on macos: ">= :monterey" | ||
|
||
app "VirtualBuddy.app" | ||
|
||
zap trash: [ | ||
"~/Library/Application Support/VirtualBuddy", | ||
"~/Library/HTTPStorages/codes.rambo.VirtualBuddy", | ||
"~/Library/Preferences/codes.rambo.VirtualBuddy.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
cask "visual-studio-code@insiders" do | ||
arch arm: "-arm64" | ||
|
||
version :latest | ||
sha256 :no_check | ||
|
||
url "https://code.visualstudio.com/sha/download?build=insider&os=darwin#{arch}" | ||
name "Microsoft Visual Studio Code" | ||
name "Visual Studio Code Insiders" | ||
desc "Code editor" | ||
homepage "https://code.visualstudio.com/insiders" | ||
|
||
depends_on macos: ">= :catalina" | ||
|
||
app "Visual Studio Code - Insiders.app" | ||
binary "#{appdir}/Visual Studio Code - Insiders.app/Contents/Resources/app/bin/code", target: "code-insiders" | ||
|
||
zap trash: [ | ||
"~/.vscode-insiders", | ||
"~/Library/Application Support/Code - Insiders", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.microsoft.vscodeinsiders.sfl*", | ||
"~/Library/Caches/Code - Insiders", | ||
"~/Library/Caches/com.microsoft.VSCodeInsiders", | ||
"~/Library/Caches/com.microsoft.VSCodeInsiders.ShipIt", | ||
"~/Library/HTTPStorages/com.microsoft.VSCodeInsiders", | ||
"~/Library/Preferences/ByHost/com.microsoft.VSCodeInsiders.ShipIt.*.plist", | ||
"~/Library/Preferences/com.microsoft.VSCodeInsiders.helper.plist", | ||
"~/Library/Preferences/com.microsoft.VSCodeInsiders.plist", | ||
"~/Library/Saved Application State/com.microsoft.VSCodeInsiders.savedState", | ||
] | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
cask "vivaldi@snapshot" do | ||
version "6.7.3329.19" | ||
sha256 "d4899580576236af4dc3408e8700fad0e030ca42c9e23876f4b5ee52ca235f68" | ||
|
||
url "https://downloads.vivaldi.com/snapshot-auto/Vivaldi.#{version}.universal.tar.xz" | ||
name "Vivaldi" | ||
desc "Web browser with built-in email client focusing on customization and control" | ||
homepage "https://vivaldi.com/" | ||
|
||
livecheck do | ||
url "https://update.vivaldi.com/update/1.0/snapshot/mac/appcast.xml" | ||
strategy :sparkle | ||
end | ||
|
||
auto_updates true | ||
depends_on macos: ">= :catalina" | ||
|
||
app "Vivaldi Snapshot.app" | ||
|
||
uninstall quit: "com.vivaldi.Vivaldi.snapshot" | ||
|
||
zap trash: [ | ||
"~/Library/Application Support/Vivaldi Snapshot", | ||
"~/Library/Caches/com.vivaldi.Vivaldi.snapshot", | ||
"~/Library/Caches/Vivaldi Snapshot", | ||
"~/Library/HTTPStorages/com.vivaldi.Vivaldi.snapshot", | ||
"~/Library/Preferences/com.vivaldi.Vivaldi.snapshot.plist", | ||
"~/Library/Saved Application State/com.vivaldi.Vivaldi.snapshot.savedState", | ||
] | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
cask "vmware-fusion-tech@preview" do | ||
version "22068932" | ||
sha256 "0be8da472b15477168fb97ad27902b09313c03ca45330e438ae8cf91609d3234" | ||
|
||
on_intel do | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vkd/bin/vctl" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmrest" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/VMware OVF Tool/ovftool" | ||
end | ||
on_catalina do | ||
caveats do | ||
kext | ||
end | ||
end | ||
|
||
url "https://download3.vmware.com/software/FUS-TP2023/VMware-Fusion-e.x.p-#{version}_universal.dmg" | ||
name "VMware Fusion Tech Preview" | ||
desc "Create, manage, and run virtual machines" | ||
homepage "https://blogs.vmware.com/teamfusion/tech-preview" | ||
|
||
livecheck do | ||
url "https://customerconnect.vmware.com/channel/public/api/v1.0/dlg/beta/header?locale=en_US&downloadGroup=FUS-TP2023" | ||
strategy :json do |json| | ||
json["buildNumber"] | ||
end | ||
end | ||
|
||
auto_updates true | ||
conflicts_with cask: %w[ | ||
vmware-fusion | ||
vmware-fusion7 | ||
vmware-fusion8 | ||
vmware-fusion10 | ||
vmware-fusion11 | ||
vmware-fusion12 | ||
] | ||
depends_on macos: ">= :big_sur" | ||
|
||
app "VMware Fusion Tech Preview.app" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-bridge" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-cfgcli" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-cli" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-dhcpd" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-natd" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-netifup" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmnet-sniffer" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmrun" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmss2core" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-aewp" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-authd" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-cloneBootCamp" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-id" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-ntfs" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-rawdiskAuthTool" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-rawdiskCreator" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-remotemks" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-usbarbitrator" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-vdiskmanager" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-vmdkserver" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-vmx" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-vmx-debug" | ||
binary "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/vmware-vmx-stats" | ||
|
||
postflight do | ||
system_command "#{appdir}/VMware Fusion Tech Preview.app/Contents/Library/Initialize VMware Fusion.tool", | ||
args: ["set"], | ||
sudo: true | ||
end | ||
|
||
uninstall_preflight do | ||
set_ownership "#{appdir}/VMware Fusion Tech Preview.app" | ||
end | ||
|
||
uninstall delete: [ | ||
"/etc/paths.d/com.vmware.fusion.public", | ||
"/Library/Application Support/VMware", | ||
"/Library/Logs/VMware Fusion Services.log", | ||
"/Library/Logs/VMware USB Arbitrator Service.log", | ||
"/Library/Logs/VMware", | ||
"/Library/Preferences/VMware Fusion", | ||
] | ||
|
||
zap trash: [ | ||
"~/.nautilus", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.vmware.fusion.sfl*", | ||
"~/Library/Application Support/VMware Fusion Applications Menu", | ||
"~/Library/Application Support/VMware Fusion", | ||
"~/Library/Caches/com.vmware.fusion", | ||
"~/Library/Logs/VMware Fusion Applications Menu", | ||
"~/Library/Logs/VMware Fusion", | ||
"~/Library/Logs/VMware Graphics Service.log", | ||
"~/Library/Logs/VMware", | ||
"~/Library/Preferences/com.vmware.fusion.LSSharedFileList.plist", | ||
"~/Library/Preferences/com.vmware.fusion.LSSharedFileList.plist.lockfile", | ||
"~/Library/Preferences/com.vmware.fusion.plist", | ||
"~/Library/Preferences/com.vmware.fusion.plist.lockfile", | ||
"~/Library/Preferences/com.vmware.fusionApplicationsMenu.helper.plist", | ||
"~/Library/Preferences/com.vmware.fusionApplicationsMenu.plist", | ||
"~/Library/Preferences/com.vmware.fusionDaemon.plist", | ||
"~/Library/Preferences/com.vmware.fusionDaemon.plist.lockfile", | ||
"~/Library/Preferences/com.vmware.fusionStartMenu.plist", | ||
"~/Library/Preferences/com.vmware.fusionStartMenu.plist.lockfile", | ||
"~/Library/Preferences/VMware Fusion", | ||
"~/Library/Saved Application State/com.vmware.fusion.savedState", | ||
"~/Library/WebKit/com.vmware.fusion", | ||
] | ||
end |
Oops, something went wrong.