-
Notifications
You must be signed in to change notification settings - Fork 1
/
io.github.wiiznokes.fan-control.json
99 lines (99 loc) · 3.22 KB
/
io.github.wiiznokes.fan-control.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
94
95
96
97
98
99
{
"app-id": "io.github.wiiznokes.fan-control",
"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": "fan-control",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--device=all",
"--filesystem=/sys",
"--talk-name=com.system76.CosmicSettingsDaemon"
],
"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": [
"just prefix=\"/app\" 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": "fan-control",
"buildsystem": "simple",
"build-options": {
"env": {
"CARGO_HOME": "/run/build/fan-control/cargo"
},
"append-path": "/usr/lib/sdk/llvm18/bin",
"prepend-ld-library-path": "/usr/lib/sdk/llvm18/lib"
},
"build-commands": [
"rm /app/bin/just",
"make -C ./hardware/libsensors/ install PREFIX=./../../build/libsensors ETCDIR=./../../build/libsensors/etc",
"FAN_CONTROL_FORMAT=flatpak cargo --offline build --release --verbose",
"install -Dm755 ./target/release/fan-control -t /app/bin/",
"install -Dm644 ./res/linux/app_icon.svg /app/share/icons/hicolor/scalable/apps/io.github.wiiznokes.fan-control.svg",
"install -Dm644 ./res/linux/metainfo.xml /app/share/metainfo/io.github.wiiznokes.fan-control.metainfo.xml",
"install -Dm644 ./res/linux/desktop_entry.desktop /app/share/applications/io.github.wiiznokes.fan-control.desktop"
],
"sources": [
{
"type": "git",
"url": "https://github.com/wiiznokes/fan-control",
"commit": "15d88573fbb18effc516fe6cc17cd67eeda2204d"
},
"./cargo-sources.json"
]
}
]
}