-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg.openmw.openmwNightly.json
74 lines (72 loc) · 2.56 KB
/
org.openmw.openmwNightly.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
{
"app-id": "org.openmw.openmwNightly",
"branch": "nightly",
"runtime": "org.freedesktop.Platform",
"runtime-version": "1.6",
"sdk": "org.freedesktop.Sdk",
"command": "openmw",
"rename-icon": "openmw",
"rename-desktop-file": "openmw.desktop",
"desktop-file-name-prefix": "(nightly) ",
"rename-appdata-file": "openmw.appdata.xml",
"finish-args": [
/* X11 access */
"--socket=x11", "--share=ipc",
/* OpenGL access */
"--device=dri",
/* PulseAudio access */
"--socket=pulseaudio",
/* Network access */
"--share=network",
/* Wayland access */
"--socket=wayland",
/* Needed to make the installer work */
"--filesystem=home"
],
"modules": [
"modules/icu4c-55.1.json",
"modules/qt-4.8.7.json",
"modules/fribidi-0.19.7.json",
"modules/libass-0.13.6.json",
"modules/libmp3lame-3.99.5.json",
"modules/libopus-1.1.4.json",
"modules/x264-20170416-stable.json",
"modules/x265-2.3.json",
"modules/ffmpeg-3.3.1.json",
"modules/unshield-1.4.2.json",
"modules/openscenegraph-3.4.0.json",
"modules/glu-9.0.0.json",
"modules/openal-1.17.2.json",
"modules/mygui-3.2.2.json",
"modules/bullet-2.86.json",
"modules/boost-1.64.0.json",
{
"name": "openmw",
"buildsystem": "cmake",
"post-install": [
/* Move icons to where flatpak expects them */
"mkdir -p /app/share/icons/hicolor/256x256/apps/",
"mv /app/share/pixmaps/openmw.png /app/share/icons/hicolor/256x256/apps/openmw.png",
"mkdir -p /app/share/icons/hicolor/256x256/apps/",
"mv /app/share/pixmaps/openmw-cs.png /app/share/icons/hicolor/256x256/apps/org.openmw.openmw.CreationSet.Nightly.png",
/* Move the .desktop file for the creation set (hopefully temporary workaround, see flatpak issue 750) */
"mv /app/share/applications/openmw-cs.desktop /app/share/applications/org.openmw.openmw.CreationSet.Nightly.desktop",
"sed -i -e 's/Icon=openmw-cs/Icon=org.openmw.openmw.CreationSet.Nightly/g' /app/share/applications/org.openmw.openmw.CreationSet.Nightly.desktop",
"sed -i -e 's/Name=OpenMW Content Editor/Name=(nightly) OpenMW Content Editor/g' /app/share/applications/org.openmw.openmw.CreationSet.Nightly.desktop"
],
"sources" : [
{
"type": "git",
"url": "https://github.com/OpenMW/openmw.git"
}
],
"cleanup": [
"/lib/debug",
"/include",
"/lib/*.a",
"/lib/*.la",
"/lib/pkgconfig"
]
}
]
}