-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcom.github.epilys.rlr.json
42 lines (42 loc) · 1.46 KB
/
com.github.epilys.rlr.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
{
"app-id": "com.github.epilys.rlr",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
"command": "rlr",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin"
},
"modules": [{
"name": "rlr",
"buildsystem": "simple",
"build-options": {
"env": {
"CARGO_HOME": "/run/build/rlr/cargo"
}
},
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"cargo --offline build --release --verbose",
"install -Dm755 ./target/release/rlr -t /app/bin/",
"install -Dm644 ./data/${FLATPAK_ID}.Settings.gschema.xml -t /app/share/glib-2.0/schemas/",
"glib-compile-schemas /app/share/glib-2.0/schemas/",
"install -Dm644 ./data/${FLATPAK_ID}.desktop -t /app/share/applications/",
"install -Dm644 ./data/${FLATPAK_ID}.svg -t /app/share/icons/hicolor/scalable/apps/",
"install -Dm644 ./data/${FLATPAK_ID}.png -t /app/share/icons/hicolor/scalable/apps/"
],
"sources": [{
"type": "dir",
"path": "."
},
"cargo-sources.json"
]
}]
}