Commit 423c75cc authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Port to json metadata

Reviewers: #frameworks, #kde_telepathy, akulichalexandr

Reviewed By: #kde_telepathy, akulichalexandr

Subscribers: akulichalexandr, ltoscano

Maniphest Tasks: T11919

Differential Revision: https://phabricator.kde.org/D25630
parent 14c2c381
......@@ -53,8 +53,9 @@ set (kded_ktp_integration_module_SRCS
status-message-parser.cpp
)
add_library (kded_ktp_integration_module MODULE ${kded_ktp_integration_module_SRCS}
)
add_library (kded_ktp_integration_module MODULE ${kded_ktp_integration_module_SRCS})
set_target_properties (kded_ktp_integration_module PROPERTIES OUTPUT_NAME ktp_integration)
kcoreaddons_desktop_to_json(kded_ktp_integration_module ktp_integration_module.desktop)
target_link_libraries (kded_ktp_integration_module
KTp::CommonInternals
......@@ -75,11 +76,7 @@ target_link_libraries (kded_ktp_integration_module
)
install (TARGETS kded_ktp_integration_module
DESTINATION ${PLUGIN_INSTALL_DIR}
)
install (FILES ktp_integration_module.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kded
DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kded
)
find_file(DBUS_SEND_PATH dbus-send HINTS /usr/bin)
......
......@@ -36,7 +36,7 @@
#include <KConfigGroup>
#include <KPluginFactory>
K_PLUGIN_FACTORY(TelepathyModuleFactory, registerPlugin<TelepathyModule>(); )
K_PLUGIN_CLASS_WITH_JSON(TelepathyModule, "ktp_integration_module.json")
TelepathyModule::TelepathyModule(QObject *parent, const QList<QVariant> &args)
: KDEDModule(parent),
......
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