1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-04 01:42:44 +00:00

Propagate version number from yaml to QML

* The application now will use the version number from the Spectacle
  yaml in HTTP-requests and display it in the about page as well.
This commit is contained in:
Chris Josten 2020-09-27 22:41:35 +02:00
parent 419e97a882
commit 4a9be69c07
5 changed files with 27 additions and 6 deletions

View file

@ -1,6 +1,6 @@
Name: harbour-sailfin
Summary: Sailfin
Version: 0.1
Version: &version 0.1.0
Release: 1
# The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
@ -38,5 +38,8 @@ Files:
- '%{_datadir}/applications/%{name}.desktop'
- '%{_datadir}/icons/hicolor/*/apps/%{name}.png'
QMakeOptions:
- SAILFIN_VERSION='%{version}-%{release}'
# For more information about yaml and what's supported in Sailfish OS
# build system, please see https://wiki.merproject.org/wiki/Spectacle