Package Details: sone 0.21.0-2

Git Clone URL: https://aur.archlinux.org/sone.git (read-only, click to copy)
Package Base: sone
Description: Native Linux TIDAL client — lossless streaming with bit-perfect ALSA output
Upstream URL: https://github.com/lullabyX/sone
Keywords: 'alsa' 'audio' 'lossless' 'music' 'streaming' 'tidal'
Licenses: GPL-3.0-only
Conflicts: sone-bin
Submitter: mc_klatz
Maintainer: mc_klatz
Last Packager: mc_klatz
Votes: 4
Popularity: 0.53
First Submitted: 2026-03-08 10:46 (UTC)
Last Updated: 2026-09-04 21:40 (UTC)

Dependencies (16)

Required by (0)

Sources (1)

Latest Comments

mc_klatz commented on 2026-09-04 21:43 (UTC)

Thanks, marakasmalan. Added edits and trimmed some dependence

marakasmalan commented on 2026-08-03 22:28 (UTC)

The pnpm build dependency is now correctly listed under makedepends, since it is only required for pnpm install and pnpm tauri build.

However, the current workaround:

pnpm install --frozen-lockfile --config.manage-package-manager-versions=false

is incomplete for two reasons:

  1. It only applies to pnpm install, while the later pnpm tauri build invocation may still process the packageManager entry in package.json.
  2. With pnpm 11, managePackageManagerVersions has been removed. The replacement is pmOnFail=ignore. Pnpm 11 also uses the pnpm_config_* environment-variable prefix rather than npm_config_*.

To ensure that the packaged Arch version of pnpm is used throughout the build, and to prevent pnpm from attempting an undeclared network download of the pinned version, the following should be applied before both pnpm invocations:

export pnpm_config_pm_on_fail=ignore

For example:

prepare() {
    cd "$srcdir/$pkgname-$pkgver"

    export pnpm_config_pm_on_fail=ignore
    pnpm install --frozen-lockfile

    # Remaining prepare steps...
}

build() {
    cd "$srcdir/$pkgname-$pkgver"

    export CARGO_HOME="$srcdir/cargo-home"
    export pnpm_config_pm_on_fail=ignore

    pnpm tauri build
}

This keeps the build reproducible within the Arch packaging environment and avoids pnpm fetching the exact version pinned in package.json.

mc_klatz commented on 2026-06-12 23:08 (UTC)

should't this package have pnpm as makedeps?

I guess yes — pnpm is only needed at build time (pnpm install + pnpm tauri build), not at runtime, so makedepends is the right place for it.

One caveat: because package.json pins packageManager: "pnpm@11.1.3" and pnpm 9+ defaults manage-package-manager-versions to true, the system pnpm will try to fetch that exact version at build time. Set npm_config_manage_package_manager_versions=false in the PKGBUILD to keep the build using the packaged pnpm and avoid an undeclared network fetch.

angelodalzotto commented on 2026-06-06 10:30 (UTC)

should't this package have pnpm as makedeps?

mc_klatz commented on 2026-03-14 15:25 (UTC)

I've fixed, should be fine, thanks!

lolo543 commented on 2026-03-13 10:31 (UTC)

The app won't launch from the desktop but works fine when launched in terminal. The .desktop file has Exec=io.github.lullabyX.sone but the binary is just sone. Adding sed -i 's/^Exec=.*/Exec=sone/' "data/io.github.lullabyX.sone.desktop" in package() before the install line seems to fix it for me.