mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-07-08 02:57:45 +02:00
feat: Add flatpak build tools
This commit is contained in:
parent
638abd5b86
commit
727808db46
5 changed files with 1450 additions and 5 deletions
41
flatpak/org.xetibo.ReSet.json
Normal file
41
flatpak/org.xetibo.ReSet.json
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"app-id": "org.xetibo.ReSet",
|
||||
"runtime": "org.gnome.Platform",
|
||||
"runtime-version": "45",
|
||||
"sdk": "org.gnome.Sdk",
|
||||
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
|
||||
"command": "reset",
|
||||
"finish-args": [
|
||||
"--socket=session-bus",
|
||||
"--share=ipc",
|
||||
"--socket=fallback-x11",
|
||||
"--socket=wayland",
|
||||
"--device=dri"
|
||||
],
|
||||
"build-options": {
|
||||
"append-path": "/usr/lib/sdk/rust-stable/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 --release --verbose",
|
||||
"install -Dm755 ./target/release/reset -t /app/bin/"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "dir",
|
||||
"path": ".."
|
||||
},
|
||||
"cargo-sources.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue