-
-
Notifications
You must be signed in to change notification settings - Fork 276
/
com.usebottles.bottles.yml
284 lines (260 loc) · 8.1 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
id: com.usebottles.bottles
sdk: org.gnome.Sdk
runtime: org.gnome.Platform
base: org.winehq.Wine
base-version: stable-24.08
runtime-version: &runtime-version '47'
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
- --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/:/usr/lib/extensions/vulkan/gamescope/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
add-extensions:
org.gnome.Platform.Compat.i386:
directory: lib/i386-linux-gnu
version: *runtime-version
org.gnome.Platform.Compat.i386.Debug:
directory: lib/debug/lib/i386-linux-gnu
version: *runtime-version
no-autodownload: true
com.valvesoftware.Steam.CompatibilityTool:
subdirectories: true
directory: share/steam/compatibilitytools.d
version: stable
versions: stable;beta;test
no-autodownload: true
autodelete: false
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: false
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
- mkdir -p /app/share/steam/compatibilitytools.d
- mkdir -p /app/share/vulkan/implicit_layer.d/
modules:
# PYPI modules
# ----------------------------------------------------------------------------
- com.usebottles.bottles.pypi-deps.yaml
# Tools / Codecs
# ----------------------------------------------------------------------------
- name: vmtouch
buildsystem: simple
sources:
- type: git
url: https://github.com/hoytech/vmtouch
commit: af86e27675843b3c7e4ddfee66ddbaf44eff43c4
x-checker-data:
type: json
url: https://api.github.com/repos/hoytech/vmtouch/commits
commit-query: first( .[].sha )
timestamp-query: first( .[].commit.committer.date )
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.261.1
commit: a7da7027ca9fd0901639f02619c226da9c6036f1
x-checker-data:
type: git
tag-pattern: ^sdk-([\d.]+)$
modules:
- name: vulkan-tools
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/KhronosGroup/Vulkan-Headers.git
tag: sdk-1.3.261.1
commit: 85c2334e92e215cce34e8e0ed8b2dce4700f4a50
x-checker-data:
type: git
tag-pattern: ^sdk-([\d.]+)$
- name: gamemode
buildsystem: meson
config-opts: &gamemode_opts
- -Dwith-examples=false
- -Dwith-util=false
- -Dwith-sd-bus-provider=no-daemon
sources: &gamemode_sources
- type: git
url: https://github.com/FeralInteractive/gamemode
tag: 1.8.2
commit: c54d6d4243b0dd0afcb49f2c9836d432da171a2b
x-checker-data:
type: git
is-important: true
tag-pattern: ^([\d.]+)$
- 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: git
url: https://gitlab.freedesktop.org/xorg/app/xdpyinfo.git
tag: xdpyinfo-1.3.4
commit: ea4083ccb2a5ce4252acabeb2eb7bf49f7be25e0
x-checker-data:
type: git
tag-pattern: ^xdpyinfo-([\d.]+)$
# Libraries
# ----------------------------------------------------------------------------
- name: ImageMagick
config-opts:
- --disable-static
- --disable-docs
- --with-hdri
- --with-pic
sources:
- type: git
url: https://github.com/ImageMagick/ImageMagick
tag: 7.1.1-38
commit: b0ab92265bab638e6ecd2f18b45977c38771c671
x-checker-data:
type: git
tag-pattern: ^([\d.]+-[\d]+)$
- name: libportal
buildsystem: meson
config-opts:
- -Ddocs=false
- -Dbackend-gtk4=enabled
sources:
- type: git
url: https://github.com/flatpak/libportal
tag: 0.8.1
commit: 26c15008cbe579f57f89468384f8efc033f25f6f
x-checker-data:
type: git
is-important: true
tag-pattern: ^([\d.]+)$
- name: blueprint-compiler
buildsystem: meson
sources:
- type: git
url: https://gitlab.gnome.org/jwestman/blueprint-compiler
tag: v0.14.0
commit: 8e10fcf8692108b9d4ab78f41086c5d7773ef864
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- 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.1.1
commit: bba740f77357cfa3558f02f6b8decd8f5a8eaf4e
x-checker-data:
type: git
is-important: true
tag-pattern: ^v([\d.]+)$
# 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: git
is-important: true
tag-pattern: ^([\d.]+)$
modules:
- name: vte
buildsystem: meson
config-opts:
- -Ddocs=false
- -Dvapi=false
sources:
- type: git
url: https://gitlab.gnome.org/GNOME/vte
tag: 0.78.0
commit: 00c99e846bf83536f978b4fe5dc2c8a6983b8a94
x-checker-data:
type: git
tag-pattern: ^([\d.]+)$
- 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.3/runtime-0.6.3.tar.gz
sha256: d7749b48927bd782e128e372a1d7085133fbe300eb9193134eb821f61bc5fad6
x-checker-data:
type: json
is-important: true
url: https://api.github.com/repos/bottlesdevs/runtime/releases/latest
version-query: .tag_name
url-query: '"https://github.com/bottlesdevs/runtime/releases/download/"
+ $version + "/runtime-" + $version + ".tar.gz"'
# Bottles source directory
# ----------------------------------------------------------------------------
- com.usebottles.bottles.src.yaml