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 arguments
  • Loading branch information
Sabri Ünal committed Dec 28, 2023
1 parent ddc7d2d commit 1dd02a5
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.maoschanz.drawing.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@
</release>
</releases>

<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name translatable="no">Romain F. T.</developer_name>
<developer id="github.com">
<name translatable="no">Romain F. T.</name>
</developer>
<update_contact>[email protected]</update_contact>
<url type="homepage">https://maoschanz.github.io/drawing</url>
<url type="bugtracker">https://github.com/maoschanz/drawing/issues</url>
Expand Down
3 changes: 2 additions & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ if get_option('enable-translations-and-appdata')
test(
'Validate appstream file',
appstreamcli,
args: ['validate', '--no-net', appstream_file]
args: ['validate', '--no-net', '--explain', appstream_file],
workdir: meson.current_build_dir()
)
endif
endif
Expand Down

0 comments on commit 1dd02a5

Please sign in to comment.