Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | 40 | set (kded_ktp_integration_module_SRCS | |||
---|---|---|---|---|---|
48 | telepathy-mpris.cpp | 48 | telepathy-mpris.cpp | ||
49 | status-handler.cpp | 49 | status-handler.cpp | ||
50 | error-handler.cpp | 50 | error-handler.cpp | ||
51 | contactnotify.cpp | 51 | contactnotify.cpp | ||
52 | screensaveraway.cpp | 52 | screensaveraway.cpp | ||
53 | status-message-parser.cpp | 53 | status-message-parser.cpp | ||
54 | ) | 54 | ) | ||
55 | 55 | | |||
56 | add_library (kded_ktp_integration_module MODULE ${kded_ktp_integration_module_SRCS} | 56 | add_library (kded_ktp_integration_module MODULE ${kded_ktp_integration_module_SRCS}) | ||
57 | ) | 57 | set_target_properties (kded_ktp_integration_module PROPERTIES OUTPUT_NAME ktp_integration) | ||
58 | kcoreaddons_desktop_to_json(kded_ktp_integration_module ktp_integration_module.desktop) | ||||
58 | 59 | | |||
59 | target_link_libraries (kded_ktp_integration_module | 60 | target_link_libraries (kded_ktp_integration_module | ||
60 | KTp::CommonInternals | 61 | KTp::CommonInternals | ||
61 | KTp::Widgets | 62 | KTp::Widgets | ||
62 | KF5::DBusAddons | 63 | KF5::DBusAddons | ||
63 | KF5::ConfigGui | 64 | KF5::ConfigGui | ||
64 | KF5::ConfigCore | 65 | KF5::ConfigCore | ||
65 | KF5::I18n | 66 | KF5::I18n | ||
66 | KF5::Notifications | 67 | KF5::Notifications | ||
67 | KF5::IdleTime | 68 | KF5::IdleTime | ||
68 | KF5::KIOWidgets | 69 | KF5::KIOWidgets | ||
69 | KF5::WidgetsAddons | 70 | KF5::WidgetsAddons | ||
70 | KF5::Activities | 71 | KF5::Activities | ||
71 | ${TELEPATHY_QT5_LIBRARIES} | 72 | ${TELEPATHY_QT5_LIBRARIES} | ||
72 | Qt5::Concurrent | 73 | Qt5::Concurrent | ||
73 | Qt5::Sql | 74 | Qt5::Sql | ||
74 | Qt5::Network | 75 | Qt5::Network | ||
75 | ) | 76 | ) | ||
76 | 77 | | |||
77 | install (TARGETS kded_ktp_integration_module | 78 | install (TARGETS kded_ktp_integration_module | ||
78 | DESTINATION ${PLUGIN_INSTALL_DIR} | 79 | DESTINATION ${PLUGIN_INSTALL_DIR}/kf5/kded | ||
79 | ) | | |||
80 | | ||||
81 | install (FILES ktp_integration_module.desktop | | |||
82 | DESTINATION ${SERVICES_INSTALL_DIR}/kded | | |||
83 | ) | 80 | ) | ||
84 | 81 | | |||
85 | find_file(DBUS_SEND_PATH dbus-send HINTS /usr/bin) | 82 | find_file(DBUS_SEND_PATH dbus-send HINTS /usr/bin) | ||
86 | configure_file(org.freedesktop.Telepathy.Client.KTp.KdedIntegrationModule.service.in | 83 | configure_file(org.freedesktop.Telepathy.Client.KTp.KdedIntegrationModule.service.in | ||
87 | ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.KdedIntegrationModule.service) | 84 | ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.KdedIntegrationModule.service) | ||
88 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.KdedIntegrationModule.service | 85 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.KdedIntegrationModule.service | ||
89 | DESTINATION ${DBUS_SERVICES_INSTALL_DIR}) | 86 | DESTINATION ${DBUS_SERVICES_INSTALL_DIR}) | ||
90 | 87 | | |||
91 | add_subdirectory(config) | 88 | add_subdirectory(config) | ||
92 | 89 | | |||
93 | if(ENABLE_TESTS) | 90 | if(ENABLE_TESTS) | ||
94 | add_subdirectory(tests) | 91 | add_subdirectory(tests) | ||
95 | endif() | 92 | endif() |