2020-04-24 11:18:26 +03:00
|
|
|
TARGET = harbour-batterybuddy-daemon
|
|
|
|
|
2022-03-20 20:37:47 +03:00
|
|
|
QT = core dbus
|
2020-11-30 21:47:08 +03:00
|
|
|
|
|
|
|
PKGCONFIG += nemonotifications-qt5
|
2020-04-26 11:27:37 +03:00
|
|
|
|
2022-03-19 22:54:01 +03:00
|
|
|
# Keep this in sync with application.pro and .spec
|
2022-08-10 00:43:35 +03:00
|
|
|
VERSION = 4.1.0-beta3
|
2020-04-26 11:27:37 +03:00
|
|
|
|
|
|
|
DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\"
|
|
|
|
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"
|
2020-04-24 11:18:26 +03:00
|
|
|
|
2021-04-17 22:01:19 +03:00
|
|
|
# Use "--verbose" and "--debug" at runtime.
|
|
|
|
# See main() and logger.h for details.
|
|
|
|
DEFINES += QT_NO_DEBUG_OUTPUT
|
|
|
|
|
2022-03-19 23:49:05 +03:00
|
|
|
LIBS += -lkeepalive -lnemonotifications-qt5
|
2021-07-25 20:54:27 +03:00
|
|
|
|
2020-04-24 11:18:26 +03:00
|
|
|
HEADERS += \
|
2020-04-26 11:30:30 +03:00
|
|
|
src/battery.h \
|
2021-04-17 22:01:19 +03:00
|
|
|
src/logger.h \
|
2022-03-20 20:37:47 +03:00
|
|
|
src/settings.h \
|
|
|
|
src/mynotification.h
|
2020-04-24 11:18:26 +03:00
|
|
|
|
|
|
|
SOURCES += \
|
2020-04-26 11:30:30 +03:00
|
|
|
src/battery.cpp \
|
2021-04-17 22:01:19 +03:00
|
|
|
src/logger.cpp \
|
2020-04-26 11:30:30 +03:00
|
|
|
src/settings.cpp \
|
2022-03-20 20:37:47 +03:00
|
|
|
src/harbour-batterybuddy-daemon.cpp \
|
|
|
|
src/mynotification.cpp
|
2021-05-23 15:27:26 +03:00
|
|
|
|
2020-04-24 11:18:26 +03:00
|
|
|
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
|