Add wine-devel 2.1 (#30079)

This commit is contained in:
Viktor Szakats 2017-02-15 01:00:11 +01:00 committed by Vítor Galvão
parent 5a4e8ee965
commit 9d8895fc3d
1 changed files with 33 additions and 0 deletions

33
Casks/wine-devel.rb Normal file
View File

@ -0,0 +1,33 @@
cask 'wine-devel' do
version '2.1'
sha256 '2a84e1d3aeaabf82ebab71f9a546909ce9b40bb4cffae062dc96545150bf930a'
url "https://dl.winehq.org/wine-builds/macosx/i686/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