From 09b8c549b223ab01e32bd6ac28960408fe773109 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sun, 19 Apr 2020 13:34:37 +0200 Subject: [PATCH] Install the AppStream file to the canonical location The canonical location for AppStream XML files has been changed to /usr/share/metainfo four years ago at least, with /usr/share/appdata left as legacy location. It is time to switch to the right location. --- CMakeLists.txt | 2 +- src/src.pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 208ed530..2ae68973 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -497,7 +497,7 @@ if(UNIX) DESTINATION share/applications/) install(FILES distri/${PROJECT_NAME}.desktop.appdata.xml - DESTINATION share/appdata/) + DESTINATION share/metainfo/) endif(UNIX) if(WIN32 AND MSVC) diff --git a/src/src.pro b/src/src.pro index ad3ab7e3..c1469348 100644 --- a/src/src.pro +++ b/src/src.pro @@ -287,7 +287,7 @@ unix { desktop.path = $$DATADIR/applications/ desktop.files = ../distri/sqlitebrowser.desktop INSTALLS += desktop - appdata.path = $$DATADIR/appdata/ + appdata.path = $$DATADIR/metainfo/ appdata.files = ../distri/sqlitebrowser.desktop.appdata.xml INSTALLS += appdata }