32 lines
673 B
Prolog
32 lines
673 B
Prolog
TARGET = harbour-batterybuddy-daemon
|
|
|
|
CONFIG = qt console c++11 sailfish_build
|
|
|
|
QT = core network
|
|
|
|
# Keep this in sync with "application.pro"
|
|
VER = 3.5
|
|
REL = 1
|
|
|
|
VERSION = $${VER}-$${REL}
|
|
DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\"
|
|
DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\"
|
|
|
|
HEADERS += \
|
|
src/battery.h \
|
|
src/notification.h \
|
|
src/settings.h
|
|
|
|
SOURCES += \
|
|
src/battery.cpp \
|
|
src/notification.cpp \
|
|
src/settings.cpp \
|
|
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
|