Commit dbc56189 authored by Jeremy Bicha's avatar Jeremy Bicha

appdata: Install metadata to non-deprecated location

/usr/share/metainfo/ has been the preferred location for appstream
metadata since appstream 0.9.4 a year and a half ago

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

https://bugzilla.gnome.org/show_bug.cgi?id=790086
parent 7fa7ca1e
......@@ -36,7 +36,7 @@ custom_target('appdata-file',
input: 'org.gnome.clocks.appdata.xml.in',
output: 'org.gnome.clocks.appdata.xml',
install: true,
install_dir: join_paths(get_option('datadir'), 'appdata'),
install_dir: join_paths(get_option('datadir'), 'metainfo'),
command: [msgfmt, '--xml', '--template', '@INPUT@', '-d', podir, '-o', '@OUTPUT@'],
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment