X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=harbour-pedalo.pro;h=ce9b2c766030fe05705bba3be76b2df0d99f936d;hp=62d08f9e78d1ca6734d212b40d264546f3803e53;hb=cb84c4b2580c93fc4dbe6361f3cc1034f7bad431;hpb=47437fad453dab96a7bd28ffd0584a7c1fda4881 diff --git a/harbour-pedalo.pro b/harbour-pedalo.pro index 62d08f9..ce9b2c7 100644 --- a/harbour-pedalo.pro +++ b/harbour-pedalo.pro @@ -12,22 +12,49 @@ # The name of your application TARGET = harbour-pedalo -CONFIG += sailfishapp +VERSION_MAJOR = 0 +VERSION_MINOR = 1 +VERSION_BUILD = 1 + +#Target version +VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}-$${VERSION_BUILD} -SOURCES += src/harbour-pedalo.cpp +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/status.cpp \ + src/settings.cpp \ + src/imageprovider.cpp DISTFILES += qml/harbour-pedalo.qml \ qml/cover/CoverPage.qml \ - qml/pages/FirstPage.qml \ - qml/pages/SecondPage.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 + harbour-pedalo.desktop \ + qml/pages/MainPage.qml \ + qml/pages/Stats.qml \ + qml/pages/JourneyList.qml \ + qml/pages/About.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 -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 @@ -38,3 +65,11 @@ CONFIG += sailfishapp_i18n # following TRANSLATIONS line. And also do not forget to # modify the localized app name in the the .desktop file. TRANSLATIONS += translations/harbour-pedalo-de.ts + +HEADERS += \ + src/journey.h \ + src/journeymodel.h \ + src/status.h \ + src/settings.h \ + src/harbour-pedalo.h \ + src/imageprovider.h