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