aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/wine.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index 6f8cc448b..3e23df7b0 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -1,19 +1,22 @@
require 'formula'
class Wine < Formula
+ homepage 'http://www.winehq.org/'
+
if ARGV.flag? '--devel'
- url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.3.15.tar.bz2'
- sha1 'c0b6137671fc2413ad72c3aa9eb3046a871f7889'
+ url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.3.16.tar.bz2'
+ sha1 '66c39e2a465a99cbe70fa7bfd5f370bcd9dc5f3c'
else
url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.2.2.tar.bz2'
sha1 '8b37c8e0230dd6a665d310054f4e36dcbdab7330'
end
- homepage 'http://www.winehq.org/'
+
head 'git://source.winehq.org/git/wine.git'
depends_on 'jpeg'
depends_on 'libicns'
depends_on 'gnutls'
+
# the following libraries are currently not specified as dependencies, or not built as 32-bit:
# configure: libsane, libv4l, libgphoto2, liblcms, gstreamer-0.10, libcapi20, libgsm, libtiff
@@ -21,6 +24,7 @@ class Wine < Formula
# to be searched by dyld.
# Including /usr/lib because wine, as of 1.3.15, tries to dlopen
# libncurses.5.4.dylib, and fails to find it without the fallback path.
+
def wine_wrapper; <<-EOS
#!/bin/sh
DYLD_FALLBACK_LIBRARY_PATH="/usr/X11/lib:#{HOMEBREW_PREFIX}/lib:/usr/lib" "#{bin}/wine.bin" "$@"