Skip to content

Commit

Permalink
appdata: use appstreamcli for appdata validation
Browse files Browse the repository at this point in the history
appstream-util is obsoleted by appstreamcli.
  • Loading branch information
yakushabb authored and geigi committed Dec 3, 2023
1 parent b3867f7 commit dee9b23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _The below instructions have been tested on Ubuntu 20.04_
```bash
sudo apt update
sudo apt install \
appstream-util \
appstreamcli \
cmake \
gettext \
git \
Expand Down
8 changes: 4 additions & 4 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ appstream_file = i18n.merge_file(
install_dir: join_paths(get_option('datadir'), 'metainfo')
)

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

0 comments on commit dee9b23

Please sign in to comment.