2020-04-24 11:18:26 +03:00
|
|
|
TARGET = harbour-batterybuddy-daemon
|
|
|
|
|
2020-11-30 21:47:08 +03:00
|
|
|
CONFIG = sailfishapp qt console c++11 sailfish_build
|
2020-04-24 11:18:26 +03:00
|
|
|
|
2020-11-30 21:47:08 +03:00
|
|
|
QT = core network dbus
|
|
|
|
|
|
|
|
PKGCONFIG += nemonotifications-qt5
|
2020-04-26 11:27:37 +03:00
|
|
|
|
|
|
|
# Keep this in sync with "application.pro"
|
2020-11-15 23:44:08 +03:00
|
|
|
VER = 3.6
|
2020-11-17 17:10:49 +03:00
|
|
|
REL = 3
|
2020-04-26 11:27:37 +03:00
|
|
|
|
|
|
|
VERSION = $${VER}-$${REL}
|
|
|
|
DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\"
|
|
|
|
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"
|
2020-04-24 11:18:26 +03:00
|
|
|
|
|
|
|
HEADERS += \
|
2020-04-26 11:30:30 +03:00
|
|
|
src/battery.h \
|
2020-04-26 18:20:28 +03:00
|
|
|
src/notification.h \
|
2020-04-26 11:30:30 +03:00
|
|
|
src/settings.h
|
2020-04-24 11:18:26 +03:00
|
|
|
|
|
|
|
SOURCES += \
|
2020-04-26 11:30:30 +03:00
|
|
|
src/battery.cpp \
|
2020-04-26 18:20:28 +03:00
|
|
|
src/notification.cpp \
|
2020-04-26 11:30:30 +03:00
|
|
|
src/settings.cpp \
|
2020-04-24 11:18:26 +03:00
|
|
|
src/harbour-batterybuddy-daemon.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
|