-
Notifications
You must be signed in to change notification settings - Fork 18
/
harbour-workinghourstracker.pro
99 lines (85 loc) · 2.94 KB
/
harbour-workinghourstracker.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
93
94
95
96
97
98
99
# 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-workinghourstracker
CONFIG += sailfishapp
appicons.path = /usr/share/icons/hicolor
appicons.files = appicons/*
INSTALLS += appicons
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
DEFINES += APP_BUILDNUM=\\\"$$RELEASE\\\"
message($${DEFINES})
system("touch src/harbour-workinghourstracker.cpp")
SOURCES += src/harbour-workinghourstracker.cpp \
src/SettingsClass.cpp \
src/Launcher.cpp \
src/Exporter.cpp \
src/Logger.cpp \
src/Database.cpp \
src/WorkTimer.cpp \
src/BreakTimer.cpp
OTHER_FILES += qml/harbour-workinghourstracker.qml \
qml/cover/CoverPage.qml \
qml/pages/FirstPage.qml \
rpm/harbour-workinghourstracker.spec \
rpm/harbour-workinghourstracker.yaml \
appicons/86x86/apps/harbour-workinghourstracker.png \
appicons/108x108/apps/harbour-workinghourstracker.png \
appicons/128x128/apps/harbour-workinghourstracker.png \
appicons/256x256/apps/harbour-workinghourstracker.png \
translations/*.ts \
harbour-workinghourstracker.desktop \
qml/pages/About.qml \
qml/pages/Add.qml \
qml/pages/All.qml \
rpm/harbour-workinghourstracker.changes \
qml/pages/Settings.qml \
qml/pages/MyTimePicker.qml \
qml/pages/Projects.qml \
qml/pages/AddProject.qml \
qml/pages/CategorySummary.qml \
qml/pages/ProjectPage.qml \
qml/helpers.js \
qml/pages/HowTo.qml \
qml/pages/Banner.qml \
qml/pages/LogViewer.qml \
qml/worker.js\
qml/pages/WhatsNewPage.qml
# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n
TRANSLATIONS += translations/harbour-workinghourstracker-fi.ts \
translations/harbour-workinghourstracker-zh_CN.ts \
translations/harbour-workinghourstracker-de.ts \
translations/harbour-workinghourstracker-nl_NL.ts \
translations/harbour-workinghourstracker-es.ts \
translations/harbour-workinghourstracker-ca.ts \
translations/harbour-workinghourstracker-da.ts \
translations/harbour-workinghourstracker-fr.ts \
translations/harbour-workinghourstracker-nb_NO.ts \
translations/harbour-workinghourstracker-pt_BR.ts \
translations/harbour-workinghourstracker-pt_PT.ts \
translations/harbour-workinghourstracker-sv.ts
HEADERS += \
src/SettingsClass.h \
src/Launcher.h \
src/Exporter.h \
src/Logger.h \
src/Database.h \
src/WorkTimer.h \
src/BreakTimer.h
QT += dbus \
core sql
DISTFILES += \
qml/md.js\
qml/CHANGELOG.md \
qml/cover/cover.svg \
qml/moment.min.js