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 #324

Merged
merged 2 commits into from Jan 3, 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 com.rafaelmardojai.Blanket.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"name" : "blanket",
"builddir" : true,
"buildsystem" : "meson",
"run-tests" : true,
"sources" : [
{
"type" : "dir",
Expand Down
19 changes: 4 additions & 15 deletions data/com.rafaelmardojai.Blanket.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,17 @@
<url type="translate">https://hosted.weblate.org/engage/blanket/</url>
<url type="donation">https://rafaelmardojai.com/donate/</url>
<url type="vcs-browser">https://github.com/rafaelmardojai/blanket</url>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name translatable="no">Rafael Mardojai CM</developer_name>
<developer id="github.com">
<name translatable="no">Rafael Mardojai CM</name>
</developer>
<update_contact>email_AT_rafaelmardojai.com</update_contact>
<content_rating type="oars-1.1" />

<launchable type="desktop-id">com.rafaelmardojai.Blanket.desktop</launchable>
<translation type="gettext">blanket</translation>

<categories>
<category>AudioVideo</category>
<category>Audio</category>
<category>GTK</category>
</categories>

<keywords>
<keyword translate="no">Blanket</keyword>
<keyword>Concentrate</keyword>
<keyword>Focus</keyword>
<keyword>Noise</keyword>
<keyword>Productivity</keyword>
<keyword>Sleep</keyword>
</keywords>

<screenshots>
<screenshot type="default">
<image type="source">https://raw.githubusercontent.com/rafaelmardojai/blanket/master/brand/screenshot-1.png</image>
Expand Down
3 changes: 2 additions & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ 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

Expand Down