1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-04 01:42:44 +00:00

Add basic settings framework

This settingsframework uses mlite5 on SailfishOS and other platforms
with the mlite library present, because I believe DConf is neat. For
platforms that do not have DConf and mlite present, it falls back to a
quickly put together implementation that uses QSettings as a backend.

Implementing an settings item is simply done by subclassing the
Jellyfin::QObjectSettingsWrapper.
This commit is contained in:
Chris Josten 2021-09-02 15:34:32 +02:00
parent a89834044c
commit 1453cbbc63
8 changed files with 530 additions and 3 deletions

View file

@ -24,6 +24,7 @@ PkgConfigBR:
- Qt5Qml
- Qt5Quick
- Qt5WebSockets
- mlite5
# Build dependencies without a pkgconfig setup can be listed here
# PkgBR:
@ -50,7 +51,7 @@ Macros:
ConfigOptions:
- -DPLATFORM_SAILFISHOS=1
- -DSAILFIN_VERSION='%{version}-%{release}'
# ExtraInstall: |
# mv /home/deploy/installroot/home/deploy/installroot/usr/share/harbour-sailfin/plugins /home/deploy/installroot/usr/share/harbour-sailfin/plugins