Skip to content

Commit 59a74be

Browse files
yakushabbwhot
authored andcommitted
meson: Use appstreamcli
Use appstreamcli to validate appdata More information: https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/#validation
1 parent eb6bc67 commit 59a74be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: meson.build

+4-4
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ if desktop_validate.found()
159159
test('desktop-file-validate', desktop_validate, args: [desktop_file])
160160
endif
161161

162-
appstream_util = find_program('appstream-util', required: false)
163-
if appstream_util.found()
164-
test('appstream-util validate-relax', appstream_util,
165-
args: ['validate-relax', appdata])
162+
appstreamcli = find_program('appstreamcli', required: false)
163+
if appstreamcli.found()
164+
test('appstreamcli validate', appstreamcli,
165+
args: ['validate', '--no-net', '--explain', appdata])
166166
endif
167167

168168
pytest = find_program('pytest-3', required: false)

0 commit comments

Comments
 (0)