Package Details: ncspot 0.8.1-1

Git Clone URL: (read-only, click to copy)
Package Base: ncspot
Description: Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
Upstream URL:
Licenses: BSD
Conflicts: ncspot
Provides: ncspot
Submitter: alevalv
Maintainer: alevalv
Last Packager: alevalv
Votes: 30
Popularity: 4.51
First Submitted: 2019-11-22 19:08
Last Updated: 2021-07-28 00:46

Latest Comments

oncomouse commented on 2021-07-30 18:44

Installing 0.8.1-1, I get the following error:

==> Starting prepare()...
error: failed to download `zvariant_derive v2.7.0`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `/home/user/.cargo/registry/src/`

Caused by:
  feature `resolver` is required

  this Cargo does not support nightly features, but if you
  switch to nightly channel you can add
  `cargo-features = ["resolver"]` to enable this feature
==> ERROR: A failure occurred in prepare().
error: failed to build 'ncspot-0.8.1-1':
error: packages failed to buid: ncspot-0.8.1-1

I added +nightly to the three calls to cargo in the PKGBUILD and it looks to have built. I don't know if this is a configuration error on my system or a general problem, though.

vagorafaelino commented on 2021-05-14 17:55

ncspot 0.7.1 is out! Fixes issues from previous version Thanks in advance

mbc commented on 2021-05-02 20:45

Thanks so much for maintaining this package. Any chance you could alter the PKGBUILD so it compiles with the cover feature so we could get album art displayed, as detailed here - ?

zethra commented on 2021-02-05 08:41

Hey friend, you're missing a few dependencies. Looking at the ncspot README you're missing dbus and libxcb. You also need to add pkgconf to makedepends. Besides those ncspot (at least on my system) seems to link to libs from the following packages:


Not sure you need to include all of those but you might want to look into it.

By the way, you can generate that package list with the following command ldd /usr/bin/ncspot | awk '{print $3}' | xargs pacman -Qqo | sort | uniq

jrballesteros05 commented on 2020-08-25 14:44

Hello, I made some modifications from your PKGBUILD. I personally don't install pulseaudio. The changes just check if pulseaudio is installed. If it isn't it just compile with alsa backend. If you feel the changes are ugly or it does not make sense feel free to reject them.

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
if pacman -Qs $package > /dev/null ; then
    echo "The package $package is installed"
    cargo build --release --locked
    echo "The package $package is not installed"
    cargo build --release --no-default-features --features share_clipboard,alsa_backend,mpris,cursive/pancurses-backend --locked

check() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  if pacman -Qs $package > /dev/null ; then
    echo "The package $package is installed"
    cargo test --release --locked
    echo "The package $package is not installed"
    cargo test --release --no-default-features --features share_clipboard,alsa_backend,mpris,cursive/pancurses-backend --locked

mundo03 commented on 2020-07-18 01:35

I got an error from rust. "error: no default toolchain configured" had to do this: rustup install stable

jal666 commented on 2020-06-01 10:05

Works also with armv7l (pi4) - nice with guake!

timttmy commented on 2020-02-15 10:08

Just a thank you for the PKGBUILD. Works like a charm even on armv8 (If you add it as a target ARCH).

alevalv commented on 2019-12-17 01:54

jgalar, the makepkg wouldn't even run without you installing the make dependencies, so this is not an issue with this PKGBUILD. I tried with yay and using the PKGBUILD only and it works as expected.

jgalar commented on 2019-12-16 16:28

Getting this error:

:: Retrieving package(s)...
update complete: /home/jgalar/.cache/pacaur/ncspot
:: ncspot build files are up-to-date -- skipping
:: Checking ncspot integrity...
==> Making package: ncspot 0.1.1-1 (Mon 16 Dec 2019 11:27:00 AM EST)
==> Retrieving sources...
  -> Found
==> Validating source files with sha512sums... ... Passed
:: Preparing ncspot...
==> Making package: ncspot 0.1.1-1 (Mon 16 Dec 2019 11:27:01 AM EST)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Found
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting with bsdtar
==> Starting prepare()...
/home/jgalar/.cache/pacaur/ncspot/PKGBUILD: line 19: cargo: command not found
==> ERROR: A failure occurred in prepare().

I'm not sure makedepends packages are supposed to be used during the "prepare" step.