Package Details: ncspot 0.2.4-1

Git Clone URL: https://aur.archlinux.org/ncspot.git (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: https://github.com/hrkfdn/ncspot
Licenses: BSD
Conflicts: ncspot
Provides: ncspot
Submitter: alevalv
Maintainer: alevalv
Last Packager: alevalv
Votes: 12
Popularity: 1.65
First Submitted: 2019-11-22 19:08
Last Updated: 2020-10-28 20:08

Latest Comments

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}"
package=pulseaudio
if pacman -Qs $package > /dev/null ; then
    echo "The package $package is installed"
    cargo build --release --locked
else
    echo "The package $package is not installed"
    cargo build --release --no-default-features --features share_clipboard,alsa_backend,mpris,cursive/pancurses-backend --locked
fi
}

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

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 v0.1.1.zip
==> Validating source files with sha512sums...
    v0.1.1.zip ... 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 v0.1.1.zip
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting v0.1.1.zip with bsdtar
==> Starting prepare()...
/home/jgalar/.cache/pacaur/ncspot/PKGBUILD: line 19: cargo: command not found
==> ERROR: A failure occurred in prepare().
    Aborting...

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