It looks like running all the npm commands (which aren't in the GitHub Action when building new releases) was the problem.
Here's the diff with my fixed PKGBUILD:
diff --git a/PKGBUILD b/PKGBUILD
index 9e85696..a8a51f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ license=('GPL-3.0')
replaces=('qobuz-player')
conflicts=('qobine-git')
depends=('alsa-lib' 'gtk4' 'libadwaita' 'webkitgtk-6.0' 'pango' 'gdk-pixbuf2' 'graphene')
-makedepends=('protobuf' 'cargo' 'nodejs' 'npm' 'sqlx-cli')
+makedepends=('protobuf' 'cargo' 'sqlx-cli')
optdepends=('ttf-font-nerd: glyph support')
source=("qobine-${_release_version}.tar.gz::https://github.com/SofusA/qobine/archive/refs/tags/v${_release_version}.tar.gz")
sha256sums=('702b0ceb99a4c5ceb702dc0ff79360d87e37a1ba5699b2af549d1be7649e80d2')
@@ -19,24 +19,22 @@ prepare() {
cd "${pkgname}-${_release_version}"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target $(rustc --print host-tuple)
- cd web-module
- npm install
}
build() {
cd "${pkgname}-${_release_version}"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
- #Build the webUI (thanks to moystard)
- cd web-module
- npm run build
- npm run build-assets
- cd ..
- #Build the database
+
+ # Force recompilation of web-module so rust-embed picks up assets
+ cargo clean -p web-module
+
+ # Build the database
export DATABASE_URL="sqlite:///tmp/qobuz-player.db"
cargo sqlx db create
cargo sqlx migrate run --source player-module/migrations
- #Build the program
+
+ # Build the program
cargo build --frozen --release
}
@@ -47,5 +45,4 @@ package() {
install -Dm0755 -t "$pkgdir/usr/bin/" target/release/{qobine-gtk,qobine-tui,qobine-web}
# Install the binaries for the disconnect service
install -Dm0755 -t "$pkgdir/usr/bin/" target/release/{qobine-connect,disconnect-server}
-
}
The fix removes all npm steps from the build and adds cargo clean -p web-module to force a fresh compilation of web-module.
Pinned Comments
orangesoda commented on 2026-08-02 21:58 (UTC) (edited on 2026-08-02 22:00 (UTC) by orangesoda)
@npreining, i am aware. I was being stupid. but pushing to the aur rn is disabled so i cant fix it... Use this patch: