Commit 23b12cd9 authored by Luigi Toscano's avatar Luigi Toscano

Add namespace to desktop and appdata files

- add the organization namespace to the desktop and then appdata files,
  according the specification;
- use the new directory for metadata (metainfo) files.
parent d1dfabae
......@@ -54,7 +54,7 @@ macro_optional_add_subdirectory(plasmoid)
add_subdirectory(libscience)
add_subdirectory(qml)
install(FILES kalzium.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/appdata/)
install(FILES org.kde.kalzium.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/metainfo/)
macro_display_feature_log()
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop">
<id>kalzium.desktop</id>
<id>org.kde.kalzium.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>Kalzium</name>
......
......@@ -169,7 +169,7 @@ install(TARGETS kalzium ${INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
install(PROGRAMS kalzium.desktop kalzium_cml.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(PROGRAMS org.kde.kalzium.desktop org.kde.kalzium_cml.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES kalzium.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install(FILES kalziumui.rc DESTINATION ${DATA_INSTALL_DIR}/kalzium)
install(FILES kalzium.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment