Updated Wine to 1.2.2.

Update Wine to 1.2.2 and added compile define flags to explicitly build with Core Audio and OpenGL support.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Bryan Ivory 2010-12-04 12:15:13 -08:00 committed by Adam Vandenberg
parent 36fcf31c96
commit 1c1f16c998
1 changed files with 8 additions and 3 deletions

View File

@ -1,8 +1,8 @@
require 'formula'
class Wine <Formula
url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.2.1.tar.bz2'
sha1 '02df427698de8a6d937e722923c8ac1cf886ca27'
url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.2.2.tar.bz2'
sha1 '8b37c8e0230dd6a665d310054f4e36dcbdab7330'
homepage 'http://www.winehq.org/'
head 'git://source.winehq.org/git/wine.git'
@ -27,7 +27,12 @@ EOS
ENV.append "CXXFLAGS", "-D_DARWIN_NO_64_BIT_INODE"
ENV.append "LDFLAGS", "#{build32} -framework CoreServices -lz -lGL -lGLU"
args = ["--prefix=#{prefix}", "--x-include=/usr/X11/include/", "--x-lib=/usr/X11/lib/"]
args = ["--prefix=#{prefix}",
"--x-include=/usr/X11/include/",
"--x-lib=/usr/X11/lib/",
"--with-x",
"--with-coreaudio",
"--with-opengl"]
args << "--without-freetype" if snow_leopard_64?
args << "--disable-win16" if MACOS_VERSION < 10.6