forked from piggz/libwatchfish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libwatchfish.pri
49 lines (43 loc) · 1.63 KB
/
libwatchfish.pri
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
CONFIG += link_pkgconfig
equals(FLAVOR, "silica") {
QT += contacts
}
contains(WATCHFISH_FEATURES, notificationmonitor) {
PKGCONFIG += dbus-1
HEADERS += $$PWD/notificationmonitor.h $$PWD/notificationmonitor_p.h $$PWD/notification.h
SOURCES += $$PWD/notificationmonitor.cpp $$PWD/notification.cpp
}
contains(WATCHFISH_FEATURES, walltime) {
PKGCONFIG += timed-qt5
HEADERS += $$PWD/walltimemonitor.h $$PWD/walltimemonitor_p.h
SOURCES += $$PWD/walltimemonitor.cpp
}
contains(WATCHFISH_FEATURES, music) {
PKGCONFIG += mpris-qt5
HEADERS += $$PWD/musiccontroller.h $$PWD/musiccontroller_p.h
SOURCES += $$PWD/musiccontroller.cpp
DBUS_INTERFACES += $$PWD/com.Meego.MainVolume2.xml
}
contains(WATCHFISH_FEATURES, calendar) {
equals(FLAVOR, "silica") {
PKGCONFIG += libmkcal-qt5 libkcalcoren-qt5
} else {
QT += KContacts
}
contains (DEFINES, MER_EDITION_SAILFISH) {
HEADERS += $$PWD/calendarsource.h $$PWD/calendarsource_p.h $$PWD/calendarevent.h
} else {
HEADERS += $$PWD/calendarsource.h $$PWD/calendarevent.h
}
SOURCES += $$PWD/calendarsource.cpp $$PWD/calendarevent.cpp
}
contains(WATCHFISH_FEATURES, voicecall) {
HEADERS += $$PWD/voicecallcontroller.h $$PWD/voicecallcontroller_p.h
SOURCES += $$PWD/voicecallcontroller.cpp
DBUS_INTERFACES += $$PWD/org.nemomobile.voicecall.VoiceCallManager.xml $$PWD/org.nemomobile.voicecall.VoiceCall.xml
}
contains (WATCHFISH_FEATURES, volume) {
HEADERS += $$PWD/volumecontroller.h $$PWD/volumecontroller_p.h
SOURCES += $$PWD/volumecontroller.cpp
DBUS_INTERFACES += com.Meego.MainVolume2.xml
}