-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.adilhanney.saber.json
84 lines (84 loc) · 2.5 KB
/
com.adilhanney.saber.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
{
"app-id": "com.adilhanney.saber",
"runtime": "org.gnome.Platform",
"runtime-version": "46",
"sdk": "org.gnome.Sdk",
"command": "saber",
"separate-locales": false,
"finish-args": [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri",
"--socket=pulseaudio",
"--filesystem=xdg-documents/Saber:create"
],
"modules": [
"shared-modules/libsecret/libsecret.json",
{
"name": "libjsoncpp",
"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.6.tar.gz",
"sha256": "f93b6dd7ce796b13d02c108bc9f79812245a82e577581c4c9aabe57075c90ea2",
"x-checker-data": {
"type": "json",
"url": "https://api.github.com/repos/open-source-parsers/jsoncpp/releases/latest",
"version-query": ".tag_name",
"url-query": ".tag_name | \"https://github.com/open-source-parsers/jsoncpp/archive/refs/tags/\" + . + \".tar.gz\"",
"is-main-source": false
}
}
]
},
{
"name": "saber",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app",
"tar -xf Saber_*.tar.gz -C /app",
"mkdir -p /app/bin",
"ln -s /app/saber /app/bin/saber"
],
"sources": [
{
"type": "file",
"url": "https://github.com/saber-notes/saber/releases/download/v0.25.2/Saber_v0.25.2_Linux_x86_64.tar.gz",
"sha256": "2616fa16c0afe7d308a95655774c88746d43353d490e5e290d4c9b010cc3162b",
"only-arches": [
"x86_64"
],
"x-checker-data": {
"type": "json",
"url": "https://api.github.com/repos/saber-notes/saber/releases/latest",
"version-query": ".tag_name",
"url-query": ".assets[] | select(.name==\"Saber_\" + $version + \"_Linux_x86_64.tar.gz\") | .browser_download_url",
"is-main-source": false
}
},
{
"type": "file",
"url": "https://github.com/saber-notes/saber/releases/download/v0.25.2/Saber_v0.25.2_Linux_arm64.tar.gz",
"sha256": "7e0159c8ce5d5c3f66a4b471db7f98837e6dbae77876b5140fc8096354af4061",
"only-arches": [
"aarch64"
],
"x-checker-data": {
"type": "json",
"url": "https://api.github.com/repos/saber-notes/saber/releases/latest",
"version-query": ".tag_name",
"url-query": ".assets[] | select(.name==\"Saber_\" + $version + \"_Linux_arm64.tar.gz\") | .browser_download_url",
"is-main-source": true
}
}
]
}
]
}