-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcom.tibia.Tibia.json
82 lines (82 loc) · 2.19 KB
/
com.tibia.Tibia.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
{
"$schema": "https://raw.githubusercontent.com/flatpak/flatpak-builder/refs/heads/main/data/flatpak-manifest.schema.json",
"id": "com.tibia.Tibia",
"branch": "stable",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"command": "tibia-wrapper",
"tags": ["proprietary"],
"finish-args": [
"--device=dri",
"--share=ipc",
"--share=network",
"--socket=pulseaudio",
"--filesystem=xdg-run/pipewire-0:ro",
"--socket=x11"
],
"modules": [
{
"name": "tibia",
"buildsystem": "simple",
"build-commands": [
"install -Dm755 -t ${FLATPAK_DEST}/bin apply_extra tibia-wrapper",
"install -Dm644 -t ${FLATPAK_DEST}/share/applications ${FLATPAK_ID}.desktop",
"install -Dm644 -t ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps ${FLATPAK_ID}.png",
"install -Dm644 -t ${FLATPAK_DEST}/share/metainfo ${FLATPAK_ID}.metainfo.xml"
],
"sources": [
{
"type": "extra-data",
"filename": "tibia.tar.gz",
"url": "https://static.tibia.com/download/tibia.x64.tar.gz",
"sha256": "41ae75e8a7934bbdd8bef4f45a6042173bc928b3723f495e7deae7a46efd584b",
"size": 28675231
},
{
"type": "script",
"dest-filename": "apply_extra",
"commands": ["tar xf tibia.tar.gz"]
},
{
"type": "script",
"dest-filename": "tibia-wrapper",
"commands": [
"cp -rut ${XDG_RUNTIME_DIR} /app/extra/Tibia",
"exec ${XDG_RUNTIME_DIR}/Tibia/Tibia"
]
},
{
"type": "file",
"path": "com.tibia.Tibia.desktop"
},
{
"type": "file",
"path": "com.tibia.Tibia.metainfo.xml"
},
{
"type": "file",
"path": "com.tibia.Tibia.png"
}
],
"modules": [
{
"name": "libevent",
"buildsystem": "cmake-ninja",
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig"
],
"sources": [
{
"type": "git",
"url": "https://github.com/libevent/libevent",
"tag": "release-2.1.12-stable"
}
]
}
]
}
]
}