From ac41d2eeb532cc128377c48dcfffa134c1b96668 Mon Sep 17 00:00:00 2001 From: David Holm Date: Sun, 2 Dec 2012 21:58:03 +0100 Subject: [PATCH] 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 --- Formula/wine.rb | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/Formula/wine.rb b/Formula/wine.rb index 27ede27948e..10ceba9fabd 100644 --- a/Formula/wine.rb +++ b/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