summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Toscano <luigi.toscano@tiscali.it>2016-06-30 21:19:57 (GMT)
committerLuigi Toscano <luigi.toscano@tiscali.it>2016-06-30 21:19:57 (GMT)
commita624b3a3dd93581b78b23332181592d87c0015e1 (patch)
treecdcf5b1c7666118c7e77b2f961876a59a7bfac4d
parentc10b5898818c6ee818262ced720783d65a759494 (diff)
Fix appdata file name and destination variable
- the name of the appdata file must follow the name of the desktop file; - use the proper variable KDE_INSTALL_METAINFODIR as the installation directory for the appdata file.
-rw-r--r--CMakeLists.txt2
-rw-r--r--org.kde.kgpg.appdata.xml (renamed from kgpg.appdata.xml)0
2 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b44a6e..fc86304 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -238,7 +238,7 @@ install(TARGETS kgpg ${INSTALL_TARGETS_DEFAULT_ARGS} )
install( FILES editor/kgpgeditor.rc keysmanager.rc tips DESTINATION ${KXMLGUI_INSTALL_DIR}/kgpg)
install( PROGRAMS org.kde.kgpg.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
-install( FILES kgpg.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/appdata/ )
+install( FILES org.kde.kgpg.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install( FILES kgpg.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install( FILES org.kde.kgpg.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
install( FILES encryptfile.desktop encryptfolder.desktop viewdecrypted.desktop DESTINATION
diff --git a/kgpg.appdata.xml b/org.kde.kgpg.appdata.xml
index e07a8e0..e07a8e0 100644
--- a/kgpg.appdata.xml
+++ b/org.kde.kgpg.appdata.xml