Commit 84184e8b authored by Jan Baudisch's avatar Jan Baudisch Committed by GitHub

Update wine

aarch64 uses 32-bit install method
parent 1c4c6d79
...@@ -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