/
com.valvesoftware.Steam.json
210 lines (207 loc) · 7.95 KB
/
com.valvesoftware.Steam.json
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
{
"app-id": "com.valvesoftware.Steam",
"runtime": "org.freedesktop.Platform",
"runtime-version": "18.08",
"sdk": "org.freedesktop.Sdk",
"command": "steam-wrapper",
"separate-locales": false,
"rename-icon": "steam",
"tags": ["proprietary"],
"finish-args": [
"--share=ipc", "--socket=x11",
"--socket=pulseaudio",
"--socket=system-bus",
"--share=network",
"--talk-name=org.gnome.SettingsDaemon.MediaKeys",
"--talk-name=org.freedesktop.NetworkManager",
"--talk-name=org.kde.StatusNotifierWatcher",
"--talk-name=com.feralinteractive.GameMode",
"--filesystem=xdg-music:ro",
"--filesystem=xdg-pictures:ro",
"--device=all",
"--allow=multiarch",
"--allow=devel",
"--persist=.",
"--extension=org.freedesktop.Platform.Compat.i386=directory=lib/i386-linux-gnu",
"--extension=org.freedesktop.Platform.Compat.i386=version=18.08",
"--extension=org.freedesktop.Platform.Compat.i386.Debug=directory=lib/debug/lib/i386-linux-gnu",
"--extension=org.freedesktop.Platform.Compat.i386.Debug=version=18.08",
"--extension=org.freedesktop.Platform.Compat.i386.Debug=no-autodownload=true",
"--extension=org.freedesktop.Platform.GL32=directory=lib/i386-linux-gnu/GL",
"--extension=org.freedesktop.Platform.GL32=version=1.4",
"--extension=org.freedesktop.Platform.GL32=versions=1.6;1.4",
"--extension=org.freedesktop.Platform.GL32=subdirectories=true",
"--extension=org.freedesktop.Platform.GL32=no-autodownload=true",
"--extension=org.freedesktop.Platform.GL32=autodelete=false",
"--extension=org.freedesktop.Platform.GL32=add-ld-path=lib",
"--extension=org.freedesktop.Platform.GL32=merge-dirs=vulkan/icd.d;glvnd/egl_vendor.d",
"--extension=org.freedesktop.Platform.GL32=download-if=active-gl-driver",
"--extension=org.freedesktop.Platform.GL32=enable-if=active-gl-driver",
"--env=LC_NUMERIC=C",
"--env=ALSA_CONFIG_PATH=",
"--env=MESA_GLSL_CACHE_DIR="
],
"build-options" : {
"env": {
"PREFIX": "/app"
}
},
"modules": [
"shared-modules/python2.7/python-2.7.15.json",
{
"name": "libnotify",
"cleanup": ["/include", "/lib/*.la", "/lib/pkgconfig", "/share/doc/libnotify"],
"config-opts": [
"--disable-static",
"--disable-tests",
"--disable-introspection"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/libnotify/0.7/libnotify-0.7.7.tar.xz",
"sha256": "9cb4ce315b2655860c524d46b56010874214ec27e854086c1a1d0260137efc04"
}
]
},
{
"name": "xrandr",
"sources": [{
"type": "archive",
"url": "https://xorg.freedesktop.org/archive/individual/app/xrandr-1.5.0.tar.bz2",
"sha256": "c1cfd4e1d4d708c031d60801e527abc9b6d34b85f2ffa2cadd21f75ff38151cd"
}]
},
{
"name": "systemd",
"buildsystem": "meson",
"config-opts": [
"-Drootprefix=/app",
"-Dsysconfdir=/app/etc",
"-Denvironment-d=false",
"-Dbinfmt=false",
"-Dcoredump=false",
"-Dlogind=false",
"-Dhostnamed=false",
"-Dlocaled=false",
"-Dmachined=false",
"-Dportabled=false",
"-Dnetworkd=false",
"-Dtimedated=false",
"-Dtimesyncd=false",
"-Dremote=false",
"-Dfirstboot=false",
"-Drandomseed=false",
"-Dbacklight=false",
"-Dvconsole=false",
"-Dquotacheck=false",
"-Dsysusers=false",
"-Dtmpfiles=false",
"-Dimportd=false",
"-Dhwdb=false",
"-Drfkill=false",
"-Dman=false",
"-Dhtml=false",
"-Dpam=false",
"-Dmicrohttpd=false",
"-Dbashcompletiondir=no",
"-Dzshcompletiondir=no"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/systemd/systemd/archive/v239.tar.gz",
"sha256": "8a11b1b07d620f4c06a16e95bba4dd2a97e90efdf2a5ba47ed0a935085787a14"
}
],
"cleanup": [
"/bin",
"/lib/systemd",
"/lib/sysctl.d",
"/lib/udev/rules.d",
"/lib/modprobe.d",
"/lib/kernel",
"/share/polkit-1",
"/include",
"/lib/pkgconfig",
"/share/pkgconfig"
]
},
{
"name": "gamemode",
"buildsystem": "meson",
"config-opts": [
"-Dwith-systemd=false",
"-Dwith-daemon=false",
"-Dwith-examples=false"
],
"sources": [{
"type": "archive",
"url": "https://github.com/FeralInteractive/gamemode/releases/download/1.2/gamemode-1.2.tar.xz",
"sha256": "a7b8d63ffdcbea0dc8b557fda42a9471fa9ab0961a5450d2a15cccca0aaf6a95"
}]
},
{
"name": "steam_wrapper",
"buildsystem": "simple",
"sources": [{
"type": "dir",
"path": "steam_wrapper"
}],
"build-commands": [
"python3 -mpip install . --prefix=/app --no-index --find-links ."
]
},
{
"name": "steam",
"no-autogen": true,
"sources": [
{
"type": "archive",
"url": "http://repo.steampowered.com/steam/archive/precise/steam_latest.tar.gz",
"sha256": "c303a610ebd7e392f5027b22ee0b64bf178344bd979bef473046c57c3599a1af"
},
{
"type": "file",
"path": "com.valvesoftware.Steam.appdata.xml"
},
{
"type": "shell",
"commands": [
"sed -i s:Exec=steam:Exec=/app/bin/steam-wrapper: steam.desktop",
"sed -i s:/usr/bin/steam:/app/bin/steam-wrapper: steam.desktop",
"desktop-file-edit --set-key=StartupWMClass --set-value=Steam steam.desktop",
"sed -i s:/usr/lib/:/app/lib/: steam"
]
},
{
"type": "file",
"path": "ld.so.conf"
}
],
"post-install": [
"ln -sf /bin/true /app/bin/steamdeps",
"cp /app/share/applications/steam.desktop /app/share/applications/com.valvesoftware.Steam.desktop",
"cp /usr/bin/cmp /app/bin",
"mkdir -p /app/lib/i386-linux-gnu",
"mkdir -p /app/lib/debug/lib/i386-linux-gnu",
"mkdir -p /app/share/appdata",
"cp com.valvesoftware.Steam.appdata.xml /app/share/appdata",
"install -Dm644 ld.so.conf /app/etc/ld.so.conf"
]
},
{
"name": "lspci",
"no-autogen": true,
"make-install-args": [
"PREFIX=/app",
"SBINDIR=$(PREFIX)/bin"
],
"sources": [{
"type": "archive",
"url": "https://mirrors.edge.kernel.org/pub/software/utils/pciutils/pciutils-3.6.2.tar.gz",
"sha256": "d5f9254f27bbda8243b345633e980144e6bd2af9c786bb8a152b904530aef599"
}]
}
]
}