Skip to content

Commit

Permalink
chore: metainfo: Set screenshot from app version (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano authored Aug 12, 2024
1 parent c4adb45 commit 4817a33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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: '@[email protected]'.format(app_id),
Expand Down
6 changes: 3 additions & 3 deletions data/reco.metainfo.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@
<screenshots>
<screenshot type="default">
<caption>Welcome view; perform recording configuration</caption>
<image>https://raw.githubusercontent.com/ryonakano/reco/5.0.1/data/screenshots/pantheon/welcome-init-light.png</image>
<image>https://raw.githubusercontent.com/ryonakano/reco/@VERSION@/data/screenshots/pantheon/welcome-init-light.png</image>
</screenshot>

<screenshot>
<caption>Recording view</caption>
<image>https://raw.githubusercontent.com/ryonakano/reco/5.0.1/data/screenshots/pantheon/recording-light.png</image>
<image>https://raw.githubusercontent.com/ryonakano/reco/@VERSION@/data/screenshots/pantheon/recording-light.png</image>
</screenshot>

<screenshot>
<caption>An indication that recording is successfully finished</caption>
<image>https://raw.githubusercontent.com/ryonakano/reco/5.0.1/data/screenshots/pantheon/welcome-success-light.png</image>
<image>https://raw.githubusercontent.com/ryonakano/reco/@VERSION@/data/screenshots/pantheon/welcome-success-light.png</image>
</screenshot>
</screenshots>

Expand Down

0 comments on commit 4817a33

Please sign in to comment.