Skip to content

Commit

Permalink
build(meson): replace appstream-util with appstreamcli
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Feb 15, 2024
1 parent e7086ae commit 4a966bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ appdata_file = i18n.merge_file(
install_dir: datadir / 'metainfo'
)
# Validate Appdata
if appstream_util.found()
if appstreamcli.found()
test(
'validate-appdata', appstream_util,
'validate-appdata', appstreamcli,
args: [
'validate', '--nonet', appdata_file.full_path()
'validate', '--no-net', '--explain', appdata_file.full_path()
],
depends: appdata_file,
)
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependency('libpulse', version: '>= 16.0')
glib_compile_resources = find_program('glib-compile-resources', required: true)
glib_compile_schemas = find_program('glib-compile-schemas', required: true)
desktop_file_validate = find_program('desktop-file-validate', required: false)
appstream_util = find_program('appstream-util', required: false)
appstreamcli = find_program('appstreamcli', required: false)
cargo = find_program('cargo', required: true)

version = meson.project_version()
Expand Down

0 comments on commit 4a966bc

Please sign in to comment.