Backport of QGeo*InfoSourceMaemo5 and others fixes
[googlelatitude] / LatitudeUpdater-common.pri
1 QT       += network
2 CONFIG   += mobility
3 MOBILITY += location
4
5 SOURCES += gpscontrol.cpp googlelatitude.cpp
6 HEADERS += gpscontrol.h   googlelatitude.h
7
8 contains(QT_CONFIG, maemo5) {
9     QT          += maemo5
10     CONFIG      += link_pkgconfig
11     PKGCONFIG   += glib-2.0 liblocation
12 }
13
14 INCLUDEPATH += libkqoauth
15 SOURCES += libkqoauth/kqoauthauthreplyserver.cpp \
16 libkqoauth/kqoauthrequest.cpp \
17 libkqoauth/kqoauthmanager.cpp \
18 libkqoauth/kqoauthrequest_xauth.cpp \
19 libkqoauth/kqoauthrequest_1.cpp \
20 libkqoauth/kqoauthutils.cpp
21 PUBLIC_HEADERS += libkqoauth/kqoauthmanager.h \
22 libkqoauth/kqoauthrequest.h \
23 libkqoauth/kqoauthrequest_1.h \
24 libkqoauth/kqoauthrequest_xauth.h \
25 libkqoauth/kqoauthglobals.h
26 PRIVATE_HEADERS += libkqoauth/kqoauthrequest_p.h \
27 libkqoauth/kqoauthmanager_p.h \
28 libkqoauth/kqoauthauthreplyserver.h \
29 libkqoauth/kqoauthauthreplyserver_p.h \
30 libkqoauth/kqoauthutils.h \
31 libkqoauth/kqoauthrequest_xauth_p.h
32 HEADERS += $$PUBLIC_HEADERS $$PRIVATE_HEADERS
33
34 contains(QT_CONFIG, maemo5): {
35     SOURCES += liblocationmaemo5/gconfitem.cpp \
36     liblocationmaemo5/liblocationwrapper.cpp \
37     liblocationmaemo5/qgeopositioninfosource_maemo5.cpp \
38     liblocationmaemo5/qgeosatelliteinfosource_maemo5.cpp
39     HEADERS += liblocationmaemo5/gconfitem_p.h \
40     liblocationmaemo5/liblocationwrapper_p.h \
41     liblocationmaemo5/qgeopositioninfosource_maemo5_p.h \
42     liblocationmaemo5/qgeosatelliteinfosource_maemo5_p.h
43 }
44
45 # Please do not modify the following two lines. Required for deployment.
46 include(deployment.pri)
47 qtcAddDeployment()
48
49 OTHER_FILES += \
50     qtc_packaging/debian_harmattan/rules \
51     qtc_packaging/debian_harmattan/README \
52     qtc_packaging/debian_harmattan/copyright \
53     qtc_packaging/debian_harmattan/control \
54     qtc_packaging/debian_harmattan/compat \
55     qtc_packaging/debian_harmattan/changelog \
56     qtc_packaging/debian_fremantle/rules \
57     qtc_packaging/debian_fremantle/README \
58     qtc_packaging/debian_fremantle/copyright \
59     qtc_packaging/debian_fremantle/control \
60     qtc_packaging/debian_fremantle/compat \
61     qtc_packaging/debian_fremantle/changelog