Commit f8938fdc authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Install summary KCMs in pim/kcms/summary

Required for kmail!26

Task: https://phabricator.kde.org/T14501
parent ba3a2b90
Pipeline #66900 passed with stage
in 13 minutes and 45 seconds
......@@ -43,23 +43,23 @@ kcoreaddons_desktop_to_json(kontact_journalplugin journalplugin.desktop)
########### next target ###############
set(kcm_apptsummary_PART_SRCS kcmapptsummary.cpp)
set(kcmapptsummary_PART_SRCS kcmapptsummary.cpp)
ki18n_wrap_ui(kcm_apptsummary_PART_SRCS apptsummaryconfig_base.ui)
ki18n_wrap_ui(kcmapptsummary_PART_SRCS apptsummaryconfig_base.ui)
add_library(kcm_apptsummary MODULE ${kcm_apptsummary_PART_SRCS})
kcoreaddons_desktop_to_json(kcm_apptsummary "kcmapptsummary.desktop" SERVICE_TYPES kcmodule.desktop)
target_link_libraries(kcm_apptsummary KF5::KCMUtils KF5::I18n)
add_library(kcmapptsummary MODULE ${kcmapptsummary_PART_SRCS})
kcoreaddons_desktop_to_json(kcmapptsummary "kcmapptsummary.desktop" SERVICE_TYPES kcmodule.desktop)
target_link_libraries(kcmapptsummary KF5::KCMUtils KF5::I18n)
########### next target ###############
set(kcm_todosummary_PART_SRCS kcmtodosummary.cpp)
set(kcmtodosummary_PART_SRCS kcmtodosummary.cpp)
ki18n_wrap_ui(kcm_todosummary_PART_SRCS todosummaryconfig_base.ui)
ki18n_wrap_ui(kcmtodosummary_PART_SRCS todosummaryconfig_base.ui)
add_library(kcm_todosummary MODULE ${kcm_todosummary_PART_SRCS})
kcoreaddons_desktop_to_json(kcm_todosummary "kcmtodosummary.desktop" SERVICE_TYPES kcmodule.desktop)
target_link_libraries(kcm_todosummary Qt::Widgets KF5::KCMUtils KF5::I18n)
add_library(kcmtodosummary MODULE ${kcmtodosummary_PART_SRCS})
kcoreaddons_desktop_to_json(kcmtodosummary "kcmtodosummary.desktop" SERVICE_TYPES kcmodule.desktop)
target_link_libraries(kcmtodosummary Qt::Widgets KF5::KCMUtils KF5::I18n)
########## Unit Test ###########
if (BUILD_TESTING)
......@@ -67,8 +67,8 @@ if (BUILD_TESTING)
endif()
########### install files ###############
install(TARGETS kcm_apptsummary DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(TARGETS kcm_todosummary DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(TARGETS kcmapptsummary DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim/kcms/summary)
install(TARGETS kcmtodosummary DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim/kcms/summary)
install(TARGETS kontact_korganizerplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/kontact5)
install(TARGETS kontact_todoplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/kontact5)
install(TARGETS kontact_journalplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/kontact5)
......
......@@ -4,7 +4,7 @@ Type=Service
X-KDE-ServiceTypes=KCModule
X-KDE-ModuleType=Library
X-KDE-Library=kcm_apptsummary
X-KDE-Library=pim/kcms/summary/kcmapptsummary
X-KDE-FactoryName=apptsummary
X-KDE-ParentApp=kontact_summaryplugin
X-KDE-ParentComponents=kontact_summaryplugin
......
......@@ -4,7 +4,7 @@ Type=Service
X-KDE-ServiceTypes=KCModule
X-KDE-ModuleType=Library
X-KDE-Library=kcm_todosummary
X-KDE-Library=pim/kcms/summary/kcmtodosummary
X-KDE-FactoryName=todosummary
X-KDE-ParentApp=kontact_summaryplugin
X-KDE-ParentComponents=kontact_summaryplugin
......
......@@ -28,18 +28,18 @@ kcoreaddons_desktop_to_json(kontact_specialdatesplugin specialdatesplugin.deskto
########### next target ###############
set(kcm_sdsummary_PART_SRCS kcmsdsummary.cpp)
set(kcmsdsummary_PART_SRCS kcmsdsummary.cpp)
ki18n_wrap_ui(kcm_sdsummary_PART_SRCS sdsummaryconfig_base.ui)
ki18n_wrap_ui(kcmsdsummary_PART_SRCS sdsummaryconfig_base.ui)
add_library(kcm_sdsummary MODULE ${kcm_sdsummary_PART_SRCS})
kcoreaddons_desktop_to_json(kcm_sdsummary "kcmsdsummary.desktop" SERVICE_TYPES kcmodule.desktop)
target_link_libraries(kcm_sdsummary Qt::Widgets KF5::KCMUtils KF5::I18n)
add_library(kcmsdsummary MODULE ${kcmsdsummary_PART_SRCS})
kcoreaddons_desktop_to_json(kcmsdsummary "kcmsdsummary.desktop" SERVICE_TYPES kcmodule.desktop)
target_link_libraries(kcmsdsummary Qt::Widgets KF5::KCMUtils KF5::I18n)
########### install files ###############
install(TARGETS kontact_specialdatesplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/kontact5)
install(TARGETS kcm_sdsummary DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(TARGETS kcmsdsummary DESTINATION ${KDE_INSTALL_PLUGINDIR}/pim/kcms/summary)
install(FILES specialdatesplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kontact)
install(FILES kcmsdsummary.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
......
......@@ -4,7 +4,7 @@ Type=Service
X-KDE-ServiceTypes=KCModule
X-KDE-ModuleType=Library
X-KDE-Library=kcm_sdsummary
X-KDE-Library=pim/kcms/summary/kcmsdsummary
X-KDE-FactoryName=sdsummary
X-KDE-ParentApp=kontact_summaryplugin
X-KDE-ParentComponents=kontact_summaryplugin
......
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