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

Merged
merged 2 commits 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
14 changes: 4 additions & 10 deletions data/io.github.lainsce.Khronos.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,18 @@
<li>Quit anytime with the shortcut Ctrl + Q</li>
</ul>
</description>
<categories>
<category>GNOME</category>
<category>GTK</category>
<category>Office</category>
</categories>
<keywords>
<keyword>Plot</keyword>
<keyword>Planning</keyword>
<keyword>Time Tracking</keyword>
</keywords>
<provides>
<binary>io.github.lainsce.Khronos</binary>
</provides>
<kudos>
<kudo>ModernToolkit</kudo>
<kudo>HiDpiIcon</kudo>
</kudos>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name translatable="no">Lains</developer_name>
<developer id="github.com">
<name translatable="no">Lains</name>
</developer>
<url type="homepage">https://github.com/lainsce/khronos/</url>
<url type="bugtracker">https://github.com/lainsce/khronos/issues</url>
<url type="donation">https://www.patreon.com/lainsce</url>
Expand Down
10 changes: 6 additions & 4 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ appstream_file = i18n.merge_file(
)

#Validate Appstream file
appstream_file_validate = find_program('appstreamcli', required: false)
if appstream_file_validate.found()
test('validate-appstream', appstream_file_validate,
args: ['validate', '--no-net', appstream_file]
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('validate-appstream',
appstreamcli,
args: ['validate', '--no-net', '--explain', appstream_file],
workdir: meson.current_build_dir()
)
endif

Expand Down
1 change: 1 addition & 0 deletions io.github.lainsce.Khronos.Devel.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
{
"name" : "khronos",
"buildsystem" : "meson",
"run-tests" : true,
"config-opts" : [
"-Ddevelopment=true"
],
Expand Down
Loading