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:
@@ -17,6 +17,7 @@
|
|||||||
<developer_name translatable="no">kramo</developer_name>
|
<developer_name translatable="no">kramo</developer_name>
|
||||||
<project_group>GNOME</project_group>
|
<project_group>GNOME</project_group>
|
||||||
<launchable type="desktop-id">@APP_ID@.desktop</launchable>
|
<launchable type="desktop-id">@APP_ID@.desktop</launchable>
|
||||||
|
<translation type="gettext">cartridges</translation>
|
||||||
<supports>
|
<supports>
|
||||||
<control>pointing</control>
|
<control>pointing</control>
|
||||||
<control>keyboard</control>
|
<control>keyboard</control>
|
||||||
|
|||||||
@@ -52,9 +52,9 @@ appstream_file = i18n.merge_file(
|
|||||||
install_dir: join_paths(get_option('datadir'), 'metainfo')
|
install_dir: join_paths(get_option('datadir'), 'metainfo')
|
||||||
)
|
)
|
||||||
|
|
||||||
appstream_util = find_program('appstream-util', required: false)
|
appstreamcli = find_program('appstreamcli', required: false)
|
||||||
if appstream_util.found()
|
if appstreamcli.found()
|
||||||
test('Validate appstream file', appstream_util, args: ['validate', appstream_file])
|
test('Validate appstream file', appstreamcli, args: ['validate', appstream_file])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install_data(
|
install_data(
|
||||||
|
|||||||
Reference in New Issue
Block a user