|
| 1 | +{ |
| 2 | + "id": "io.github.cosmic_utils.weather-applet", |
| 3 | + "runtime": "org.freedesktop.Platform", |
| 4 | + "runtime-version": "24.08", |
| 5 | + "sdk": "org.freedesktop.Sdk", |
| 6 | + "sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"], |
| 7 | + "command": "cosmic-ext-applet-weather", |
| 8 | + "finish-args": [ |
| 9 | + "--share=network", |
| 10 | + "--filesystem=xdg-config/cosmic:rw", |
| 11 | + "--talk-name=com.system76.CosmicSettingsDaemon", |
| 12 | + "--socket=wayland", |
| 13 | + "--device=dri", |
| 14 | + "--talk-name=org.freedesktop.portal.Desktop", |
| 15 | + "--talk-name=org.freedesktop.portal.Location" |
| 16 | + ], |
| 17 | + "build-options": { |
| 18 | + "append-path": "/usr/lib/sdk/rust-stable/bin", |
| 19 | + "env": { |
| 20 | + "CARGO_HOME": "/run/build/cosmic-ext-applet-weather/cargo" |
| 21 | + } |
| 22 | + }, |
| 23 | + "modules": [ |
| 24 | + { |
| 25 | + "name": "cosmic-ext-applet-weather", |
| 26 | + "buildsystem": "simple", |
| 27 | + "build-commands": [ |
| 28 | + "cargo --offline fetch --manifest-path Cargo.toml --verbose", |
| 29 | + "cargo --offline build --release --verbose", |
| 30 | + "install -Dm0755 ./target/release/cosmic-ext-applet-weather /app/bin/cosmic-ext-applet-weather", |
| 31 | + "install -Dm0644 ./data/io.github.cosmic_utils.weather-applet.desktop -t /app/share/applications/", |
| 32 | + "install -Dm0644 ./data/io.github.cosmic_utils.weather-applet.metainfo.xml -t /app/share/metainfo/", |
| 33 | + "install -Dm0644 ./data/io.github.cosmic_utils.weather-applet-symbolic.svg -t /app/share/icons/hicolor/scalable/apps/", |
| 34 | + "install -Dm0644 ./data/io.github.cosmic_utils.weather-applet-symbolic-sun.svg -t /app/share/icons/hicolor/scalable/apps/", |
| 35 | + "install -Dm0644 ./data/io.github.cosmic_utils.weather-applet-symbolic-moon.svg -t /app/share/icons/hicolor/scalable/apps/" |
| 36 | + ], |
| 37 | + "sources": [ |
| 38 | + { |
| 39 | + "type": "dir", |
| 40 | + "path": "./" |
| 41 | + }, |
| 42 | + "./cargo-sources.json" |
| 43 | + ] |
| 44 | + } |
| 45 | + ] |
| 46 | +} |
0 commit comments