-
Notifications
You must be signed in to change notification settings - Fork 2
/
org.vinegarhq.Vinegar.yml
executable file
·107 lines (100 loc) · 3.29 KB
/
org.vinegarhq.Vinegar.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
# Modified from net.brinkervii.grapejuice and org.winehq.Wine
app-id: org.vinegarhq.Vinegar
runtime: org.freedesktop.Platform
runtime-version: '23.08'
x-gl-version: &gl-version '1.4'
x-gl-versions: &gl-versions 23.08;1.4
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.golang
- org.freedesktop.Sdk.Extension.mingw-w64
command: vinegar
finish-args:
- --share=network
- --socket=x11 # Will be removed or replaced with fallback-x11 once Wine is improved
# - --socket=wayland
- --share=ipc
#- --device=dri # Uncomment if --device=all is removed/commented to fix graphics issues
- --allow=devel # Necessary for VMProtect to function.
- --socket=pulseaudio
- --device=all # Necessary for controller support (important on Steam Deck)
- --env=WINEDLLPATH=/app/dlls/lib
- --env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
- --env=EDITOR=nano
- --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/
- --filesystem=xdg-run/app/com.discordapp.Discord:create
add-extensions:
org.winehq.Wine.gecko:
directory: share/wine/gecko
org.winehq.Wine.mono:
directory: share/wine/mono
separate-locales: false
cleanup:
- '*.a'
- '*.la'
- /share/man
- /bin/function_grep.pl
- /bin/widl
- /bin/winecpp
- /bin/winedump
- /bin/wineg++
- /bin/winegcc
- /bin/winemaker
- /bin/wmc
- /bin/wrc
- /include/wine
- /lib/wine/*.def
build-options:
append-path: /usr/lib/sdk/mingw-w64/bin
env:
- GOBIN=/app/bin
- GOROOT=/usr/lib/sdk/golang
modules:
- name: bundle-setup
buildsystem: simple
build-commands:
- mkdir -p ${FLATPAK_DEST}/{,lib/debug/}/
- mkdir -p ${FLATPAK_DEST}/dlls
- mkdir ${FLATPAK_DEST}/dlls/lib -p
- install -Dm644 ld.so.conf -t {FLATPAK_DEST}/etc/
sources:
- type: file
path: ld.so.conf
- name: vinegar
buildsystem: simple
build-commands:
- make install GO=$GOROOT/bin/go PREFIX=/app
sources:
- type: archive
url: https://github.com/vinegarhq/vinegar/releases/download/v1.7.4/vinegar-v1.7.4.tar.xz
sha256: e60ae3e7dafff2639ab351a222df533373c3f62c03d9ca976da92e243f0693b5
x-checker-data:
type: json
url: https://api.github.com/repos/vinegarhq/vinegar/releases/latest
version-query: .tag_name
url-query: .assets[] | select(.name=="vinegar-\($version).tar.xz") | .browser_download_url
- name: gamemode
buildsystem: meson
config-opts:
- -Dwith-sd-bus-provider=no-daemon
- -Dwith-examples=false
sources: &gamemode-sources
- type: git
url: https://github.com/FeralInteractive/gamemode
commit: 5180d89e66830d87f69687b95fb86f622552b94b
tag: 1.8.1
x-checker-data:
type: json
url: https://api.github.com/repos/FeralInteractive/gamemode/releases/latest
tag-query: .tag_name
buildsystem: meson
config-opts:
- -Dwith-sd-bus-provider=no-daemon
- -Dwith-examples=false
sources: *gamemode-sources
- name: gamemoderun
buildsystem: simple
build-commands:
- install -Dm755 data/gamemoderun -t /app/bin
sources: *gamemode-sources
- wine.yml