-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathdev.edfloreshz.Calculator.json
More file actions
96 lines (96 loc) · 3.18 KB
/
dev.edfloreshz.Calculator.json
File metadata and controls
96 lines (96 loc) · 3.18 KB
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
94
95
96
{
"$schema": "https://raw.githubusercontent.com/flatpak/flatpak-builder/main/data/flatpak-manifest.schema.json",
"id": "dev.edfloreshz.Calculator",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"base": "com.system76.Cosmic.BaseApp",
"base-version": "stable",
"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:rw"
],
"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": "gmp",
"buildsystem": "autotools",
"sources": [
{
"type": "archive",
"url": "https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz",
"sha256": "a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898"
}
]
},
{
"name": "mpfr",
"buildsystem": "autotools",
"sources": [
{
"type": "archive",
"url": "https://www.mpfr.org/mpfr-4.2.1/mpfr-4.2.1.tar.xz",
"sha256": "277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2"
}
]
},
{
"name": "intltool",
"buildsystem": "autotools",
"sources": [
{
"type": "archive",
"url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz",
"sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
}
]
},
{
"name": "libqalculate",
"buildsystem": "autotools",
"sources": [
{
"type": "archive",
"url": "https://github.com/Qalculate/libqalculate/releases/download/v5.7.0/libqalculate-5.7.0.tar.gz",
"sha256": "b0aa7e7f6b729ad88f41c3562e81bdc349e072f4df0e62ce152304d979702cfe"
}
]
},
{
"name": "calculator",
"buildsystem": "simple",
"build-commands": [
"cargo --offline build --release --verbose",
"install -Dm0755 ./target/release/cosmic-ext-calculator -t /app/bin/",
"install -Dm644 ./res/icons/hicolor/scalable/apps/dev.edfloreshz.Calculator.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": "./"
},
"generated-sources.json"
]
}
]
}