forked from bottlesdevs/Bottles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.usebottles.bottles.yml
402 lines (364 loc) · 12.6 KB
/
com.usebottles.bottles.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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
id: com.usebottles.bottles
sdk: org.gnome.Sdk
runtime: org.gnome.Platform
base: org.winehq.Wine
base-version: stable-22.08
runtime-version: "43"
command: bottles
finish-args:
- --allow=devel
- --allow=multiarch
- --allow=per-app-dev-shm
- --share=network
- --share=ipc
- --socket=x11
- --socket=wayland
- --socket=pulseaudio
- --device=all
- --filesystem=xdg-download
- --system-talk-name=org.freedesktop.UDisks2
- --env=LD_LIBRARY_PATH=/app/lib:/app/lib32
- --env=PATH=/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/MangoHud/bin/:/usr/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin/
- --env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/app/lib32/gstreamer-1.0:/usr/lib/i386-linux-gnu/gstreamer-1.0
- --require-version=1.1.2
inherit-extensions:
- org.freedesktop.Platform.GL32
- org.freedesktop.Platform.ffmpeg-full
- org.freedesktop.Platform.ffmpeg_full.i386
- org.winehq.Wine.gecko
- org.winehq.Wine.mono
- org.winehq.Wine.DLLs
add-extensions:
org.gnome.Platform.Compat.i386:
directory: lib/i386-linux-gnu
version: "43"
org.gnome.Platform.Compat.i386.Debug:
directory: lib/debug/lib/i386-linux-gnu
version: "43"
no-autodownload: true
com.valvesoftware.Steam.Utility:
subdirectories: true
directory: utils
version: stable
versions: stable;beta;test
add-ld-path: lib
merge-dirs: bin
no-autodownload: true
autodelete: true
x-compat-i386-opts: &compat_i386_opts
prepend-pkg-config-path: /app/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig
ldflags: -L/app/lib32
append-path: /usr/lib/sdk/toolchain-i386/bin
env:
CC: i686-unknown-linux-gnu-gcc
CXX: i686-unknown-linux-gnu-g++
libdir: /app/lib32
sdk-extensions:
- org.gnome.Sdk.Compat.i386
- org.freedesktop.Sdk.Extension.toolchain-i386
cleanup:
- /include
- /lib/pkgconfig
- /man
- /share/doc
- /share/gtk-doc
- /share/man
- /share/pkgconfig
- "*.la"
- "*.a"
cleanup-commands:
- mkdir -p /app/utils
modules:
# Python modules
# ----------------------------------------------------------------------------
- name: PyYAML
buildsystem: simple
build-commands:
- python3 setup.py --with-libyaml install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/yaml/pyyaml/archive/refs/tags/6.0.tar.gz
sha256: f33eaba25d8e0c1a959bbf00655198c287dfc5868f5b7b01e401eaa1796cc778
modules:
- name: libyaml
config-opts:
- --disable-static
sources:
- type: archive
url: https://github.com/yaml/libyaml/releases/download/0.2.5/yaml-0.2.5.tar.gz
sha256: c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4
- name: PycURL
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: git
url: https://github.com/pycurl/pycurl.git
tag: REL_7_45_1
- name: python-requests
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/psf/requests/archive/refs/tags/v2.28.0.tar.gz
sha256: 6b757ca284d8dc192794010c960b0cf405fcc7aed9ed2e04a8269dc41b1231ad
- name: python-urllib3
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/urllib3/urllib3/archive/refs/tags/1.26.9.tar.gz
sha256: 5860049db8811e7a26e5f228359522814dc8159e6ec4f352b1b596e0dee80503
- name: python-chardet
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/chardet/chardet/archive/4.0.0.tar.gz
sha256: 67bbe3eb02691d38831ddf2719c40fe09381bc17f15321946f6cd71dc274e530
- name: python-certifi
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/certifi/python-certifi/archive/refs/tags/2021.10.08.tar.gz
sha256: 51c2cf76f7f2582d9c4eb5440bb311ef523ba0b319d0a973450ecebfb6802a3a
- name: python-idna
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/kjd/idna/archive/refs/tags/v3.3.tar.gz
sha256: 34b145ffe35b7872e9a3e0abc3a3a8330db90a0fd58db978725fd05c5c7d9f88
- name: python-markdown
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/Python-Markdown/markdown/archive/refs/tags/3.3.7.tar.gz
sha256: a1b7a818ca2dc6b34b9ec0bb73e3f4325e4ee949a8390a91a4df48c311069f65
- name: python-icoextract
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/jlu5/icoextract/archive/refs/tags/0.1.2.tar.gz
sha256: 3818ad889160b33d360da4083da0a32df8d1955fb77a64bfbac49edc15d5ad3b
- name: patool
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/wummel/patool/archive/refs/tags/upstream/1.12.tar.gz
sha256: 582fd4b87c263325958c1550400504799018c88bc3444f249bba304ae1747f1f
- name: python-pefile
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/erocarrera/pefile/releases/download/v2021.9.3/pefile-2021.9.3.tar.gz
sha256: 344a49e40a94e10849f0fe34dddc80f773a12b40675bf2f7be4b8be578bdd94a
- name: python-pathvalidate
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/thombashi/pathvalidate/archive/refs/tags/v2.5.2.zip
sha256: 823b72c567147468b5823958a3625c72867455c13b8e367397ee467decccaea4
# Tools / Codecs
# ----------------------------------------------------------------------------
- name: vmtouch
buildsystem: simple
sources:
- type: git
url: https://github.com/hoytech/vmtouch
commit: 8f6898e3c027f445962e223ca7a7b33d40395fc6
build-commands:
- make
- make install PREFIX=/app
- name: vulkan-tools
buildsystem: cmake-ninja
config-opts:
- -DGLSLANG_INSTALL_DIR=/app
- -DVULKAN_HEADERS_INSTALL_DIR=/app
- -DCMAKE_BUILD_TYPE=Release
sources:
- type: git
url: https://github.com/KhronosGroup/Vulkan-Tools.git
tag: sdk-1.3.224.1
commit: 497f232680b046db34ba9e9da065e6303a125851
- name: gamemode
buildsystem: meson
config-opts: &gamemode_opts
- -Dwith-examples=false
- -Dwith-util=false
- -Dwith-sd-bus-provider=no-daemon
sources: &gamemode_sources
- type: archive
url: https://github.com/FeralInteractive/gamemode/releases/download/1.6.1/gamemode-1.6.1.tar.xz
sha256: 10c2a3f142eae472f5a09e42616e38c666c05b25ca3e61e562a543bb3fda66c5
- name: gamemode-32bit
build-options:
arch:
x86_64: *compat_i386_opts
buildsystem: meson
config-opts: *gamemode_opts
sources: *gamemode_sources
- name: gamemoderun
buildsystem: simple
build-commands:
- install -Dm755 data/gamemoderun -t /app/bin
sources: *gamemode_sources
- name: xdpyinfo
buildsystem: autotools
sources:
- type: archive
url: https://github.com/freedesktop/xdpyinfo/archive/refs/tags/xdpyinfo-1.3.2.tar.gz
sha256: 4c6942cb55e965f1192c0e2efc78429e2f4281cc2bc185d6ea09d609f32c51de
# Libraries
# ----------------------------------------------------------------------------
- name: rpcsvc-proto
buildsystem: autotools
sources:
- type: archive
url: https://github.com/thkukuk/rpcsvc-proto/archive/v1.4.3.tar.gz
sha256: 6906e0f81bb016bd0216460fc879d3d9f2f6d743be7dfb0d8b32d140226d5ef8
- name: parse-yapp
buildsystem: simple
build-commands:
- perl Makefile.PL
- make install
build-options:
env:
PERL5LIB: /app/lib/perl5/
PERL_MM_OPT: INSTALL_BASE=/app
cleanup:
- "*"
sources:
- type: archive
url: https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-1.21.tar.gz
sha256: 3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5
- name: LatencyFleX
buildsystem: simple
build-commands:
- mkdir -p /app/lib/x86_64-linux-gnu/
- mkdir -p /app/share/vulkan/implicit_layer.d/
- cp layer/usr/lib/x86_64-linux-gnu/liblatencyflex_layer.so /app/lib/x86_64-linux-gnu/liblatencyflex_layer.so
- cp layer/usr/share/vulkan/implicit_layer.d/latencyflex.json /app/share/vulkan/implicit_layer.d/latencyflex.json
sources:
- type: archive
url: https://github.com/ishitatsuyuki/LatencyFleX/releases/download/v0.1.0/latencyflex-v0.1.0.tar.xz
sha256: 9862c7608b85ac6bff018d5926c4692490ff84ca3e649119b7fc53680e64dd1a
- name: ImageMagick
config-opts:
- --disable-static
- --disable-docs
- --with-hdri
- --with-pic
sources:
- type: archive
url: https://github.com/ImageMagick/ImageMagick/archive/7.1.0-37.tar.gz
sha256: a54888a1a46dbb808705a3e6c6b5ecb93ee30189a8ae6ea0f02300a0ab0d0996
- name: libportal
buildsystem: meson
config-opts:
- -Ddocs=false
- -Dbackends=gtk4
sources:
- type: archive
url: https://github.com/flatpak/libportal/archive/refs/tags/0.6.tar.gz
sha256: 8ad326c4f53b7433645dc86d994fef0292bee8adda0fe67db9288ace19250a9c
- name: blueprint-compiler
buildsystem: meson
sources:
- type: git
url: https://gitlab.gnome.org/jwestman/blueprint-compiler
tag: 'v0.4.0'
commit: 75a6d95988736ec0471d22ceb07579c0cedac2ad
- name: vkbasalt-cli
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: git
url: https://gitlab.com/TheEvilSkeleton/vkbasalt-cli
tag: v3.0
commit: 68d37866d7e732923fb628b81dcb0a808e9ccfe6
# Bottles components
# ----------------------------------------------------------------------------
- name: EasyTerm
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: git
url: https://github.com/bottlesdevs/EasyTerm
tag: 0.2.0
commit: 6fbeab0470df55aeab141a45763147440b2f0290
x-checker-data:
type: json
url: https://api.github.com/repos/bottlesdevs/EasyTerm/releases/latest
tag-query: .tag_name
version-query: .tag_name
timestamp-query: .published_at
modules:
- name: vte
buildsystem: meson
config-opts:
- -Ddocs=false
- -Dvapi=false
sources:
- type: archive
url: https://gitlab.gnome.org/GNOME/vte/-/archive/0.66.2/vte-0.66.2.tar.gz
sha256: a486e389e3d16f903ed6f27d9513c2a44bff5945a12af4fcfe48ce00992c42ab
- name: FVS
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: git
url: https://github.com/mirkobrombin/FVS
tag: "0.3.4"
commit: 4e76dc54028a88099c72ec3a925b5f059f442d05
x-checker-data:
type: json
url: https://api.github.com/repos/mirkobrombin/FVS/releases/latest
tag-query: .tag_name
version-query: .tag_name
timestamp-query: .published_at
modules:
- name: orjson
buildsystem: simple
build-commands:
- pip3 install --prefix /app --no-deps orjson-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/ea/a2/e6c94631bd5117c9cf9453bc90cfe44db17cec13046c7f2df10020705d16/orjson-3.8.0-cp310-cp310-manylinux_2_28_x86_64.whl
sha256: 6a23b40c98889e9abac084ce5a1fb251664b41da9f6bdb40a4729e2288ed2ed4
- name: runtime
buildsystem: simple
build-commands:
- mkdir -p /app/etc/runtime
- cp -a * /app/etc/runtime/
sources:
- type: archive
url: https://github.com/bottlesdevs/runtime/releases/download/0.6/runtime.tar.gz
sha256: f2b47012cde0a7e9c65ca4d793d19a2f9d3fe68b76dd457839e62ec34f214528
- name: bottles
builddir: true
buildsystem: meson
config-opts:
- -Ddevel=true
sources:
- type: dir
path: .