X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=harbour-pedalo.pro;h=31f1c95afead7698d4386c3de863738da21f85ed;hp=cd82343fc2c89d5e71b39e50b314782286601154;hb=refs%2Fheads%2Fmaster;hpb=0108947ead4cc9e0ff23fee82db2fb1fd7cb2dad diff --git a/harbour-pedalo.pro b/harbour-pedalo.pro index cd82343..31f1c95 100644 --- a/harbour-pedalo.pro +++ b/harbour-pedalo.pro @@ -12,28 +12,59 @@ # The name of your application TARGET = harbour-pedalo -CONFIG += sailfishapp +VERSION_MAJOR = 0 +VERSION_MINOR = 2 +VERSION_BUILD = 2 + +#Target version +VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}-$${VERSION_BUILD} + +DEFINES += "VERSION_MAJOR=$$VERSION_MAJOR" \ + "VERSION_MINOR=$$VERSION_MINOR" \ + "VERSION_BUILD=$$VERSION_BUILD" \ + "VERSION=\\\"$$VERSION\\\"" +CONFIG += sailfishapp +PKGCONFIG += mlite5 +B SOURCES += src/harbour-pedalo.cpp \ src/journey.cpp \ - src/journeymodel.cpp + src/journeymodel.cpp \ + src/status.cpp \ + src/settings.cpp \ + src/imageprovider.cpp \ + src/graph.cpp \ + src/statsmodel.cpp \ + src/stats.cpp \ + src/statsweekdayave.cpp \ + src/statsweekdaycongestion.cpp \ + src/statshourcongestion.cpp \ + src/statshourjourneys.cpp \ + src/statsyearjourneys.cpp \ + src/statsyearduration.cpp DISTFILES += qml/harbour-pedalo.qml \ qml/cover/CoverPage.qml \ - rpm/harbour-pedalo.changes.in \ - rpm/harbour-pedalo.changes.run.in \ rpm/harbour-pedalo.spec \ rpm/harbour-pedalo.yaml \ translations/*.ts \ harbour-pedalo.desktop \ qml/pages/MainPage.qml \ - qml/pages/AddJourney.qml \ qml/pages/Stats.qml \ qml/pages/JourneyList.qml \ qml/pages/About.qml \ - qml/components/InfoRow.qml + qml/pages/DurationEditDialog.qml \ + qml/components/InfoRow.qml \ + qml/pages/JourneyEdit.qml \ + qml/pages/JourneyInfo.qml \ + qml/components/BarButton.qml \ + qml/cover/ClockView.qml \ + qml/cover/LargeItem.qml \ + qml/pages/TheRules.qml \ + rpm/harbour-pedalo.changes.run.in \ + rpm/harbour-pedalo.changes -SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172 +SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172 256x256 # to disable building translations every time, comment out the # following CONFIG line @@ -47,4 +78,17 @@ TRANSLATIONS += translations/harbour-pedalo-de.ts HEADERS += \ src/journey.h \ - src/journeymodel.h + src/journeymodel.h \ + src/status.h \ + src/settings.h \ + src/harbour-pedalo.h \ + src/imageprovider.h \ + src/graph.h \ + src/statsmodel.h \ + src/stats.h \ + src/statsweekdayave.h \ + src/statsweekdaycongestion.h \ + src/statshourcongestion.h \ + src/statshourjourneys.h \ + src/statsyearjourneys.h \ + src/statsyearduration.h