No, as Librespot is not in Chum. If you build it yourself, you basically download only the source-code which you then compile into an executable (very simple explanation)
Ok then, I will try my best to guide you through the steps. For the compilation process I used ressources from
I have a detailed description at home, but I’m currently at work so I’m trying to explain this to you out of my memory. I hope I don’t forget something, otherwise you will need to wait a few hours…
-
Step 1: Install the tools required to build RUST-programs on your phone: Visit this site on your phone and copy the command into your terminal
-
Step 2: Install git (I don’t remember if it is installed by default):
devel-su pkcon install git
if it doesn’t find the package, trydevel-su pkcon refresh
and then try it again -
Step 3: Clone the official librespot-repository:
git clone https://github.com/librespot-org/librespot.git
-
Step 4: Change into the downloaded folder:
cd librespot/
-
Step 5: Install gcc as it is required for the build process if I remember correctly:
devel-su pkcon install gcc
-
Step 6: Build librespot:
cargo build --release --features "alsa-backend pulseaudio-backend"
After that you can execute it with /home/defaultuser/librespot/target/release/librespot --cache /home/defaultuser/.cache/librespot --username <Your Username here> -b 320 -n Xperia10III --backend pulseaudio
If you encounter any problems on the way, just post them here and I will try to help