Prima release dell'app Sailfish: schermata unica con CPU, memoria, disco, container, backup, servizi, SSH, aggiornamenti e VPN, letti da un endpoint read-only /v1/status. Soglie giallo/rosso, aggiornamento ogni 60 s, copertina, impostazioni con indirizzo e token.
38 lines
986 B
Prolog
38 lines
986 B
Prolog
TEMPLATE = app
|
|
TARGET = harbour-server
|
|
|
|
CONFIG += sailfishapp
|
|
CONFIG += c++11
|
|
|
|
QT += network
|
|
|
|
SOURCES += \
|
|
src/main.cpp \
|
|
src/settings.cpp \
|
|
src/statusclient.cpp
|
|
|
|
HEADERS += \
|
|
src/settings.h \
|
|
src/statusclient.h
|
|
|
|
OTHER_FILES += \
|
|
qml/harbour-server.qml \
|
|
qml/pages/*.qml \
|
|
qml/components/*.qml \
|
|
qml/cover/*.qml \
|
|
rpm/harbour-server.spec \
|
|
rpm/harbour-server.desktop
|
|
|
|
DISTFILES += $$OTHER_FILES
|
|
|
|
# Icone installate via make install (struttura standard hicolor)
|
|
icons86.path = /usr/share/icons/hicolor/86x86/apps
|
|
icons86.files = $$PWD/icons/86x86/harbour-server.png
|
|
icons108.path = /usr/share/icons/hicolor/108x108/apps
|
|
icons108.files = $$PWD/icons/108x108/harbour-server.png
|
|
icons128.path = /usr/share/icons/hicolor/128x128/apps
|
|
icons128.files = $$PWD/icons/128x128/harbour-server.png
|
|
icons172.path = /usr/share/icons/hicolor/172x172/apps
|
|
icons172.files = $$PWD/icons/172x172/harbour-server.png
|
|
INSTALLS += icons86 icons108 icons128 icons172
|