Bump version to 0.2.2
[harbour-pedalo.git] / harbour-pedalo.pro
1 # NOTICE:
2 #
3 # Application name defined in TARGET has a corresponding QML filename.
4 # If name defined in TARGET is changed, the following needs to be done
5 # to match new name:
6 #   - corresponding QML filename must be changed
7 #   - desktop icon filename must be changed
8 #   - desktop filename must be changed
9 #   - icon definition filename in desktop file must be changed
10 #   - translation filenames have to be changed
11
12 # The name of your application
13 TARGET = harbour-pedalo
14
15 VERSION_MAJOR = 0
16 VERSION_MINOR = 2
17 VERSION_BUILD = 2
18
19 #Target version
20 VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}-$${VERSION_BUILD}
21
22 DEFINES += "VERSION_MAJOR=$$VERSION_MAJOR" \
23     "VERSION_MINOR=$$VERSION_MINOR" \
24     "VERSION_BUILD=$$VERSION_BUILD" \
25     "VERSION=\\\"$$VERSION\\\""
26
27 CONFIG += sailfishapp
28 PKGCONFIG += mlite5
29 B
30 SOURCES += src/harbour-pedalo.cpp \
31     src/journey.cpp \
32     src/journeymodel.cpp \
33     src/status.cpp \
34     src/settings.cpp \
35     src/imageprovider.cpp \
36     src/graph.cpp \
37     src/statsmodel.cpp \
38     src/stats.cpp \
39     src/statsweekdayave.cpp \
40     src/statsweekdaycongestion.cpp \
41     src/statshourcongestion.cpp \
42     src/statshourjourneys.cpp \
43     src/statsyearjourneys.cpp \
44     src/statsyearduration.cpp
45
46 DISTFILES += qml/harbour-pedalo.qml \
47     qml/cover/CoverPage.qml \
48     rpm/harbour-pedalo.spec \
49     rpm/harbour-pedalo.yaml \
50     translations/*.ts \
51     harbour-pedalo.desktop \
52     qml/pages/MainPage.qml \
53     qml/pages/Stats.qml \
54     qml/pages/JourneyList.qml \
55     qml/pages/About.qml \
56     qml/pages/DurationEditDialog.qml \
57     qml/components/InfoRow.qml \
58     qml/pages/JourneyEdit.qml \
59     qml/pages/JourneyInfo.qml \
60     qml/components/BarButton.qml \
61     qml/cover/ClockView.qml \
62     qml/cover/LargeItem.qml \
63     qml/pages/TheRules.qml \
64     rpm/harbour-pedalo.changes.run.in \
65     rpm/harbour-pedalo.changes
66
67 SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172 256x256
68
69 # to disable building translations every time, comment out the
70 # following CONFIG line
71 CONFIG += sailfishapp_i18n
72
73 # German translation is enabled as an example. If you aren't
74 # planning to localize your app, remember to comment out the
75 # following TRANSLATIONS line. And also do not forget to
76 # modify the localized app name in the the .desktop file.
77 TRANSLATIONS += translations/harbour-pedalo-de.ts
78
79 HEADERS += \
80     src/journey.h \
81     src/journeymodel.h \
82     src/status.h \
83     src/settings.h \
84     src/harbour-pedalo.h \
85     src/imageprovider.h \
86     src/graph.h \
87     src/statsmodel.h \
88     src/stats.h \
89     src/statsweekdayave.h \
90     src/statsweekdaycongestion.h \
91     src/statshourcongestion.h \
92     src/statshourjourneys.h \
93     src/statsyearjourneys.h \
94     src/statsyearduration.h