data: Rename appdata to metainfo

The appdata file/directory name is deprecated.

Also change the desktop component type to desktop-application. Same reason.
This commit is contained in:
AsciiWolf 2022-10-06 16:22:38 +02:00
parent 20c336b17f
commit 743577757f
3 changed files with 7 additions and 7 deletions

View file

@ -28,14 +28,14 @@ endif
appstream_file = i18n.merge_file(
input: configure_file(
input: 'org.gnome.Loupe.appdata.xml.in.in',
output: 'org.gnome.Loupe.appdata.xml.in',
input: 'org.gnome.Loupe.metainfo.xml.in.in',
output: 'org.gnome.Loupe.metainfo.xml.in',
configuration: conf,
),
output: '@0@.appdata.xml'.format(app_id),
output: '@0@.metainfo.xml'.format(app_id),
po_dir: '../po',
install: true,
install_dir: iv_datadir / 'appdata'
install_dir: iv_datadir / 'metainfo'
)
# appstream_util = find_program('appstream-util', required: false)