How to: Build ncspot on CL

I came across a very nice Spotify CLI client named ncspot.

In case someone will try it, here are the build instructons.

Install dependencies:

$ sudo swupd bundle-add git rust-basic devpkg-ncurses devpkg-openssl devpkg-alsa-lib devpkg-pulseaudio devpkg-libxcb

Build:

$ git clone https://github.com/hrkfdn/ncspot
$ cd ncspot
$ cargo build --release

Run (whitin the ncspot directory):

$ cargo run ncspot

Path to config and other informations can be gathered from the GitHub page.

2 Likes

Thank you for your help.
I also had to bundle-add devpkg-libxcb to cope with the libdbus-sys error.