Commit 26be69c2 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 specific variable to find the directory of metadata (appstream)
  files.
parent 2443a84b
......@@ -16,7 +16,7 @@ add_executable(kapptemplate ${kapptemplate_SRCS})
target_link_libraries(kapptemplate KF5::CoreAddons KF5::ConfigWidgets KF5::Completion KF5::KIOWidgets KF5::Archive KF5::KIOCore KF5::I18n)
install(TARGETS kapptemplate ${INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS kapptemplate.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES kapptemplate.appdata.xml DESTINATION ${DATA_INSTALL_DIR}/appdata)
install(PROGRAMS org.kde.kapptemplate.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES org.kde.kapptemplate.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES kapptemplate.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install(FILES default.png DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/template_previews)
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop">
<id>kapptemplate.desktop</id>
<id>org.kde.kapptemplate.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>KAppTemplate</name>
......
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