Merge pull request #199 from sabriunal/fix-appdata

appdata: Improve appdata for AppStream 1.0
This commit is contained in:
Hugo Posnic 2024-01-03 13:25:18 +01:00 committed by GitHub
commit f7cb6612f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 11 deletions

View File

@ -11,7 +11,11 @@
<p>Optimize your images with Curtail, a useful image compressor that supports PNG, JPEG, WebP and SVG file types.</p>
<p>It supports both lossless and lossy compression modes with an option to whether keep or not metadata of images.</p>
</description>
<!-- developer_name tag deprecated with Appstream 1.0 -->
<developer_name translatable="no">Hugo Posnic</developer_name>
<developer id="github.com">
<name translatable="no">Hugo Posnic</name>
</developer>
<update_contact>hugo.posnic@protonmail.com</update_contact>
<url type="homepage">https://github.com/Huluti/Curtail</url>
<url type="bugtracker">https://github.com/Huluti/Curtail/issues</url>
@ -21,15 +25,6 @@
<kudos>
<kudo>ModernToolkit</kudo>
</kudos>
<categories>
<category>Graphics</category>
</categories>
<keywords>
<keyword>compress</keyword>
<keyword>optimize</keyword>
<keyword>image</keyword>
<keyword>photo</keyword>
</keywords>
<screenshots>
<screenshot type="default">
<image type="source">https://raw.githubusercontent.com/Huluti/Curtail/master/data/screenshots/screen1.png</image>
@ -367,4 +362,3 @@
</release>
</releases>
</component>

View File

@ -36,7 +36,8 @@ appstream_file = i18n.merge_file(
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('Validate appstream file', appstreamcli,
args: ['validate', appstream_file]
args: ['validate', '--no-net', '--explain', appstream_file],
workdir: meson.current_build_dir()
)
endif