Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appdata: Improve appdata for AppStream 1.0 #174

Merged
merged 1 commit into from Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build-aux/flatpak/com.github.hugolabe.Wike.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"name" : "wike",
"buildsystem" : "meson",
"builddir" : true,
"run-tests" : true,
"sources" : [
{
"type" : "dir",
Expand Down
16 changes: 5 additions & 11 deletions data/com.github.hugolabe.Wike.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@
</p>
</description>

<categories>
<category>Network</category>
<category>GTK</category>
</categories>

<keywords>
<keyword translate="no">Wikipedia</keyword>
<keyword>Encyclopedia</keyword>
</keywords>

<launchable type="desktop-id">com.github.hugolabe.Wike.desktop</launchable>
<translation type="gettext">wike</translation>
<content_rating type="oars-1.1" />
Expand Down Expand Up @@ -387,6 +377,10 @@
<url type="contribute">https://hugolabe.github.io/Wike/#foss</url>
<url type="vcs-browser">https://github.com/hugolabe/Wike</url>
<url type="translate">https://poeditor.com/join/project?hash=kNgJu4MAum</url>
<developer_name>Hugo Olabera</developer_name>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name translatable="no">Hugo Olabera</developer_name>
<developer id="github.com">
<name translatable="no">Hugo Olabera</name>
</developer>
<update_contact>hugolabe@gmail.com</update_contact>
</component>
6 changes: 4 additions & 2 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ 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]
test('Validate appstream file',
appstreamcli,
args: ['validate', '--no-net', '--explain', appstream_file],
workdir: meson.current_build_dir()
)
endif

Expand Down