ReSet/flatpak/org.Xetibo.ReSet.json
2024-06-02 20:40:30 +02:00

52 lines
1.3 KiB
JSON

{
"app-id": "org.Xetibo.ReSet",
"runtime": "org.gnome.Platform",
"runtime-version": "46",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-nightly"
],
"command": "reset",
"finish-args": [
"--socket=pulseaudio",
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri",
"--device=all",
"--allow=bluetooth",
"--socket=system-bus",
"--socket=session-bus",
"--persist=~/.config/reset:create"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-nightly/bin"
},
"modules": [
{
"name": "reset",
"buildsystem": "simple",
"build-options": {
"env": {
"CARGO_HOME": "/run/build/reset/cargo"
}
},
"build-commands": [
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
"cargo --offline build --verbose",
"install -Dm755 ./target/debug/reset -t /app/bin/",
"install -Dm644 ./src/resources/icons/ReSet.svg /app/share/icons/hicolor/scalable/apps/org.Xetibo.ReSet.svg",
"install -Dm644 ./flatpak/org.Xetibo.ReSet.desktop /app/share/applications/org.Xetibo.ReSet.desktop"
],
"sources": [
{
"type": "dir",
"path": ".."
},
"cargo-sources.json"
]
}
]
}