Appstream related patches (#212)
* appdata: use appstreamcli for appdata validation appstream-util is obsoleted by appstreamcli. * appdata: Update appdata - Add translation tag - Add categories and keywords tags * Capitalize keywords to avoid duplicate strings * Remove catrgories and keywords They are unnecessary for Flathub --------- Co-authored-by: kramo <contact@kramo.hu>
This commit is contained in:
@@ -52,9 +52,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', appstream_file])
|
||||
endif
|
||||
|
||||
install_data(
|
||||
|
||||
Reference in New Issue
Block a user