forked from dicksonleong/Tweetian
-
Notifications
You must be signed in to change notification settings - Fork 26
/
tweetian.pro
77 lines (61 loc) · 2.03 KB
/
tweetian.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
TEMPLATE = app
TARGET = harbour-tweetian
# Application version
# Since harbour does not distinguish build numbers
# we cannot just differentiate from upstream by build number
# thus using 2.x.x from now on for sailfish port
# based on upstream 1.8.3
VERSION = "2.0.8"
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
# Qt Library
QT += network
HEADERS += \
src/qmlutils.h \
src/thumbnailcacher.h \
src/userstream.h \
src/networkmonitor.h \
src/imageuploader.h \
src/notificationutils.h
SOURCES += main.cpp \
src/qmlutils.cpp \
src/thumbnailcacher.cpp \
src/userstream.cpp \
src/networkmonitor.cpp \
src/imageuploader.cpp \
src/notificationutils.cpp
OTHER_FILES += i18n/tweetian_*.ts \
harbour-tweetian.desktop \
README.md \
qml/tweetian-harmattan/*.qml \
qml/tweetian-harmattan/*.js \
qml/tweetian-harmattan/ListPageCom/*.qml \
qml/tweetian-harmattan/MainPageCom/*.qml \
qml/tweetian-harmattan/UserPageCom/*.qml \
qml/tweetian-harmattan/SearchPageCom/*.qml \
qml/tweetian-harmattan/Component/*.qml \
qml/tweetian-harmattan/Delegate/*.qml \
qml/tweetian-harmattan/Dialog/*.qml \
qml/tweetian-harmattan/Utils/*js \
qml/tweetian-harmattan/Services/*.js
CONFIG += link_pkgconfig
CONFIG += c++11
packagesExist(sailfishapp) {
PKGCONFIG += sailfishapp mlite5
CONFIG += qdeclarative-boostable mdatauri
include(notifications/notifications.pri)
desktopfile.files = $${TARGET}.desktop
desktopfile.path = /usr/share/applications
export (desktopfile)
target.path = /usr/bin
sailfish_icon.files = harbour-tweetian.png
sailfish_icon.path = /usr/share/icons/hicolor/86x86/apps
INCLUDEPATH += /usr/include/sailfishapp
INSTALLS += target sailfish_icon desktopfile
QT += dbus quick qml
RESOURCES += qml-harmattan.qrc
HEADERS += src/tweetianif.h
SOURCES += src/tweetianif.cpp
OTHER_FILES += rpm/* \
qml/tweetian-harmattan/WorkerScript/* \
qml/tweetian-harmattan/SettingsPageCom/*qml
}