Wine --devel 1.5.28

Also removes the notice on how to enable the Mac driver since it is enabled
by default starting with this release.

Closes Homebrew/homebrew#19173.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
David Holm 2013-04-13 12:14:40 +02:00 committed by Adam Vandenberg
parent 052829f603
commit 2f7c2cbf95

View file

@ -27,8 +27,8 @@ class Wine < Formula
# updating too
# * http://wiki.winehq.org/Gecko
# * http://wiki.winehq.org/Mono
url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.5.27.tar.bz2'
sha1 '457e75660312bd572ae85a567adf7805f482491e'
url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.5.28.tar.bz2'
sha1 'bc543b215dd25efc7d76c6ffa99672c6e3d15d61'
end
env :std
@ -69,14 +69,6 @@ class Wine < Formula
EOS
end
def winemac_key; <<-EOS.undent
REGEDIT4
[HKEY_CURRENT_USER\\Software\\Wine\\Drivers]
"Graphics"="mac,x11"
"Ime"="osxime,mac,x11"
EOS
end
def install
# Build 32-bit; Wine doesn't support 64-bit host builds on OS X.
build32 = "-arch i386 -m32"
@ -127,8 +119,6 @@ class Wine < Formula
# and name our startup script wine
mv bin/'wine', bin/'wine.bin'
(bin/'wine').write(wine_wrapper)
(prefix/'winemac.key').write(winemac_key) unless build.stable?
end
def caveats
@ -151,18 +141,6 @@ class Wine < Formula
We recommend that you run winecfg, add an override for dwrite in the
Libraries tab, and edit the override mode to "disable".
EOS
s += <<-EOS.undent
Starting with wine 1.5.22 the new experimental Mac driver by CodeWeavers has
been included in the main distribution. This allows wine to run without X11
on MacOS X. To enable it execute the following command in your wine prefix:
wine regedit #{prefix/'winemac.key'}
To disable it execute:
wine regedit /D 'HKEY_CURRENT_USER\\Software\\Wine\\Drivers'
EOS
end
return s
end