-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.lixgame.Lix.json
102 lines (102 loc) · 3.63 KB
/
com.lixgame.Lix.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
{
"app-id": "com.lixgame.Lix",
"runtime": "org.freedesktop.Platform",
"runtime-version": "22.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.dmd"
],
"command": "lix",
"finish-args": [
"--socket=x11",
"--share=ipc",
"--share=network",
"--device=dri",
"--socket=pulseaudio"
],
"modules": [
"shared-modules/physfs/physfs.json",
{
"name": "enet",
"buildsystem": "autotools",
"cleanup": [
"/include",
"*.pc"
],
"sources": [
{
"type": "archive",
"url": "http://enet.bespin.org/download/enet-1.3.17.tar.gz",
"sha256": "a38f0f194555d558533b8b15c0c478e946310022d0ec7b34334e19e4574dcedc"
}
]
},
{
"name": "allegro",
"buildsystem": "cmake",
"builddir": true,
"cleanup": [
"/bin",
"/doc",
"/info"
],
"config-opts": [
"-DWANT_DEMO=OFF",
"-DWANT_DOCS=OFF",
"-DWANT_EXAMPLES=OFF",
"-DWANT_TESTS=OFF"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/liballeg/allegro5/releases/download/5.2.9.1/allegro-5.2.9.1.tar.gz",
"sha256": "0ee3fc22ae74601ad36c70afd793ff062f0f7187eeb6e78f8a24e5bf69170d30"
}
]
},
{
"name": "lix",
"buildsystem": "simple",
"build-options": {
"append-path": "/usr/lib/sdk/dmd/bin"
},
"build-commands": [
"dub build --skip-registry=all -f -b releaseXDG"
],
"post-install": [
"install -Dm755 bin/lix ${FLATPAK_DEST}/bin/lix",
"install -d ${FLATPAK_DEST}/share/lix",
"cp -ar data/ images/ levels/ music/ ${FLATPAK_DEST}/share/lix",
"install -Dm644 doc/lix.6 ${FLATPAK_DEST}%{_mandir}/man6/lix.6",
"install -Dm644 data/images/lix_logo.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
"install -Dm644 data/desktop/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
"install -Dm644 data/desktop/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml"
],
"sources": [
{
"type": "git",
"url": "https://github.com/SimonN/LixD.git",
"commit": "258b9964083ecd06c5bc5514ccdeb762d1b4be1d",
"tag": "v0.10.28",
"x-checker-data": {
"type": "git",
"tag-pattern": "^v([\\d.]+)$"
}
},
{
"type": "shell",
"commands": [
"sed -i 's#customReadOnlyDir = \"\"# customReadOnlyDir = \"/app/share\"#g' src/file/filename/fhs.d"
]
},
{
"type": "archive",
"url": "https://www.lixgame.com/dow/lix-music.zip",
"sha256": "23ef8c20c5bf1674096e8b20ed9011669a9ad66f1135c64198e00e93aeb1f657",
"strip-components": 0
},
"generated-sources.json"
]
}
]
}