Compare commits

..

3 Commits

Author SHA1 Message Date
arabianq caf8ac19a1 ci: add --no-wait flag to copr in release.yml 2026-06-19 15:31:05 +03:00
arabianq f563680ceb ci: add rust-cache 2026-06-19 15:29:03 +03:00
dependabot[bot] 78ca2ddf68 chore(deps): bump opener from 0.8.4 to 0.8.5 (#139)
* chore(deps): bump opener from 0.8.4 to 0.8.5

Bumps [opener](https://github.com/Seeker14491/opener) from 0.8.4 to 0.8.5.
- [Changelog](https://github.com/Seeker14491/opener/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Seeker14491/opener/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: opener
  dependency-version: 0.8.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* deps(flatpak): update cargo-sources.json

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: arabian <a.tevg@ya.ru>
2026-06-19 02:47:19 +03:00
6 changed files with 254 additions and 669 deletions
+6
View File
@@ -45,6 +45,9 @@ jobs:
with: with:
toolchain: 1.96.0 toolchain: 1.96.0
- name: Rust Cache
uses: swatinem/rust-cache@v2
- name: Run tests - name: Run tests
run: cargo test --locked run: cargo test --locked
@@ -135,6 +138,9 @@ jobs:
with: with:
toolchain: 1.96.0 toolchain: 1.96.0
- name: Rust Cache
uses: swatinem/rust-cache@v2
- name: Build all binaries (debug-speed compilation into target/release) - name: Build all binaries (debug-speed compilation into target/release)
env: env:
CARGO_PROFILE_RELEASE_OPT_LEVEL: 0 CARGO_PROFILE_RELEASE_OPT_LEVEL: 0
+6 -4
View File
@@ -60,9 +60,9 @@ jobs:
echo "default-branch: ${{ steps.set_branch.outputs.branch }}" >> packages/flatpak/ru.arabianq.pwsp.yaml echo "default-branch: ${{ steps.set_branch.outputs.branch }}" >> packages/flatpak/ru.arabianq.pwsp.yaml
- name: Install SDK Extensions - name: Install SDK Extensions
run: run: |
flatpak install -y flathub org.freedesktop.Sdk.Extension.rust-stable//25.08 flatpak install -y flathub org.freedesktop.Sdk.Extension.rust-stable//25.08
org.freedesktop.Sdk.Extension.llvm20//25.08 flatpak install -y flathub org.freedesktop.Sdk.Extension.llvm20//25.08
- name: Build Flatpak - name: Build Flatpak
uses: andyholmes/flatter@main uses: andyholmes/flatter@main
@@ -72,6 +72,7 @@ jobs:
upload-bundles: false upload-bundles: false
upload-pages-artifact: false upload-pages-artifact: false
arch: x86_64 arch: x86_64
cache: true
flatter-arm64: flatter-arm64:
name: Flatter (aarch64) name: Flatter (aarch64)
@@ -113,9 +114,9 @@ jobs:
echo "default-branch: ${{ steps.set_branch.outputs.branch }}" >> packages/flatpak/ru.arabianq.pwsp.yaml echo "default-branch: ${{ steps.set_branch.outputs.branch }}" >> packages/flatpak/ru.arabianq.pwsp.yaml
- name: Install SDK Extensions - name: Install SDK Extensions
run: run: |
flatpak install -y flathub org.freedesktop.Sdk.Extension.rust-stable//25.08 flatpak install -y flathub org.freedesktop.Sdk.Extension.rust-stable//25.08
org.freedesktop.Sdk.Extension.llvm20//25.08 flatpak install -y flathub org.freedesktop.Sdk.Extension.llvm20//25.08
- name: Build Flatpak - name: Build Flatpak
uses: andyholmes/flatter@main uses: andyholmes/flatter@main
@@ -125,6 +126,7 @@ jobs:
upload-bundles: false upload-bundles: false
upload-pages-artifact: true upload-pages-artifact: true
arch: aarch64 arch: aarch64
cache: true
deploy: deploy:
name: Deploy to GitHub Pages name: Deploy to GitHub Pages
+8 -2
View File
@@ -97,6 +97,9 @@ jobs:
with: with:
toolchain: 1.96.0 toolchain: 1.96.0
- name: Rust Cache
uses: swatinem/rust-cache@v2
- name: Extract all binary names - name: Extract all binary names
id: cargo-meta id: cargo-meta
run: | run: |
@@ -180,6 +183,9 @@ jobs:
with: with:
toolchain: 1.96.0 toolchain: 1.96.0
- name: Rust Cache
uses: swatinem/rust-cache@v2
- name: Build all release binaries - name: Build all release binaries
run: cargo build --release --locked run: cargo build --release --locked
@@ -254,8 +260,8 @@ jobs:
run: | run: |
mkdir -p ~/.config mkdir -p ~/.config
echo "$COPR_CONFIG" > ~/.config/copr echo "$COPR_CONFIG" > ~/.config/copr
copr-cli buildscm --clone-url https://github.com/arabianq/pipewire-soundpad.git \ copr-cli buildscm --nowait \
--clone-url https://github.com/arabianq/pipewire-soundpad.git \
--commit ${{ needs.prepare.outputs.tag }} \ --commit ${{ needs.prepare.outputs.tag }} \
--spec packages/rpm/pwsp.spec \ --spec packages/rpm/pwsp.spec \
arabianq/pwsp arabianq/pwsp
Generated
+112 -306
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+13 -14
View File
@@ -308,18 +308,7 @@ impl SoundpadGui {
let mut read = Vec::new(); let mut read = Vec::new();
if let Ok(entries) = std::fs::read_dir(&path) { if let Ok(entries) = std::fs::read_dir(&path) {
for entry in entries.filter_map(|e| e.ok()) { for entry in entries.filter_map(|e| e.ok()) {
let child_path = entry.path(); read.push(entry.path());
if !child_path.is_dir()
&& !crate::gui::SUPPORTED_EXTENSIONS.contains(
&child_path
.extension()
.unwrap_or_default()
.to_str()
.unwrap_or_default(),
) {
continue;
}
read.push(child_path);
} }
} }
let sort_order = config.get_sort_order(&path); let sort_order = config.get_sort_order(&path);
@@ -342,8 +331,17 @@ impl SoundpadGui {
let search_query = search_query.trim(); let search_query = search_query.trim();
for child in children { for child in children {
if !child.is_dir() if !child.is_dir() {
&& !search_query.is_empty() { if !crate::gui::SUPPORTED_EXTENSIONS.contains(
&child
.extension()
.unwrap_or_default()
.to_str()
.unwrap_or_default(),
) {
continue;
}
if !search_query.is_empty() {
let file_name = child let file_name = child
.file_name() .file_name()
.unwrap_or_default() .unwrap_or_default()
@@ -353,6 +351,7 @@ impl SoundpadGui {
continue; continue;
} }
} }
}
Self::draw_tree_node(ui, child, config, app_state, audio_player_state, actions); Self::draw_tree_node(ui, child, config, app_state, audio_player_state, actions);
} }
}); });