wine 2.2 (devel)

Closes #10386.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Norman Hansen 2017-03-11 18:46:40 -08:00 committed by FX Coudert
parent 4806bc7115
commit 9d630207c3

View file

@ -11,32 +11,6 @@ class Wine < Formula
url "https://dl.winehq.org/wine/source/2.0/wine-2.0.tar.bz2" url "https://dl.winehq.org/wine/source/2.0/wine-2.0.tar.bz2"
mirror "https://downloads.sourceforge.net/project/wine/Source/wine-2.0.tar.bz2" mirror "https://downloads.sourceforge.net/project/wine/Source/wine-2.0.tar.bz2"
sha256 "9756f5a2129b6a83ba701e546173cbff86caa671b0af73eb8f72c03b20c066c6" sha256 "9756f5a2129b6a83ba701e546173cbff86caa671b0af73eb8f72c03b20c066c6"
end
bottle do
rebuild 1
sha256 "a88a5a5a77040bdc38d584fae1a23566b11d1b76e0b740dc76ffdc95a3251e83" => :sierra
sha256 "41f4842e57f7ad9503f49b5cd7150ebd8ba2ed705be3ef0f19e435e2c3ec204a" => :el_capitan
sha256 "76b2a1a0266b236cfcc5b36f4c323ee0f76d30908701f1f449472831c83fee5a" => :yosemite
end
devel do
url "https://dl.winehq.org/wine/source/2.x/wine-2.1.tar.xz"
mirror "https://downloads.sourceforge.net/project/wine/Source/wine-2.1.tar.xz"
sha256 "bfb9abf63691c93df28d9599aaa866dc2b4e27209b3b7b546df8a37d7d9d1e6e"
end
if MacOS.version >= :el_capitan
option "without-win64", "Build without 64-bit support"
depends_on :xcode => ["8.0", :build] if build.with? "win64"
end
# Wine will build both the Mac and the X11 driver by default, and you can switch
# between them. But if you really want to build without X11, you can.
depends_on :x11 => :recommended
depends_on "pkg-config" => :build
depends_on "cmake" => :build
depends_on "makedepend" => :build
# Patch to fix texture compression issues. Still relevant on 2.0. # Patch to fix texture compression issues. Still relevant on 2.0.
# https://bugs.winehq.org/show_bug.cgi?id=14939 # https://bugs.winehq.org/show_bug.cgi?id=14939
@ -51,6 +25,39 @@ class Wine < Formula
url "https://bugs.winehq.org/attachment.cgi?id=55968" url "https://bugs.winehq.org/attachment.cgi?id=55968"
sha256 "1b5086798ce6dc959b3cbb8f343ee236ae06c7910e4bbae7d9fde3f162f03a79" sha256 "1b5086798ce6dc959b3cbb8f343ee236ae06c7910e4bbae7d9fde3f162f03a79"
end end
end
bottle do
rebuild 1
sha256 "a88a5a5a77040bdc38d584fae1a23566b11d1b76e0b740dc76ffdc95a3251e83" => :sierra
sha256 "41f4842e57f7ad9503f49b5cd7150ebd8ba2ed705be3ef0f19e435e2c3ec204a" => :el_capitan
sha256 "76b2a1a0266b236cfcc5b36f4c323ee0f76d30908701f1f449472831c83fee5a" => :yosemite
end
devel do
url "https://dl.winehq.org/wine/source/2.x/wine-2.2.tar.xz"
mirror "https://downloads.sourceforge.net/project/wine/Source/wine-2.2.tar.xz"
sha256 "64cb57e1d8aa07f5c89ef26743b494f2d3ef9c0f4e50d3ee896a93535f7751f4"
# Patch to fix screen-flickering issues. Still relevant on 2.3.
# https://bugs.winehq.org/show_bug.cgi?id=34166
patch do
url "https://bugs.winehq.org/attachment.cgi?id=57353"
sha256 "55436526e786c3cac35c7b522f01ca5cc5b826bd0d2bd9e98f53e6a5043a151e"
end
end
if MacOS.version >= :el_capitan
option "without-win64", "Build without 64-bit support"
depends_on :xcode => ["8.0", :build] if build.with? "win64"
end
# Wine will build both the Mac and the X11 driver by default, and you can switch
# between them. But if you really want to build without X11, you can.
depends_on :x11 => :recommended
depends_on "pkg-config" => :build
depends_on "cmake" => :build
depends_on "makedepend" => :build
resource "gecko-x86" do resource "gecko-x86" do
url "https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi", :using => :nounzip url "https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi", :using => :nounzip