mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 15:22:11 +02:00
Use modern appstream, instead of appstream-util for validation
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
appstream_util = find_program('appstream-util', required: false)
|
||||
if appstream_util.found()
|
||||
appstream_cli = find_program('appstreamcli', required: false)
|
||||
if appstream_cli.found()
|
||||
test('Validate appstream file',
|
||||
appstream_util,
|
||||
appstream_cli,
|
||||
args: [
|
||||
'validate-relax',
|
||||
'--nonet',
|
||||
'validate',
|
||||
'--no-net',
|
||||
'--explain',
|
||||
join_paths(meson.current_source_dir(), 'metainfo', 'com.github.rafostar.Clapper.metainfo.xml'),
|
||||
]
|
||||
)
|
||||
|
Reference in New Issue
Block a user