-
Notifications
You must be signed in to change notification settings - Fork 6
/
libwatchfish.pri
64 lines (57 loc) · 2.3 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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
exists( /usr/include/KF5/KCalendarCore ) {
PKGCONFIG += KF5CalendarCore
DEFINES += KF5CALENDARCORE
}
} 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) {
equals(FLAVOR, "silica") {
HEADERS += $$PWD/voicecallcontroller_sailfish.h $$PWD/voicecallcontroller.h $$PWD/voicecallcontroller_p.h $$PWD/voicecallcontrollerbase.h
SOURCES += $$PWD/voicecallcontroller_sailfish.cpp $$PWD/voicecallcontrollerbase.cpp
DBUS_INTERFACES += $$PWD/org.nemomobile.voicecall.VoiceCallManager.xml $$PWD/org.nemomobile.voicecall.VoiceCall.xml
DEFINES += MER_EDITION_SAILFISH
} else {
HEADERS += $$PWD/voicecallcontroller.h $$PWD/voicecallcontroller_ubuntu.h $$PWD/callchannelobserver.h $$PWD/voicecallcontrollerbase.h
SOURCES += $$PWD/voicecallcontroller_ubuntu.cpp $$PWD/callchannelobserver.cpp $$PWD/voicecallcontrollerbase.cpp
INCLUDEPATH += /usr/include/telepathy-qt5/
LIBS += -ltelepathy-qt5
QT += contacts
DEFINES += UUITK_EDITION
}
}
contains (WATCHFISH_FEATURES, volume) {
HEADERS += $$PWD/volumecontroller.h $$PWD/volumecontroller_p.h
SOURCES += $$PWD/volumecontroller.cpp
DBUS_INTERFACES += com.Meego.MainVolume2.xml
}