Don't use legacy path for AppStream metainfo file

Metainfo files should be installed into /usr/share/metainfo.
This commit is contained in:
Balló György 2018-12-25 10:01:04 +01:00 committed by GitHub
parent cf313dce4d
commit e6775a462a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ configure_file(
apps_dir = join_paths(get_option('prefix'), 'share', 'applications')
install_data(sources: 'org.sparkleshare.SparkleShare.Invites.desktop', install_dir: apps_dir)
install_data(sources: 'SparkleShare.Autostart.desktop', install_dir: apps_dir)
install_data(sources: 'org.sparkleshare.SparkleShare.appdata.xml', install_dir: join_paths(get_option('prefix'), 'share', 'appdata'))
install_data(sources: 'org.sparkleshare.SparkleShare.appdata.xml', install_dir: join_paths(get_option('prefix'), 'share', 'metainfo'))
if get_option('nightly')
install_data(sources: 'org.sparkleshare.SparkleShare.Nightly.desktop',