generated from pop-os/cosmic-app-template
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcom.francescogaglione.chronos.json
48 lines (48 loc) · 1.47 KB
/
com.francescogaglione.chronos.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
{
"id": "com.francescogaglione.chronos",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command": "chronos",
"finish-args": [
"--share=ipc",
"--share=network",
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri",
"--talk-name=com.system76.CosmicSettingsDaemon",
"--filesystem=xdg-config/cosmic:row"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin"
},
"modules": [
{
"name": "chronos",
"buildsystem": "simple",
"build-options": {
"env": {
"CARGO_HOME": "/run/build/chronos/cargo"
}
},
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"cargo --offline build --release --verbose",
"install -Dm0755 ./target/release/chronos /app/bin/chronos",
"install -Dm0644 ./res/Chronos.desktop /app/share/applications/com.francescogaglione.chronos.desktop",
"install -Dm0644 ./res/Chronos.metainfo.xml /app/share/metainfo/com.francescogaglione.chronos.metainfo.xml",
"install -Dm0644 ./res/icons/hicolor/scalable/apps/com.francescogaglione.chronos.svg /app/share/icons/hicolor/scalable/apps/com.francescogaglione.chronos.svg"
],
"sources": [
{
"type": "dir",
"path": "./"
},
"cargo-sources.json"
]
}
]
}