Merge pull request #187 from sabriunal/upd-cli

Appdate related paches
This commit is contained in:
Hugo Posnic 2023-10-28 14:40:16 +02:00 committed by GitHub
commit 89f98cf92a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View File

@ -21,6 +21,15 @@
<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>

View File

@ -33,9 +33,9 @@ appstream_file = i18n.merge_file(
install_dir: join_paths(get_option('datadir'), 'metainfo')
)
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test('Validate appstream file', appstream_util,
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('Validate appstream file', appstreamcli,
args: ['validate', appstream_file]
)
endif