1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-30 10:52:00 +00:00

GTK: Improve appstream metainfo (#5407)

* gtk: Add release history to metainfo file

This is mandatory on Flathub (and possibly other software repositories).
On each new release, a <release> element should be prepended to this
list.

Ideally each <release> would include (translatable) release notes, but
this is the bare minimum.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-releases
https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Releases.html

* gtk: Add more URLs to AppStream metainfo

This covers all the URL types from the AppStream specification.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-url

* gtk: Add translation info to AppStream metainfo

This allows information about per-language translation percentages to be
extracted at build-time and included in the repository's appstream file.
Software centres such as GNOME Software use this to indicate to the user
whether the app is translated into their language.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-translation
This commit is contained in:
Will Thompson 2023-05-07 19:02:49 +01:00 committed by GitHub
parent 0d3b321bac
commit dd22b52bbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,14 @@ Copyright 2017 Endless Mobile, Inc.
</p>
</description>
<url type="homepage">https://transmissionbt.com/</url>
<url type="bugtracker">https://github.com/transmission/transmission/issues</url>
<url type="faq">https://transmissionbt.com/help/gtk/latest/html/FAQ.html</url>
<url type="help">https://transmissionbt.com/help/gtk/latest/index.html</url>
<url type="donation">https://transmissionbt.com/donate</url>
<url type="translate">https://explore.transifex.com/transmissionbt/transmissionbt/</url>
<url type="contact">https://github.com/transmission/transmission/discussions</url>
<url type="vcs-browser">https://github.com/transmission/transmission</url>
<url type="contribute">https://github.com/transmission/transmission/blob/main/CONTRIBUTING.md</url>
<screenshots>
<screenshot type="default">
<image type="source">https://raw.githubusercontent.com/transmission/transmission/main/gtk/screenshots/a.png</image>
@ -38,4 +46,12 @@ Copyright 2017 Endless Mobile, Inc.
<content_rating type="oars-1.1">
<content_attribute id="social-info">mild</content_attribute>
</content_rating>
<releases>
<release date="2023-04-14" version="4.0.3" />
<release date="2023-03-16" version="4.0.2" />
<release date="2023-02-23" version="4.0.1" />
<release date="2023-02-08" version="4.0.0" />
<release date="2020-05-03" version="3.00" />
</releases>
<translation type="gettext">transmission-gtk</translation>
</component>