TARGET = harbour-batterybuddy-daemon QT = core dbus PKGCONFIG += nemonotifications-qt5 # Keep this in sync with application.pro and .spec VERSION = 4.0.0-1 DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\" DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\" # Use "--verbose" and "--debug" at runtime. # See main() and logger.h for details. DEFINES += QT_NO_DEBUG_OUTPUT LIBS += -lkeepalive -lnemonotifications-qt5 HEADERS += \ src/battery.h \ src/logger.h \ src/settings.h \ src/mynotification.h SOURCES += \ src/battery.cpp \ src/logger.cpp \ src/settings.cpp \ src/harbour-batterybuddy-daemon.cpp \ src/mynotification.cpp OTHER_FILES += harbour-batterybuddy-daemon.service service.path = /usr/lib/systemd/user/ service.files += harbour-batterybuddy-daemon.service target.path = /usr/bin/ INSTALLS += target service