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
- Activate meson tests on Flatpak manifest
  • Loading branch information
Sabri Ünal authored and rafaelmardojai committed Jan 3, 2024
1 parent 74a7b3c commit ecdff2f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions build-aux/flatpak/app.drey.Dialect.Devel.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
{
"name" : "dialect",
"buildsystem" : "meson",
"run-tests": true,
"config-opts": ["-Dprofile=development"],
"sources" : [
{
Expand Down
4 changes: 4 additions & 0 deletions data/app.drey.Dialect.metainfo.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
<url type="bugtracker">https://github.com/dialect-app/dialect/issues/</url>
<url type="translate">https://hosted.weblate.org/engage/dialect/</url>
<url type="vcs-browser">https://github.com/dialect-app/dialect/</url>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name>The Dialect Authors</developer_name>
<developer id="github.com">
<name>The Dialect Authors</name>
</developer>
<content_rating type="oars-1.1" />

<launchable type="desktop-id">@[email protected]</launchable>
Expand Down
2 changes: 1 addition & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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.full_path()]
args: ['validate', '--no-net', '--explain', appstream_file.full_path()]
)
endif

Expand Down

0 comments on commit ecdff2f

Please sign in to comment.