Wine updated from 1.5.16 to 1.5.18

It also includes support for Wine-Mono when installing devel packages. This
enables Wine to install Mono support in the WINEPREFIX if needed.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
David Holm 2012-12-02 21:58:03 +01:00 committed by Adam Vandenberg
parent a542fb92d4
commit ac41d2eeb5

View file

@ -10,6 +10,13 @@ class WineGecko < Formula
end end
end end
class WineMono < Formula
devel do
url 'http://downloads.sourceforge.net/wine/wine-mono-0.0.8.msi', :using => :nounzip
sha1 'dd349e72249ce5ff981be0e9dae33ac4a46a9f60'
end
end
class Wine < Formula class Wine < Formula
homepage 'http://winehq.org/' homepage 'http://winehq.org/'
url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.4.1.tar.bz2' url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.4.1.tar.bz2'
@ -18,10 +25,12 @@ class Wine < Formula
head 'git://source.winehq.org/git/wine.git' head 'git://source.winehq.org/git/wine.git'
devel do devel do
# NOTE: when updating Wine, please check if Wine-Gecko needs updating too # NOTE: when updating Wine, please check if Wine-Gecko and Wine-Mono needs
# see http://wiki.winehq.org/Gecko # updating too
url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.5.16.tar.bz2' # * http://wiki.winehq.org/Gecko
sha256 '2f4df6ade18d636c892bee0feb6fd075eb3ad299e61d250ea359659d6411e723' # * http://wiki.winehq.org/Mono
url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.5.18.tar.bz2'
sha256 'a144900cc20e55623c8c9ab26e265eb2e76d88c9e21bd21a3bcfa030fdb3fbdf'
end end
env :std env :std
@ -88,9 +97,11 @@ class Wine < Formula
# Don't need Gnome desktop support # Don't need Gnome desktop support
rm_rf share+'applications' rm_rf share+'applications'
# Download Gecko once so we don't need to redownload for each prefix # Download Gecko and Mono once so we don't need to redownload for each prefix
gecko = WineGecko.new gecko = WineGecko.new
gecko.brew { (share+'wine/gecko').install Dir["*"] } gecko.brew { (share+'wine/gecko').install Dir["*"] }
mono = WineMono.new
mono.brew { (share+'wine/mono').install Dir["*"] }
# Use a wrapper script, so rename wine to wine.bin # Use a wrapper script, so rename wine to wine.bin
# and name our startup script wine # and name our startup script wine