diff --git a/data/meson.build b/data/meson.build index e20d884..b3d35bc 100644 --- a/data/meson.build +++ b/data/meson.build @@ -29,6 +29,7 @@ desktop_file = i18n.merge_file( appstream_conf = configuration_data() appstream_conf.set('APP_ID', app_id) appstream_conf.set('GETTEXT_PACKAGE', meson.project_name()) +appstream_conf.set('VERSION', meson.project_version()) appstream_file_in = configure_file( input: 'reco.metainfo.xml.in.in', output: '@0@.metainfo.xml.in'.format(app_id), diff --git a/data/reco.metainfo.xml.in.in b/data/reco.metainfo.xml.in.in index 45713ae..cddefe6 100644 --- a/data/reco.metainfo.xml.in.in +++ b/data/reco.metainfo.xml.in.in @@ -27,17 +27,17 @@ Welcome view; perform recording configuration - https://raw.githubusercontent.com/ryonakano/reco/5.0.1/data/screenshots/pantheon/welcome-init-light.png + https://raw.githubusercontent.com/ryonakano/reco/@VERSION@/data/screenshots/pantheon/welcome-init-light.png Recording view - https://raw.githubusercontent.com/ryonakano/reco/5.0.1/data/screenshots/pantheon/recording-light.png + https://raw.githubusercontent.com/ryonakano/reco/@VERSION@/data/screenshots/pantheon/recording-light.png An indication that recording is successfully finished - https://raw.githubusercontent.com/ryonakano/reco/5.0.1/data/screenshots/pantheon/welcome-success-light.png + https://raw.githubusercontent.com/ryonakano/reco/@VERSION@/data/screenshots/pantheon/welcome-success-light.png