As explained in https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location the use of PREFIX/share/appdata directory is deprecated and instead the path should be PREFIX/share/metainfo.

The desktop file name should also ideally be recoll.metainfo.xml, but this is not so critical and is hence kept unchanged by this commit.
This commit is contained in:
Punarbasu Purkayastha 2020-06-24 17:01:36 +02:00
parent 89375f5e80
commit 0b1c02cff9

View File

@ -196,7 +196,7 @@ unix {
iconb.files += @srcdir@/../desktop/recoll.png
iconb.path = $$PREFIX/share/pixmaps/
appdata.files = @srcdir@/../desktop/recoll.appdata.xml
appdata.path = $$PREFIX/share/appdata/
appdata.path = $$PREFIX/share/metainfo/
INSTALLS += target imdata trdata desktop icona iconb appdata
# The recollinstall script used to do the following to install zh_CN as