Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
70874ce6
Commit
70874ce6
authored
Jun 15, 2017
by
Damian Montero
Committed by
GitHub
Jun 15, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #734 from uberhacker/update-wine-package
Update wine package from 2.8 to 2.10
parents
7f540d01
055b3c84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
packages/wine.rb
packages/wine.rb
+15
-7
No files found.
packages/wine.rb
View file @
70874ce6
...
...
@@ -3,28 +3,36 @@ require 'json'
require
'fileutils'
class
Wine
<
Package
version
'2.8'
source_url
'https://dl.winehq.org/wine/source/2.x/wine-2.8.tar.xz'
source_sha1
'a36d2afb572a3cfb160066373cb78ea0506b9dfd'
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/'
version
'2.10'
source_url
'https://dl.winehq.org/wine/source/2.x/wine-2.10.tar.xz'
source_sha1
'886bc24c315b2accbc2ad41d921e92177768f3a5'
depends_on
'bison'
depends_on
'flex'
depends_on
'freetype'
def
self
.
build
device
=
JSON
.
parse
(
File
.
read
(
'/usr/local/etc/crew/device.json'
),
symbolize_names:
true
)
case
device
[
:architecture
]
case
ARCH
when
"i686"
||
"armv7l"
system
"./configure --without-x"
when
"x86_64"
||
"aarch64"
system
"./configure --without-x
--enable-win64"
system
"./configure --without-x --enable-win64"
else
puts
"Error getting your device configuration."
abort
"Error getting your device configuration."
end
system
"make"
end
def
self
.
install
case
ARCH
when
"x86_64"
||
"aarch64"
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/bin"
FileUtils
.
cd
(
"
#{
CREW_DEST_DIR
}
/usr/local/bin"
)
do
system
"ln -s wine64 wine"
end
end
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment