mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-04-04 13:02:01 +02:00
flatpak: add debug version
This commit is contained in:
parent
c9d3ac9317
commit
4220726ea8
|
@ -1 +1 @@
|
|||
flake-profile-1-link
|
||||
flake-profile-4-link
|
|
@ -1 +0,0 @@
|
|||
/nix/store/xrq8ppsi3rg3qjvlkvkvndic04y99djw-nix-shell-env
|
1
.direnv/flake-profile-4-link
Symbolic link
1
.direnv/flake-profile-4-link
Symbolic link
|
@ -0,0 +1 @@
|
|||
/nix/store/q1w89c69h80a7vwlbqnsa396203k6hff-nix-shell-env
|
|
@ -1,4 +1,3 @@
|
|||
#! /bin/bash
|
||||
python3 flatpak-generator.py ../Cargo.lock -o cargo-sources.json
|
||||
flatpak-builder build org.Xetibo.ReSet.json --force-clean
|
||||
flatpak build-export export build
|
||||
|
|
File diff suppressed because it is too large
Load diff
1945
flatpak/generated-sources.json
Normal file
1945
flatpak/generated-sources.json
Normal file
File diff suppressed because it is too large
Load diff
51
flatpak/org.Xetibo.ReSet-release.json
Normal file
51
flatpak/org.Xetibo.ReSet-release.json
Normal file
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
"app-id": "org.Xetibo.ReSet",
|
||||
"runtime": "org.gnome.Platform",
|
||||
"runtime-version": "45",
|
||||
"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 --release --verbose",
|
||||
"install -Dm755 ./target/release/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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
"runtime-version": "45",
|
||||
"sdk": "org.gnome.Sdk",
|
||||
"sdk-extensions": [
|
||||
"org.freedesktop.Sdk.Extension.rust-stable"
|
||||
"org.freedesktop.Sdk.Extension.rust-nightly"
|
||||
],
|
||||
"command": "reset",
|
||||
"finish-args": [
|
||||
|
@ -17,10 +17,11 @@
|
|||
"--device=all",
|
||||
"--allow=bluetooth",
|
||||
"--socket=system-bus",
|
||||
"--socket=session-bus"
|
||||
"--socket=session-bus",
|
||||
"--persist=~/.config/reset:create"
|
||||
],
|
||||
"build-options": {
|
||||
"append-path": "/usr/lib/sdk/rust-stable/bin"
|
||||
"append-path": "/usr/lib/sdk/rust-nightly/bin"
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
|
@ -33,7 +34,7 @@
|
|||
},
|
||||
"build-commands": [
|
||||
"cargo --offline fetch --manifest-path Cargo.toml --verbose",
|
||||
"cargo --offline build --release --verbose",
|
||||
"cargo --offline build --verbose",
|
||||
"install -Dm755 ./target/release/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"
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
, wrapGAppsHook4
|
||||
, gtk4
|
||||
, libadwaita
|
||||
, python312Packages
|
||||
, flatpak
|
||||
, flatpak-builder
|
||||
, lib
|
||||
, lockFile
|
||||
, ...
|
||||
|
@ -28,6 +31,10 @@ rustPlatform.buildRustPackage rec {
|
|||
dbus
|
||||
gdk-pixbuf
|
||||
gnome.adwaita-icon-theme
|
||||
python312Packages.aiohttp
|
||||
python312Packages.toml
|
||||
flatpak
|
||||
flatpak-builder
|
||||
];
|
||||
|
||||
cargoLock = {
|
||||
|
|
Loading…
Reference in a new issue