-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.roguetemple.HyperRogue.json
70 lines (70 loc) · 2.05 KB
/
com.roguetemple.HyperRogue.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
{
"app-id":"com.roguetemple.HyperRogue",
"runtime":"org.freedesktop.Platform",
"runtime-version":"21.08",
"sdk":"org.freedesktop.Sdk",
"command":"hyperrogue",
"finish-args":[
"--device=all",
"--share=ipc",
"--socket=pulseaudio",
"--socket=x11"
],
"cleanup": [
"*.a",
"*.la"
],
"modules":[
"shared-modules/glew/glew.json",
"shared-modules/glu/glu-9.json",
"shared-modules/SDL/SDL-1.2.15.json",
"shared-modules/SDL/SDL_mixer-1.2.12.json",
"shared-modules/SDL/SDL_ttf-2.0.11.json",
{
"name":"SDL_gfx",
"build-options": {
"arch": {
"aarch64": {
"config-opts": [
"--disable-mmx"
]
}
}
},
"sources":[
{
"type":"archive",
"url":"https://downloads.sourceforge.net/project/sdlgfx/SDL_gfx-2.0.25.tar.gz",
"sha256":"556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0"
}
]
},
{
"name":"hyperrogue",
"buildsystem":"simple",
"build-commands":[
"sed -i 's|TTF_OpenFont.*;|TTF_OpenFont(\"/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf\", siz);|' basegraph.cpp",
"make",
"install -Dm755 hyperrogue -t ${FLATPAK_DEST}/bin/",
"install -Dm644 hyperroid/app/src/main/res/drawable-xxxhdpi/icon.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/com.roguetemple.HyperRogue.png",
"install -Dm644 com.roguetemple.HyperRogue.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo/",
"install -Dm644 com.roguetemple.HyperRogue.desktop -t ${FLATPAK_DEST}/share/applications/"
],
"sources":[
{
"type":"git",
"url": "https://github.com/zenorogue/hyperrogue.git",
"commit": "c7ccb0b64f4aa03cfbf3db6aae6063b3d83ba2cb"
},
{
"type":"file",
"path":"com.roguetemple.HyperRogue.desktop"
},
{
"type":"file",
"path":"com.roguetemple.HyperRogue.metainfo.xml"
}
]
}
]
}