-
Notifications
You must be signed in to change notification settings - Fork 2
/
wine.yml
192 lines (181 loc) · 6.04 KB
/
wine.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
name: modules
buildsystem: simple
build-commands: []
modules:
- name: eudev
cleanup:
- /bin
- /sbin
- /lib*/udev
post-install:
- udevadm hwdb --update --usr
sources:
- type: archive
url: https://github.com/eudev-project/eudev/releases/download/v3.2.14/eudev-3.2.14.tar.gz
sha256: 8da4319102f24abbf7fff5ce9c416af848df163b29590e666d334cc1927f006f
x-checker-data:
type: json
url: https://api.github.com/repos/gentoo/eudev/releases/latest
tag-query: .tag_name
version-query: $tag | sub("^[vV]"; "")
timestamp-query: .published_at
url-query: .assets[] | select(.name=="eudev-\($version).tar.gz") | .browser_download_url
- name: libusb
sources:
- type: archive
url: https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2
sha256: 12ce7a61fc9854d1d2a1ffe095f7b5fac19ddba095c259e6067a46500381b5a5
x-checker-data:
type: json
url: https://api.github.com/repos/libusb/libusb/releases/latest
tag-query: .tag_name
version-query: $tag | sub("^[vV]"; "")
timestamp-query: .published_at
url-query: .assets[] | select(.name=="libusb-\($version).tar.bz2") | .browser_download_url
- name: vkd3d
sources:
- type: archive
url: https://dl.winehq.org/vkd3d/source/vkd3d-1.8.tar.xz
sha256: e0cec19cc9535715c72ec3a16cdec29dc14d5ccec73526387b5843cf75628ac5
modules:
- name: spirv-deps
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DSPIRV_SKIP_EXECUTABLES=ON
cleanup:
- /bin
sources:
- type: git
url: https://github.com/KhronosGroup/SPIRV-Headers.git
tag: sdk-1.3.261.1
commit: 124a9665e464ef98b8b718d572d5f329311061eb
x-checker-data:
type: git
tag-pattern: ^sdk-([\d.]+)$
- name: wine
post-install:
- ln -s /app/bin/wine64 /app/bin/wine
build-options:
arch:
x86_64:
config-opts:
- --enable-win64
- --with-mingw=ccache x86_64-w64-mingw64-gcc
libdir: /app/lib
env:
LIBDIR: lib
config-opts:
- --disable-win16
- --disable-tests
- --with-x
- --with-pulse
- --with-dbus
- --without-oss
make-install-args:
- LDCONFIG=/bin/true
- UPDATE_DESKTOP_DATABASE=/bin/true
- INSTALL_PROGRAM_FLAGS=-s
sources:
- type: archive
url: https://dl.winehq.org/wine/source/9.x/wine-9.2.tar.xz
sha256: 8281c5a082cc47ac3c2c91ceaade5f17396553b39adcb32e741253865b658162
x-addons-url: &wine-addons-url >-
https://source.winehq.org/git/wine.git/blob_plain/refs/heads/stable:/dlls/appwiz.cpl/addons.c
- type: shell
commands:
- rm README.md
# DON'T REMOVE THIS RM. STAGING WON'T APPLY WITHOUT IT...
- type: git
url: https://gitlab.winehq.org/wine/wine-staging.git
commit: dc3b4e6589e4536eb7094845671a2092680b3460
tag: v9.2
- type: shell
commands:
- staging/patchinstall.py --destdir=. --all
- type: patch
paths:
- patches/wine/segregrevert.patch
- type: patch
paths:
- patches/wine/mouselock.patch
- type: patch
paths:
- patches/wine/loader-prefer-winedllpath.patch
- type: patch
paths:
- patches/wine/childwindow.patch
# Modified from org.winehq.Wine
- name: wine-mono
buildsystem: simple
build-commands:
- mkdir -p ${FLATPAK_DEST}/share/wine/mono/
- cp -a wine-mono-* ${FLATPAK_DEST}/share/wine/mono/
sources:
- type: archive
url: https://dl.winehq.org/wine/wine-mono/9.0.0/wine-mono-9.0.0-x86.tar.xz
strip-components: 0
sha256: d73d440c08ebd67c93fbd6534f4f1b4e98aa07342f9c7d98c8aaeb74755eb9cf
# no x-checker because Wine version and Wine Mono version have to be synced together.
# Modified from org.winehq.Wine
- name: winetricks
no-autogen: true
make-args:
- PREFIX=/app
make-install-args:
- PREFIX=/app
sources:
- type: git
url: https://github.com/Winetricks/winetricks.git
tag: '20240105'
commit: bc91718a5cad45e9f33de9b351a5960d5395bed5
x-checker-data:
type: git
tag-pattern: ^(\d+)$
modules:
- name: p7zip
no-autogen: true
make-args:
- all2
- OPTFLAGS=-O2 -g
- DEST_HOME=/app
- DEST_BIN=/app/bin
- DEST_SHARE=/app/lib/p7zip
- DEST_MAN=/app/share/man
make-install-args:
- DEST_HOME=/app
- DEST_BIN=/app/bin
- DEST_SHARE=/app/lib/p7zip
- DEST_MAN=/app/share/man
sources:
- type: archive
url: https://downloads.sourceforge.net/p7zip/p7zip_16.02_src_all.tar.bz2
sha256: 5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f
- type: patch
paths:
- patches/p7zip/gcc10-conversion.patch
- patches/p7zip/14-Fix-g++-warning.patch
- type: shell
only-arches:
- x86_64
commands:
- ln -sf makefile.linux_amd64_asm makefile.machine
- type: shell
only-arches:
- i386
commands:
- ln -sf makefile.linux_x86_asm_gcc_4.X makefile.machine
modules:
- name: yasm
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/yasm/yasm/archive/v1.3.0.tar.gz
sha256: f708be0b7b8c59bc1dbe7134153cd2f31faeebaa8eec48676c10f972a1f13df3
cleanup:
- '*'
- name: cabextract
sources:
- type: archive
url: https://www.cabextract.org.uk/cabextract-1.9.1.tar.gz
sha256: afc253673c8ef316b4d5c29cc4aa8445844bee14afffbe092ee9469405851ca7