-
Notifications
You must be signed in to change notification settings - Fork 1
/
harbour-nextinpact.pro
94 lines (81 loc) · 2.46 KB
/
harbour-nextinpact.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
# The name of your application
TARGET = harbour-nextinpact
VERSION = 0.7.1
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
# get build date (timestamp) with: python -c 'import time; print(int(time.time()))'
DEFINES += BUILD_DATE='1605708470'
DBVERSION = 5
DBNAME = 'nextinpact.db'
#DBNAME = 'nextinpact-pre.db'
#DBNAME = 'nextinpact-dev.db'
DEFINES += DB_VERSION=$$DBVERSION
DEFINES += DB_NAME=\\\"$$DBNAME\\\"
CONFIG += sailfishapp c++14
HEADERS += \
src/database.h \
src/ArticleListModel.h \
src/CommentListModel.h \
src/DbUpdater.h
SOURCES += src/NextInpact.cpp \
src/database.cpp \
src/ArticleListModel.cpp \
src/CommentListModel.cpp \
src/DbUpdater.cpp
OTHER_FILES += qml/NextInpact.qml \
qml/cover/CoverPage.qml \
qml/pages/About.qml \
qml/pages/detail.qml \
qml/pages/comments.qml \
qml/pages/ArticleList.qml \
qml/pages/Settings.qml \
qml/pages/Stats.qml \
qml/components/ArticleDelegate.qml \
qml/components/Tag.qml \
qml/logic/scraper.js \
qml/lib/utils.js \
qml/lib/iso8859-15.js \
qml/lib/htmlparser2.js \
qml/lib/tags.js \
qml/lib/micromarkdown.js \
res/comments.png \
res/img1.jpg \
res/img2.jpg \
res/img3.jpg \
res/logo-big.png \
res/blur60.png \
translations/*.ts \
rpm/NextInpact.spec \
LICENSE \
icons
# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n
TRANSLATIONS += \
translations/harbour-nextinpact.ts \
translations/harbour-nextinpact-fr.ts
RESOURCES += \
resources.qrc
QT += sql dbus
PKGCONFIG += nemonotifications-qt5
SAILFISHAPP_ICONS += 86x86 108x108 128x128 172x172 256x256
DISTFILES += \
harbour-nextinpact.desktop \
icons/86x86/harbour-nextinpact.png \
icons/256x256/harbour-nextinpact.png \
icons/172x172/harbour-nextinpact.png \
icons/128x128/harbour-nextinpact.png \
icons/108x108/harbour-nextinpact.png \
qml/lib/smileys.js \
qml/pages/Migration.qml \
rpm/harbour-nextinpact.yaml \
rpm/harbour-nextinpact.changes