-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathme.njean.shootingpactris.json
105 lines (105 loc) · 3.83 KB
/
me.njean.shootingpactris.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
{
"app-id": "me.njean.shootingpactris",
"runtime": "org.freedesktop.Platform",
"runtime-version": "23.08",
"sdk": "org.freedesktop.Sdk",
"command": "shpactris",
"finish-args": [
"--socket=x11",
"--share=ipc",
"--share=network",
"--device=all",
"--socket=pulseaudio"
],
"modules": [
"shared-modules/glu/glu-9.json",
{
"name": "scons",
"buildsystem": "simple",
"cleanup": ["*"],
"sources": [
{
"type": "archive",
"sha256": "7801f3f62f654528e272df780be10c0e9337e897650b62ddcee9f39fde13f8fb",
"url": "https://downloads.sourceforge.net/project/scons/scons/3.1.2/scons-3.1.2.tar.gz"
}
],
"build-commands": [
"python3 -m pip install --prefix=/app ."
]
},
{
"name": "godot",
"buildsystem": "simple",
"cleanup": ["*"],
"sources": [
{
"type": "archive",
"sha256": "556b564079fb1b21a05320c359268b2032c87d8b3bfaa4fd104ebf9c909ab87d",
"url": "https://downloads.tuxfamily.org/godotengine/3.2.1/godot-3.2.1-stable.tar.xz"
},
{
"type": "patch",
"path": "godot-build.patch"
}
],
"build-commands": [
"python3 /app/bin/scons -j$FLATPAK_BUILDER_N_JOBS platform=server tools=yes target=release_debug",
"install -Dm755 bin/godot_server.x11.opt.tools.* /app/bin/godot-server"
]
},
{
"name": "godot-templates",
"buildsystem": "simple",
"cleanup": ["*"],
"sources": [
{
"type": "archive",
"sha256": "c6883b2dd8848b4ea90d869b971a98364296482d2223ae20e61cb492fe082abb",
"url": "https://downloads.tuxfamily.org/godotengine/3.2.1/Godot_v3.2.1-stable_export_templates.tpz",
"dest-filename": "templates.zip"
}
],
"build-commands": [
"install -Dm755 -t /app/share/godot/templates/3.2.1.stable/ linux_x11_*"
]
},
{
"name": "shpactris",
"buildsystem": "simple",
"sources": [
{
"type": "git",
"url": "https://framagit.org/nicooo/shpactris.git",
"tag": "v1.2",
"commit": "6821659cec2e87b5b93bdbb600a3b1cb07163332"
},
{
"type": "file",
"path": "me.njean.shootingpactris.desktop"
},
{
"type": "file",
"path": "me.njean.shootingpactris.metainfo.xml"
},
{
"type": "file",
"path": "icon-128x128.png"
}
],
"build-options": {
"env": {
"XDG_DATA_HOME": "/app/share/"
}
},
"build-commands": [
"/app/bin/godot-server --export 'Linux/X11' shpactris || true",
"install -Dm755 shpactris /app/bin/shpactris",
"install -Dm644 icon.png /app/share/icons/hicolor/64x64/apps/me.njean.shootingpactris.png",
"install -Dm644 icon-128x128.png /app/share/icons/hicolor/128x128/apps/me.njean.shootingpactris.png",
"install -Dm644 me.njean.shootingpactris.desktop /app/share/applications/me.njean.shootingpactris.desktop",
"install -Dm644 me.njean.shootingpactris.metainfo.xml /app/share/metainfo/me.njean.shootingpactris.metainfo.xml"
]
}
]
}