-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcom.jwestall.Forecast.json
93 lines (93 loc) · 3.27 KB
/
com.jwestall.Forecast.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
{
"id": "com.jwestall.Forecast",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
"command": "cosmic-ext-forecast",
"finish-args": [
"--share=ipc",
"--share=network",
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri",
"--talk-name=com.system76.CosmicSettingsDaemon",
"--filesystem=xdg-config/cosmic:rw"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin"
},
"modules": [
{
"name": "just",
"buildsystem": "simple",
"build-commands": [
"install -Dm0755 just /app/bin/just"
],
"cleanup": ["*"],
"sources": [
{
"type": "archive",
"strip-components": 0,
"dest-filename": "just.tar.gz",
"url": "https://github.com/casey/just/releases/download/1.35.0/just-1.35.0-x86_64-unknown-linux-musl.tar.gz",
"sha256": "c4172306e241bd175c07316156a610593fa2b687ac49418520a375605d7cead4",
"only_arches": [
"x86_64"
]
},
{
"type": "archive",
"strip-components": 0,
"dest-filename": "just.tar.gz",
"url": "https://github.com/casey/just/releases/download/1.35.0/just-1.35.0-aarch64-unknown-linux-musl.tar.gz",
"sha256": "a94c75426239fce8c1e7fdfccd20d60d987924f91ac45c843a14cd72d4d71e73",
"only_arches": [
"aarch64"
]
}
]
},
{
"name": "cosmic-icons",
"buildsystem": "simple",
"build-commands": [
"sed -i \"s|prefix := '/usr'|prefix := '/app'|\" justfile",
"just install"
],
"sources": [
{
"type": "archive",
"dest-filename": "cosmic-icons-epoch-1.0.0-alpha.1.tar.gz",
"url": "https://github.com/pop-os/cosmic-icons/archive/refs/tags/epoch-1.0.0-alpha.1.tar.gz",
"sha256": "20d1a184c0421501e7ed8761f6e6178c3e16c787373357dae1d4dc22b9109428"
}
]
},
{
"name": "forecast",
"buildsystem": "simple",
"build-options": {
"env": {
"CARGO_HOME": "/run/build/forecast/cargo"
}
},
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"cargo --offline build --release --verbose",
"install -Dm0755 ./target/release/cosmic-ext-forecast /app/bin/cosmic-ext-forecast",
"install -Dm0644 ./res/com.jwestall.Forecast.desktop /app/share/applications/com.jwestall.Forecast.desktop",
"install -Dm0644 ./res/com.jwestall.Forecast.metainfo.xml /app/share/metainfo/com.jwestall.Forecast.metainfo.xml",
"install -Dm0644 ./res/icons/hicolor/scalable/apps/com.jwestall.Forecast.svg /app/share/icons/hicolor/scalable/apps/com.jwestall.Forecast.svg"
],
"sources": [
{
"type": "git",
"url": "https://github.com/cosmic-utils/forecast.git",
"commit": "39e6c232458189e976b59e123a1c98e21557cbaa"
},
"cargo-sources.json"
]
}
]
}