-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfr.henri2h.minestrix.json
93 lines (93 loc) · 3.59 KB
/
fr.henri2h.minestrix.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
{
"app-id": "fr.henri2h.minestrix",
"runtime": "org.gnome.Platform",
"runtime-version": "43",
"sdk": "org.gnome.Sdk",
"command": "minestrix",
"separate-locales": false,
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=pulseaudio",
"--share=network",
"--device=all",
"--filesystem=xdg-download",
"--talk-name=org.gnome.Notifications"
],
"modules": [
{
"name": "libjsoncpp",
"only_arches": [
"x86_64",
"aarch64"
],
"buildsystem": "meson",
"config-opts": [
"--buildtype=release",
"--default-library=shared"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/open-source-parsers/jsoncpp/archive/refs/tags/1.9.5.tar.gz",
"sha256": "f409856e5920c18d0c2fb85276e24ee607d2a09b5e7d5f0a371368903c275da2"
}
]
},
{
"name": "olm",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://gitlab.matrix.org/matrix-org/olm.git",
"tag": "3.2.14"
}
]
},
{
"name": "minestrix",
"buildsystem": "simple",
"build-commands": [
"cp -r minestrix /app/minestrix",
"chmod +x /app/minestrix/minestrix",
"install -Dm644 logo.png /app/share/icons/hicolor/512x512/apps/fr.henri2h.minestrix.png",
"mkdir -p /app/bin",
"ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 /app/lib/libsqlite3.so",
"if [ ! -e '/app/lib/libsqlite3.so' ]; then ln -s -f /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 /app/lib/libsqlite3.so; fi",
"ln -s ../minestrix/minestrix /app/bin/minestrix",
"install -Dm644 fr.henri2h.minestrix.desktop /app/share/applications/fr.henri2h.minestrix.desktop",
"install -Dm644 fr.henri2h.minestrix.metainfo.xml /app/share/appdata/fr.henri2h.minestrix.metainfo.xml"
],
"sources": [
{
"type": "archive",
"only-arches": [
"x86_64"
],
"url": "https://gitlab.com/api/v4/projects/23130390/packages/generic/minestrix/1.6.5/minestrix-linux-x86.tar.gz",
"dest": "minestrix",
"sha256": "eeaee059ecfeaf32d5aa1ee868092144f517cedaa23749540617a67cc7429733",
"x-checker-data": {
"type": "json",
"url": "https://gitlab.com/api/v4/projects/minestrix%2Fminestrix-flutter/releases/",
"version-query": "first(.[] | select(.tag_name|startswith(\"v\"))) | .tag_name | sub(\"v\";\"\")",
"url-query": "first(.[] | select(.tag_name|startswith(\"v\"))) | .assets.links[] | select(.name==\"minestrix-linux-x86.tar.gz\") | .url"
}
},
{
"type": "file",
"path": "fr.henri2h.minestrix.metainfo.xml"
},
{
"type": "file",
"path": "fr.henri2h.minestrix.desktop"
},
{
"type": "file",
"path": "logo.png"
}
]
}
]
}