Change the installation path of the appdata file to {datadir}/metainfo

The path where appdata/appstream files should be installed has been
changed from /usr/share/appdata/ to /usr/share/metainfo/.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location

Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
This commit is contained in:
Mattia Rizzolo 2018-01-23 00:42:51 +01:00 committed by TingPing
parent 7b359875d8
commit 6ca7f84d02

View File

@ -7,7 +7,7 @@ if get_option('with-gtk')
output: 'io.github.Hexchat.appdata.xml', output: 'io.github.Hexchat.appdata.xml',
po_dir: '../../po', po_dir: '../../po',
install: true, install: true,
install_dir: join_paths(get_option('datadir'), 'appdata') install_dir: join_paths(get_option('datadir'), 'metainfo')
) )
appstream_util = find_program('appstream-util', required: false) appstream_util = find_program('appstream-util', required: false)