-
Notifications
You must be signed in to change notification settings - Fork 1
/
com.github.marinm.songrec.json
46 lines (46 loc) · 1.48 KB
/
com.github.marinm.songrec.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
{
"app-id": "com.github.marinm.songrec",
"runtime": "org.freedesktop.Platform",
"runtime-version": "23.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"command": "songrec",
"finish-args": [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--device=all",
"--filesystem=home:ro",
"--socket=pulseaudio"
],
"build-options": {
"append-path" : "/usr/lib/sdk/rust-stable/bin",
"env" : {
"CARGO_HOME" : "/run/build/songrec/.cargo"
}
},
"modules": [
{
"name": "songrec",
"buildsystem": "simple",
"build-commands": [
"cargo --offline fetch --verbose",
"cargo --offline build --release --verbose",
"install -Dm755 ./target/release/songrec -t /app/bin/",
"cp -ra ./packaging/rootfs/usr/share /app/",
"mkdir -p /app/share/songrec",
"cp -ra ./translations /app/share/songrec"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/marin-m/SongRec/releases/download/0.4.3/songrec_tarball_0.4.3_for_flathub_build.tar.gz",
"sha256": "2cac62f0c3835c74ece3137ac17e3a77a7a268414de6418613770de825452818"
}
]
}
]
}