SDK for building Nuvola Player integration scripts.
pip3 install -U nuvolasdk
sudo pip3 install -U nuvolasdk
python3 setup.py build
python3 setup.py install --prefix="$(PREFIX)" --root="$(DEST)"
./configure
to generate Makefile
and metadata.json
from details in metadata.in.json
. Recognized options:
--prefix
: Specify a custom build prefix instead of /usr/local
. Example: ./configure --prefix=/usr
make all
to build the project.make install
to install the project. Recognized variables:
DESTDIR
: A custom installation destination (defaults to the filesystem root).
Example: make DESTDIR=/tmp/build/package install
make uninstall
to 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:
metadata.json
has been renamed to metadata.in.json
and contains a new build
section.configure
loads the SDK to read metadata.in.json
in order to generate Makefile
and
metadata.json
(without the build
section but with new metadata from configure
process.Makefile
is renamed to Makefile.old
and can be safely removed once the new-style
project build successfully.svg-convert.sh
and svg-optimize.sh
are removed because they are included in the SDK.See CHANGELOG.md.