generated from edfloreshz/cosmic-app-template
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
dev.edfloreshz.Calculator.json
48 lines (48 loc) · 1.68 KB
/
dev.edfloreshz.Calculator.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": "dev.edfloreshz.Calculator",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable",
"org.freedesktop.Sdk.Extension.llvm18"
],
"command": "cosmic-ext-calculator",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri",
"--talk-name=com.system76.CosmicSettingsDaemon",
"--filesystem=xdg-config/cosmic:ro"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18/bin",
"env": {
"CARGO_HOME": "/run/build/calculator/cargo",
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER": "clang",
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold",
"CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER": "clang",
"CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
}
},
"modules": [
{
"name": "calculator",
"buildsystem": "simple",
"build-commands": [
"cargo build --release --verbose",
"install -Dm0755 ./target/release/cosmic-ext-calculator -t /app/bin/",
"install -Dm644 ./res/icons/hicolor/scalable/apps/icon.svg /app/share/icons/hicolor/scalable/apps/dev.edfloreshz.Calculator.svg",
"install -Dm644 ./res/metainfo.xml /app/share/metainfo/dev.edfloreshz.Calculator.metainfo.xml",
"install -Dm644 ./res/app.desktop /app/share/applications/dev.edfloreshz.Calculator.desktop"
],
"sources": [
{
"type": "dir",
"path": "./"
}
]
}
]
}