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.
33 lines
1.1 KiB
33 lines
1.1 KiB
cask 'wine-devel' do
|
|
version '2.18'
|
|
sha256 'babe4934db5fa9aba416f392160da3034c1254ce9b010f29f7c9132b1476ceb1'
|
|
|
|
url "https://dl.winehq.org/wine-builds/macosx/pool/winehq-devel-#{version}.pkg"
|
|
name 'WineHQ-devel'
|
|
homepage 'https://wiki.winehq.org/MacOS'
|
|
|
|
depends_on cask: 'xquartz'
|
|
|
|
pkg "winehq-devel-#{version}.pkg",
|
|
choices: [
|
|
{
|
|
'choiceIdentifier' => 'choice3',
|
|
'choiceAttribute' => 'selected',
|
|
'attributeSetting' => 1,
|
|
},
|
|
]
|
|
|
|
uninstall pkgutil: [
|
|
'org.winehq.wine-devel',
|
|
'org.winehq.wine-devel-deps',
|
|
'org.winehq.wine-devel-deps64',
|
|
'org.winehq.wine-devel32',
|
|
'org.winehq.wine-devel64',
|
|
],
|
|
delete: '/Applications/Wine Devel.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
|
|
|