forked from flathub/com.dosbox.DOSBox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.dosbox.DOSBox.json
82 lines (82 loc) · 2.82 KB
/
com.dosbox.DOSBox.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
{
"app-id": "com.dosbox.DOSBox",
"runtime": "org.freedesktop.Platform",
"runtime-version": "18.08",
"sdk": "org.freedesktop.Sdk",
"finish-args": [
"--device=dri",
"--share=ipc",
"--share=network",
"--socket=x11",
"--socket=pulseaudio",
/* DOSBox does not respect XDG base directories */
"--persist=.dosbox",
/* Allow Documents directory access - for storing DOS apps etc. */
"--filesystem=xdg-documents"
],
"command": "dosbox",
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/aclocal",
"/share/man",
"*.la", "*.a"
],
"modules": [
"shared-modules/glu/glu-9.0.0.json",
"shared-modules/SDL/SDL-1.2.15.json",
"shared-modules/SDL/SDL_net-1.2.8.json",
{
"name": "SDL_sound",
"rm-configure": true,
"config-opts": ["--disable-static"],
"sources": [
{
"type": "archive",
"url": "https://icculus.org/SDL_sound/downloads/SDL_sound-1.0.3.tar.gz",
"sha256": "3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df"
},
{
"type": "script",
"commands": [ "AUTOMAKE=\"automake --foreign\" autoreconf -fiv" ],
"dest-filename": "autogen.sh"
}
]
},
{
"name": "dosbox",
"rm-configure": true,
"sources": [
{
"type": "archive",
"url": "https://downloads.sourceforge.net/project/dosbox/dosbox/0.74-2/dosbox-0.74-2.tar.gz",
"sha256": "7077303595bedd7cd0bb94227fa9a6b5609e7c90a3e6523af11bc4afcb0a57cf"
},
{
"type": "file",
"path": "com.dosbox.DOSBox.png"
},
{
"type": "file",
"path": "com.dosbox.DOSBox.appdata.xml"
},
{
"type": "file",
"path": "com.dosbox.DOSBox.desktop"
},
{
"type": "script",
"commands": [
"autoreconf -fiv"
],
"dest-filename": "autogen.sh"
}
],
"post-install": [
"install -Dm644 com.dosbox.DOSBox.appdata.xml /app/share/appdata/com.dosbox.DOSBox.appdata.xml",
"install -Dm644 com.dosbox.DOSBox.desktop /app/share/applications/com.dosbox.DOSBox.desktop",
"install -Dm644 com.dosbox.DOSBox.png /app/share/icons/hicolor/256x256/apps/com.dosbox.DOSBox.png"
]
}
]
}