You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
34 lines
1.2 KiB
cask 'wine-staging' do
|
|
version '2.18'
|
|
sha256 '817d6c25b00ebc1ba03e7f0f51a14232af32e7581cd000e4f6c5c0beaa9d5a4d'
|
|
|
|
# dl.winehq.org/wine-builds/macosx was verified as official when first introduced to the cask
|
|
url "https://dl.winehq.org/wine-builds/macosx/pool/winehq-staging-#{version}.pkg"
|
|
name 'WineHQ-staging'
|
|
homepage 'https://www.wine-staging.com/'
|
|
|
|
depends_on cask: 'xquartz'
|
|
|
|
pkg "winehq-staging-#{version}.pkg",
|
|
choices: [
|
|
{
|
|
'choiceIdentifier' => 'choice3',
|
|
'choiceAttribute' => 'selected',
|
|
'attributeSetting' => 1,
|
|
},
|
|
]
|
|
|
|
uninstall pkgutil: [
|
|
'org.winehq.wine-staging',
|
|
'org.winehq.wine-staging-deps',
|
|
'org.winehq.wine-staging-deps64',
|
|
'org.winehq.wine-staging32',
|
|
'org.winehq.wine-staging64',
|
|
],
|
|
delete: '/Applications/Wine Staging.app'
|
|
|
|
caveats <<-EOS.undent
|
|
#{token} installs support for running 64 bit applications in Wine, which is considered experimental.
|
|
If you do not want 64 bit support, you should download and install the #{token} package manually.
|
|
EOS
|
|
end
|
|
|