Please help me compile and install Spot, a native Spotify client for GNOME, on Ubuntu 22.04.
Instructions
Here are the instructions from the application's GitHub page:
Requires Rust (stable), GTK4, and a couple other things. Also requires libadwaita: it is not packaged on all distros at the moment, you might have to build it yourself!
With meson:
meson target -Dbuildtype=debug -Doffline=false --prefix="$HOME/.local" ninja install -C targetThis will install a
.desktopfile among other things, and the spot executable will be put in.local/bin(you might want to add it to your path).To build an optimized release build, use
-Dbuildtype=releaseinstead.
What I've Tried
I downloaded the source code using:
git clone https://github.com/xou816/spot.gitI do not know how to install Rust (as a deb package) in Ubuntu.
I have installed
mesonandninjaas follows. Is this correct? Am I missing any other packages?sudo apt install ninja-build mesonI get the following error when I execute the
meson target...command from above. How can I resolve this?src/meson.build:3.0: ERROR: Pkg-config binary for machine 1 not found. Giving up.