Recent iterations of the appstream specification recommend
installing the appstream files in /usr/share/metainfo rather
than /usr/share/appdata. For apps which may continue
to install their appstream files according to the legacy
standards, also keep /usr/share/appdata in the list of dirs
to scan.
#ifdef ENABLE_APPDATA
if (add_appdata)
repo_add_appdata_dir(repo, "/usr/share/appdata", REPO_USE_ROOTDIR | REPO_REUSE_REPODATA | REPO_NO_INTERNALIZE | APPDATA_SEARCH_UNINTERNALIZED_FILELIST);
+ repo_add_appdata_dir(repo, "/usr/share/metainfo", REPO_USE_ROOTDIR | REPO_REUSE_REPODATA | REPO_NO_INTERNALIZE | APPDATA_SEARCH_UNINTERNALIZED_FILELIST);
#endif
repodata_internalize(data);