mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 14:31:23 +00:00
b2b83f5c32
* cargo fmt * deps: bump clap to 4.6.0 * deps: cargo update * Fix daemon autostart issue caused by sync pipewire retry loop (#43) (#44) At boot time, PipeWire takes some time to register the `pwsp-daemon` and `pwsp-virtual-mic` devices. Previously, the daemon's retry loop for `link_player_to_virtual_mic()` was synchronous and limited to 5 attempts (1.5 seconds total). This caused systemd autostarts to fail with a code 1 if the devices were not yet available. This change replaces the synchronous wait with an asynchronous `tokio::spawn` task. It will retry the link attempt up to 60 times with a 1-second delay without blocking the startup of the rest of the daemon. This prevents it from exiting abruptly during autostart. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> * deps: bump egui & eframe version to 0.34.1 * feat: replaced App::update with new App::logic and App::ui * deps: bump egui_material_icons to 0.6.0 * deps: bump egui_dnd to 0.15.0 * fix: use .codepoint for icons * refactor * refactor: replaced deprecated CentralPanel::show with CentralPanel::show_inside * refactor * change version to 1.6.3 * update rust toolchain in github actions * update freedesktop platform version to 25.08 for flaptak * update github actions for flatpak builds * add flatpak-builder installation inside actions * add flathub configuration to actions * add --user flag to flathub configuration * remove sudo from flatpak actions * Fix/dev flatpak actions 6082245116761610541 (#47) * remove sudo * remove steps --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
48 lines
1.6 KiB
YAML
48 lines
1.6 KiB
YAML
app-id: ru.arabianq.pwsp
|
|
runtime: org.freedesktop.Platform
|
|
runtime-version: "25.08"
|
|
sdk: org.freedesktop.Sdk
|
|
sdk-extensions:
|
|
- org.freedesktop.Sdk.Extension.rust-stable
|
|
- org.freedesktop.Sdk.Extension.llvm20
|
|
command: pwsp-wrapper.py
|
|
finish-args:
|
|
- --share=ipc
|
|
- --socket=fallback-x11
|
|
- --socket=wayland
|
|
- --socket=pulseaudio
|
|
- --filesystem=xdg-run/pipewire-0
|
|
- --filesystem=xdg-run/pwsp:create
|
|
- --filesystem=xdg-run/app/ru.arabianq.pwsp:create
|
|
- --filesystem=host
|
|
- --device=all
|
|
- --device=dri
|
|
- --share=network
|
|
- --talk-name=org.freedesktop.portal.Desktop
|
|
- --talk-name=org.freedesktop.portal.Documents
|
|
|
|
build-options:
|
|
append-path: /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm20/bin
|
|
env:
|
|
CARGO_HOME: /run/build/pwsp/cargo
|
|
LIBCLANG_PATH: /usr/lib/sdk/llvm20/lib
|
|
|
|
modules:
|
|
- name: pwsp
|
|
buildsystem: simple
|
|
build-options:
|
|
build-args:
|
|
- --share=network
|
|
build-commands:
|
|
- cargo build --release
|
|
- 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
|
|
- install -Dm755 packages/flatpak/pwsp-wrapper.py /app/bin/pwsp-wrapper.py
|
|
- install -Dm644 assets/icon.png /app/share/icons/hicolor/256x256/apps/ru.arabianq.pwsp.png
|
|
- install -Dm644 packages/flatpak/ru.arabianq.pwsp.desktop /app/share/applications/ru.arabianq.pwsp.desktop
|
|
- install -Dm644 packages/flatpak/ru.arabianq.pwsp.metainfo.xml /app/share/metainfo/ru.arabianq.pwsp.metainfo.xml
|
|
sources:
|
|
- type: dir
|
|
path: ../../
|