Skip to content

Commit

Permalink
wine: style nits
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#48101.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
DomT4 committed Jan 15, 2016
1 parent 7ac8758 commit 4b66843
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Formula/wine.rb
Expand Up @@ -5,6 +5,7 @@
class Wine < Formula
desc "Wine Is Not an Emulator"
homepage "https://www.winehq.org/"
head "git://source.winehq.org/git/wine.git"

stable do
url "https://dl.winehq.org/wine/source/1.8/wine-1.8.tar.bz2"
Expand All @@ -23,10 +24,6 @@ class Wine < Formula
sha256 "0b3265fb9ae82ddf1b3629bac61bd2340b7b4cfa7210f696c679e8e4a5b80bb6"
end

head do
url "git://source.winehq.org/git/wine.git"
end

# note that all wine dependencies should declare a --universal option in their formula,
# otherwise homebrew will not notice that they are not built universal
def require_universal_deps?
Expand All @@ -44,9 +41,9 @@ def require_universal_deps?
depends_on "libicns"
depends_on "libtiff"
depends_on "sane-backends"
depends_on "gnutls"
depends_on "libgsm" => :optional
depends_on "samba" => :optional
depends_on "gnutls"

# Patch to fix screen-flickering issues. Still relevant on 1.8.
# https://bugs.winehq.org/show_bug.cgi?id=34166
Expand Down Expand Up @@ -146,8 +143,8 @@ def install
end

system "make", "install"
(share/"wine/gecko").install resource("gecko")
(share/"wine/mono").install resource("mono")
(pkgshare/"gecko").install resource("gecko")
(pkgshare/"mono").install resource("mono")

# Use a wrapper script, so rename wine to wine.bin
# and name our startup script wine
Expand Down

0 comments on commit 4b66843

Please sign in to comment.