Skip to content

Commit

Permalink
build(meson/test): replace appstream-util with appstreamcli
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Mar 8, 2024
1 parent f38b880 commit 17c823f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ appstream_file = i18n.merge_file(
install_dir: join_paths(get_option('datadir'), 'appdata')
)

appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test('Validate appstream file', appstream_util,
args: ['validate-relax', appstream_file]
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('Validate appstream file', appstreamcli,
args: ['validate', '--no-net', '--explain', appstream_file]
)
endif

Expand Down

0 comments on commit 17c823f

Please sign in to comment.