Commit e43dac54 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #1063 from jam7/update/wine

Change wine.rb to make it work for armv7l
parents ff6697d7 d04854b0
require 'package' require 'package'
require 'json'
require 'fileutils' require 'fileutils'
class Wine < Package class Wine < Package
description 'Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD.' description 'Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD.'
homepage 'https://www.winehq.org/' homepage 'https://www.winehq.org/'
version '2.10' version '2.10-1'
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_sha256 '488df7ffd2e81da455bf428fc9eb784bb4273a890334500895665711bd52f179' source_sha256 '488df7ffd2e81da455bf428fc9eb784bb4273a890334500895665711bd52f179'
...@@ -15,7 +14,7 @@ class Wine < Package ...@@ -15,7 +14,7 @@ class Wine < Package
def self.build def self.build
case ARCH case ARCH
when "i686" || "armv7l" || "aarch64" when "i686", "armv7l", "aarch64"
system "./configure --without-x" system "./configure --without-x"
when "x86_64" when "x86_64"
system "./configure --without-x --enable-win64" system "./configure --without-x --enable-win64"
......
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