aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/wine.rb
diff options
context:
space:
mode:
authorDavid Holm2012-12-02 21:58:03 +0100
committerAdam Vandenberg2012-12-14 12:53:09 -0800
commit03166cbfac9625b3708cf104ca18e5d487c6bf33 (patch)
treecf6a82cefd686c6992bc2da02e412e9d124b765a /Library/Formula/wine.rb
parent4694e958078aa4c2bc61814859acabb23877d426 (diff)
downloadhomebrew-03166cbfac9625b3708cf104ca18e5d487c6bf33.tar.bz2
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>
Diffstat (limited to 'Library/Formula/wine.rb')
-rw-r--r--Library/Formula/wine.rb21
1 files changed, 16 insertions, 5 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index 27ede2794..10ceba9fa 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -10,6 +10,13 @@ class WineGecko < Formula
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
homepage 'http://winehq.org/'
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'
devel do
- # NOTE: when updating Wine, please check if Wine-Gecko needs updating too
- # see http://wiki.winehq.org/Gecko
- url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.5.16.tar.bz2'
- sha256 '2f4df6ade18d636c892bee0feb6fd075eb3ad299e61d250ea359659d6411e723'
+ # NOTE: when updating Wine, please check if Wine-Gecko and Wine-Mono needs
+ # updating too
+ # * http://wiki.winehq.org/Gecko
+ # * http://wiki.winehq.org/Mono
+ url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.5.18.tar.bz2'
+ sha256 'a144900cc20e55623c8c9ab26e265eb2e76d88c9e21bd21a3bcfa030fdb3fbdf'
end
env :std
@@ -88,9 +97,11 @@ class Wine < Formula
# Don't need Gnome desktop support
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.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
# and name our startup script wine