forked from flathub/com.github.tmewett.BrogueCE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.github.tmewett.BrogueCE.json
More file actions
58 lines (57 loc) · 2.07 KB
/
com.github.tmewett.BrogueCE.json
File metadata and controls
58 lines (57 loc) · 2.07 KB
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
{
"app-id": "com.github.tmewett.BrogueCE",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"command": "brogue",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--socket=pulseaudio",
"--share=network",
"--device=dri"
],
"modules": [
{
"name": "brogue",
"buildsystem": "simple",
"build-commands": [
"export DATADIR=/app/lib/brogue/",
"make DATADIR=/app/lib/brogue/ RELEASE=YES",
"install -Dm755 bin/brogue /app/lib/brogue/brogue",
"install -Dm755 brogue /app/bin/brogue",
"cp -r bin/assets /app/lib/brogue/assets",
"install -Dm644 bin/assets/icon.png /app/share/icons/hicolor/256x256/apps/com.github.tmewett.BrogueCE.png",
"install -Dm644 brogue.desktop /app/share/applications/com.github.tmewett.BrogueCE.desktop",
"install -Dm644 com.github.tmewett.BrogueCE.metainfo.xml /app/share/metainfo/com.github.tmewett.BrogueCE.metainfo.xml"
],
"sources": [
{
"type": "git",
"url" : "https://github.com/tmewett/BrogueCE.git",
"tag": "v1.15.1"
},
{
"type": "script",
"dest-filename": "brogue",
"commands": [
"broguedir=/app/lib/brogue",
"userdir=${XDG_DATA_HOME:-$HOME/.local/share}/Brogue",
"mkdir -p $userdir",
"cd $userdir",
"exec $broguedir/brogue"
]
},
{
"type": "file",
"path": "brogue.desktop"
},
{
"type": "file",
"path": "com.github.tmewett.BrogueCE.metainfo.xml"
}
]
}
]
}