1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-06-30 22:54:23 +00:00

appdata: Improve appdata for AppStream 1.0

- Add the `<developer><name>` tag
- Mark the `<developer_name>` tag as deprecated
- Use appstreamcli to validate appdata
- Fix a broken release description
This commit is contained in:
Sabri Ünal 2023-12-22 00:30:27 +03:00
parent c205578b09
commit 74420eead8
2 changed files with 18 additions and 1 deletions

View File

@ -79,3 +79,13 @@ i18n.merge_file(
install: true,
install_dir: ev_appstreamdir,
)
# Validate Appdata
appstreamcli = find_program('appstreamcli', required: false)
if (appstreamcli.found())
test('validate-appdata',
appstreamcli,
args: ['validate', '--no-net', '--explain', metainfo],
workdir: meson.current_build_dir()
)
endif

View File

@ -45,6 +45,11 @@
<url type="donation">https://www.gnome.org/donate/</url>
<url type="vcs-browser">https://gitlab.gnome.org/GNOME/evince/</url>
<project_group>GNOME</project_group>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name>The GNOME Project</developer_name>
<developer id="gnome.org">
<name>The GNOME Project</name>
</developer>
<update_contact>https://discourse.gnome.org/tag/evince</update_contact>
<kudos>
<kudo>AppMenu</kudo>
@ -219,7 +224,9 @@
</issues>
</release>
<release version="40.1" date="2021-03-26">
<description>Restore libraries soname.</description>
<description>
<p>Restore libraries soname.</p>
</description>
</release>
<release version="40.0" date="2021-03-26">
<issues>