what follows below is the old readme:
Starting from 1.5.2-: Release 0 is always the harbour version, Release > 0 is always non-harbour compliant version. The harbour version is a limited version with all .harbour.patch patches applied. This is due to API limitations in harbour.
You need some libraries to build CuteSpotify, also you need QtCreator if you want to open the .pro file.
sudo apt-get install libpulse-dev qtcreator
Also, you might need some of the Qt development package, e.g. qt5-qtsysteminfo-devel.
You need to download libspotify 12 to be able to compile and create the rpm package. Get it there: https://developer.spotify.com/technologies/libspotify/ (For the device you need the version for the eabi-armv6hf architecture)
Extract the content of the tarball inside 'libspotify' at the root of the project.
The resulting hierarchy should be:
When building for the emulator, create a 'libspotify_emu' folder at the root of the project and extract the linux-libc6 x86 version of libspotify in there.
You also need your own libspotify API key to be able to compile and run the program (see https://developer.spotify.com/technologies/libspotify/keys/) Create a file spotify_key.h inside libQtSpotify and copy the provided key inside it using the following format:
#ifndef SPOTIFY_KEY_H
#define SPOTIFY_KEY_H
const uint8_t g_appkey[] = { 0x00, 0x00, ..., ... };
const size_t g_appkey_size = sizeof(g_appkey);
#endif // SPOTIFY_KEY_H
In order to run the project in the emulator you need to ensure nemo-qml-plugin-policy-qt5
is installed in the emulator.
While developing you can add '--debug' as run argument to show debug output