Skip to content

Commit

Permalink
appdata: Improve appdata for AppStream 1.0
Browse files Browse the repository at this point in the history
- Add the `<developer><name>` tag
- Mark the `<developer_name>` tag as deprecated
- Improve appstreamcli parameters
  • Loading branch information
yakushabb committed Dec 30, 2023
1 parent 7f1453e commit bfe3b95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions data/com.github.geigi.cozy.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@
<image>https://raw.githubusercontent.com/geigi/cozy/img/img/screenshot4.png</image>
</screenshot>
</screenshots>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name translatable="no">Julian Geywitz</developer_name>
<developer id="github.com">
<name translatable="no">Julian Geywitz</name>
</developer>
<url type="homepage">https://cozy.sh</url>
<url type="bugtracker">https://github.com/geigi/cozy/issues</url>
<url type="help">https://matrix.to/#/#cozy:gnome.org?via=matrix.org&amp;via=gnome.org</url>
Expand Down
3 changes: 2 additions & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ appstream_file = i18n.merge_file(
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('Validate appstream file', appstreamcli,
args: ['validate', '--no-net', appstream_file]
args: ['validate', '--no-net', '--explain', appstream_file],
workdir: meson.current_build_dir()
)
endif

0 comments on commit bfe3b95

Please sign in to comment.