/
src.pro
53 lines (41 loc) · 1.2 KB
1
2
3
TARGET = voicecall-manager
TEMPLATE = app
QT = core dbus
4
CONFIG += link_pkgconfig
5
6
INCLUDEPATH += ../lib/src
7
8
9
10
11
enable-nemo-devicelock {
PKGCONFIG += libresourceqt5 nemodevicelock
DEFINES += WITH_NEMO_DEVICELOCK
}
12
13
14
15
16
17
18
19
packagesExist(qt5-boostable) {
DEFINES += HAS_BOOSTER
PKGCONFIG += qt5-boostable
} else {
warning("qt5-boostable not available; startup times will be slower")
}
20
21
QT += multimedia # for basic ringtone plugin.
LIBS += -L../lib/src -lvoicecall
22
23
24
25
HEADERS += \
dbus/voicecallmanagerdbusservice.h \
basicvoicecallconfigurator.h \
26
27
voicecallmanager.h \
basicringtonenotificationprovider.h
28
29
30
31
32
SOURCES += \
dbus/voicecallmanagerdbusservice.cpp \
basicvoicecallconfigurator.cpp \
voicecallmanager.cpp \
33
34
main.cpp \
basicringtonenotificationprovider.cpp
35
36
37
38
39
40
41
enable-audiopolicy {
HEADERS += audiocallpolicyproxy.h
SOURCES += audiocallpolicyproxy.cpp
DEFINES += WITH_AUDIOPOLICY
}
42
43
44
target.path = /usr/bin
INSTALLS += target
45
46
47
48
49
50
OTHER_FILES += voicecall-manager.desktop voicecall-manager.service
systemd_service_entry.files = voicecall-manager.service
systemd_service_entry.path = /usr/lib/systemd/user
51
52
53
install-servicefiles {
INSTALLS += systemd_service_entry
}