diff options
| author | Jack Nagel | 2014-08-18 01:22:22 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-18 01:43:59 -0500 |
| commit | 5a5431e8e82b27a7631ce8cb0a5aa85385d82f90 (patch) | |
| tree | 4f5b9e19f7de27cf3ba73392434f8b1c19c3c230 /Library | |
| parent | 32acc6bfd1d9020d562fe1b036fd27c91944baca (diff) | |
| download | homebrew-5a5431e8e82b27a7631ce8cb0a5aa85385d82f90.tar.bz2 | |
wine: use spec deps
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/wine.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb index c21cd3967..873e5a3f5 100644 --- a/Library/Formula/wine.rb +++ b/Library/Formula/wine.rb @@ -27,6 +27,8 @@ class Wine < Formula url "https://downloads.sourceforge.net/project/wine/Source/wine-1.7.24.tar.bz2" sha256 "5e9a9f250b6eb703cdc13c6dcfe025958dadddfdd3f8e683f46c2d642b5ec749" + depends_on "samba" => :optional + # Patch to fix screen-flickering issues. Still relevant on 1.7.23. # https://bugs.winehq.org/show_bug.cgi?id=34166 patch do @@ -35,7 +37,10 @@ class Wine < Formula end end - head "git://source.winehq.org/git/wine.git" + head do + url "git://source.winehq.org/git/wine.git" + depends_on "samba" => :optional + end env :std @@ -55,7 +60,6 @@ class Wine < Formula depends_on 'little-cms2' depends_on 'libicns' depends_on 'libtiff' - depends_on "samba" => :optional if !build.stable? depends_on 'sane-backends' depends_on 'libgsm' => :optional |
