38 lines
985 B
JSON
38 lines
985 B
JSON
{
|
|
"app-id": "io.github.gooba42.coldiron",
|
|
"runtime": "org.freedesktop.Platform",
|
|
"runtime-version": "24.08",
|
|
"sdk": "org.freedesktop.Sdk",
|
|
"sdk-extensions": [
|
|
"org.freedesktop.Sdk.Extension.rust-stable"
|
|
],
|
|
"command": "ColdIron",
|
|
"finish-args": [
|
|
"--share=ipc",
|
|
"--socket=fallback-x11",
|
|
"--socket=wayland",
|
|
"--device=dri"
|
|
],
|
|
"build-options": {
|
|
"append-path": "/usr/lib/sdk/rust-stable/bin",
|
|
"env": {
|
|
"CARGO_HOME": "/run/build/coldiron/cargo"
|
|
}
|
|
},
|
|
"modules": [
|
|
{
|
|
"name": "coldiron",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"cargo build --release",
|
|
"install -Dm755 target/release/ColdIron /app/bin/ColdIron"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": ".."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |