Commit 5a6ab67d authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #832 from flyingP0tat0/patch-1

Update wine
parents 53da19cb b66deec9
...@@ -7,7 +7,7 @@ class Wine < Package ...@@ -7,7 +7,7 @@ class Wine < Package
homepage 'https://www.winehq.org/' homepage 'https://www.winehq.org/'
version '2.10' version '2.10'
source_url 'https://dl.winehq.org/wine/source/2.x/wine-2.10.tar.xz' source_url 'https://dl.winehq.org/wine/source/2.x/wine-2.10.tar.xz'
source_sha1 '886bc24c315b2accbc2ad41d921e92177768f3a5' source_sha256 '488df7ffd2e81da455bf428fc9eb784bb4273a890334500895665711bd52f179'
depends_on 'bison' depends_on 'bison'
depends_on 'flex' depends_on 'flex'
...@@ -15,9 +15,9 @@ class Wine < Package ...@@ -15,9 +15,9 @@ class Wine < Package
def self.build def self.build
case ARCH case ARCH
when "i686" || "armv7l" when "i686" || "armv7l" || "aarch64"
system "./configure --without-x" system "./configure --without-x"
when "x86_64" || "aarch64" when "x86_64"
system "./configure --without-x --enable-win64" system "./configure --without-x --enable-win64"
else else
abort "Error getting your device configuration." abort "Error getting your device configuration."
...@@ -27,7 +27,7 @@ class Wine < Package ...@@ -27,7 +27,7 @@ class Wine < Package
def self.install def self.install
case ARCH case ARCH
when "x86_64" || "aarch64" when "x86_64"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin" system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
FileUtils.cd("#{CREW_DEST_DIR}/usr/local/bin") do FileUtils.cd("#{CREW_DEST_DIR}/usr/local/bin") do
system "ln -s wine64 wine" system "ln -s wine64 wine"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment