GTK: Add developer name (and screenshot caption) to metainfo (#6596)

* Add caption to screenshot in metainfo

This is used, for example, as the accessible description for the
screenshot in GNOME Software.

* Add developer_name and developer to metainfo

<developer_name> is deprecated in AppStream 1.0 but is more widely
supported by Flathub and software centres such as GNOME Software and (I
believe) KDE's Discover.
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name

<developer> is the newer tag, introduced in AppStream 1.0.
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer

Add both, with the same value.
This commit is contained in:
Will Thompson 2024-02-13 04:38:48 +00:00 committed by GitHub
parent f06cb37c06
commit 54d060cd8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,10 @@ Copyright 2017 Endless Mobile, Inc.
<project_license>GPL-2.0 OR GPL-3.0</project_license>
<name>Transmission</name>
<developer_name>The Transmission Project</developer_name>
<developer id="transmissionbt.com">
<name>The Transmission Project</name>
</developer>
<summary>Download and share files over BitTorrent</summary>
<description>
@ -40,6 +44,7 @@ Copyright 2017 Endless Mobile, Inc.
<screenshots>
<screenshot type="default">
<image type="source">https://raw.githubusercontent.com/transmission/transmission/main/gtk/screenshots/a.png</image>
<caption>Main window, showing an ongoing download of Fedora Workstation</caption>
</screenshot>
</screenshots>
<update_contact>info_AT_transmissionbt.com</update_contact>