mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 06:21:23 +00:00
Prepare Application for Flathub Submission (#64)
* chore(flatpak): prepare application for Flathub submission - Change Flatpak filesystem permissions from `host` to `home` to comply with Flathub sandbox rules - Remove `--share=network` build argument and implement offline Rust building using `flatpak-cargo-generator.py` - Add generated `cargo-sources.json` to the Flatpak manifest to download dependencies - Update `CARGO_HOME` environment variable to ensure vendored dependencies are found by `cargo build --offline` - Update `.desktop` categories to meet Flathub specs (`AudioVideo` requirement) - Add required `<releases>`, `bugtracker`, `vcs-browser` URLs, and valid `<developer>` tags to `metainfo.xml` Co-authored-by: arabianq <55220741+arabianq@users.noreply.github.com> * chore(flatpak): prepare application for Flathub submission - Change Flatpak filesystem permissions from `host` to `home` to comply with Flathub sandbox rules - Remove `--share=network` build argument and implement offline Rust building using `flatpak-cargo-generator.py` - Add generated `cargo-sources.json` to the Flatpak manifest to download dependencies - Explicitly set `CARGO_HOME=$PWD/cargo` in build-commands to ensure vendored dependencies are found by `cargo build --offline` - Update `.desktop` categories to meet Flathub specs (`AudioVideo` requirement) - Add required `<releases>`, `bugtracker`, `vcs-browser` URLs, and valid `<developer>` tags to `metainfo.xml` Co-authored-by: arabianq <55220741+arabianq@users.noreply.github.com> * chore(flatpak): add script to generate cargo sources - Added `packages/flatpak/generate-sources.sh` to automate the generation of `cargo-sources.json` - Script downloads the `flatpak-cargo-generator.py` tool from upstream, generates the offline sources map based on `Cargo.lock`, and cleans up after itself Co-authored-by: arabianq <55220741+arabianq@users.noreply.github.com> --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
949307fcf8
commit
d4d16f6ce7
@@ -14,10 +14,9 @@ finish-args:
|
||||
- --filesystem=xdg-run/pipewire-0
|
||||
- --filesystem=xdg-run/pwsp:create
|
||||
- --filesystem=xdg-run/app/ru.arabianq.pwsp:create
|
||||
- --filesystem=host
|
||||
- --filesystem=home
|
||||
- --device=all
|
||||
- --device=dri
|
||||
- --share=network
|
||||
- --talk-name=org.freedesktop.portal.Desktop
|
||||
- --talk-name=org.freedesktop.portal.Documents
|
||||
|
||||
@@ -30,11 +29,8 @@ build-options:
|
||||
modules:
|
||||
- name: pwsp
|
||||
buildsystem: simple
|
||||
build-options:
|
||||
build-args:
|
||||
- --share=network
|
||||
build-commands:
|
||||
- cargo build --release
|
||||
- export CARGO_HOME=$PWD/cargo && cargo build --release --offline
|
||||
- install -Dm755 target/release/pwsp-daemon /app/bin/pwsp-daemon
|
||||
- install -Dm755 target/release/pwsp-cli /app/bin/pwsp-cli
|
||||
- install -Dm755 target/release/pwsp-gui /app/bin/pwsp-gui
|
||||
@@ -45,3 +41,4 @@ modules:
|
||||
sources:
|
||||
- type: dir
|
||||
path: ../../
|
||||
- cargo-sources.json
|
||||
|
||||
Reference in New Issue
Block a user