Skip to content

Commit 62a82ae

Browse files
yakushabbMightyCreak
authored andcommitted
feat(build): use appstreamcli to validate appdata
1 parent a65acad commit 62a82ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

data/meson.build

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ if build_machine.system() == 'linux'
3333
install_dir: join_paths(get_option('datadir'), 'appdata')
3434
)
3535

36-
appstream_util = find_program('appstream-util', required: false)
37-
if appstream_util.found()
38-
test('Validate appstream file', appstream_util,
39-
args: ['validate', appstream_file]
36+
appstreamcli = find_program('appstreamcli', required: false)
37+
if appstreamcli.found()
38+
test('Validate appstream file', appstreamcli,
39+
args: ['validate', '--no-net', '--explain', appstream_file]
4040
)
4141
endif
4242
endif

0 commit comments

Comments
 (0)