SDK for building Nuvola Player integration scripts.
- Python >= 3.4
pip3 install -U nuvolasdk- or
sudo pip3 install -U nuvolasdk
python3 setup.py buildpython3 setup.py install --prefix="$(PREFIX)" --root="$(DEST)"
- GNU Make
- SVG optimizer: Scour
- SVG converter: Lasem, librsvg, GraphicsMagick, ImageMagick
- Pillow >= 4.3
- Run
./configureto generateMakefileandmetadata.jsonfrom details inmetadata.in.json. Recognized options:--prefix: Specify a custom build prefix instead of/usr/local. Example:./configure --prefix=/usr
- Run
make allto build the project. - Run
make installto install the project. Recognized variables:DESTDIR: A custom installation destination (defaults to the filesystem root). Example:make DESTDIR=/tmp/build/package install
- Run
make uninstallto uninstall the project. Recognized variables:DESTDIR: A custom installation destination (defaults to the filesystem root). Example:make DESTDIR=/tmp/build/package uninstall
nuvolasdk new-project
When run without additional arguments, user will be asked to provide necessary metadata for the script.
In order to get information about available arguments run nuvolasdk new-project --help.
nuvolasdk check-project
Please run this check before a code review.
nuvolasdk convert-project
If used on new-style projects using Nuvola SDK, the project is updated to the latest standards.
If used on old-style projects without SDK, the project is converted to a new-style project with SDK. Notable changes:
- The metadata file
metadata.jsonhas been renamed tometadata.in.jsonand contains a newbuildsection. - A new script
configureloads the SDK to readmetadata.in.jsonin order to generateMakefileandmetadata.json(without thebuildsection but with new metadata fromconfigureprocess. - The old
Makefileis renamed toMakefile.oldand can be safely removed once the new-style project build successfully. - The scripts
svg-convert.shandsvg-optimize.share removed because they are included in the SDK.
See CHANGELOG.md.