Changeset View
Changeset View
Standalone View
Standalone View
dataengines/notifications/CMakeLists.txt
1 | include(ECMMarkAsTest) | 1 | include(ECMMarkAsTest) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | add_definitions(-DTRANSLATION_DOMAIN=\"plasma_engine_notifications\") | 3 | add_definitions(-DTRANSLATION_DOMAIN=\"plasma_engine_notifications\") | ||
4 | 4 | | |||
5 | set(notifications_engine_SRCS | 5 | set(notifications_engine_SRCS | ||
6 | notificationsengine.cpp | 6 | notificationsengine.cpp | ||
7 | notificationservice.cpp | 7 | notificationservice.cpp | ||
8 | notificationaction.cpp | 8 | notificationaction.cpp | ||
9 | notificationsanitizer.cpp | 9 | notificationsanitizer.cpp | ||
10 | ) | 10 | ) | ||
11 | 11 | | |||
12 | ecm_qt_declare_logging_category(notifications_engine_SRCS HEADER debug.h | 12 | ecm_qt_declare_logging_category(notifications_engine_SRCS HEADER debug.h | ||
13 | IDENTIFIER NOTIFICATIONS | 13 | IDENTIFIER NOTIFICATIONS | ||
14 | CATEGORY_NAME kde.dataengine.notifications` | 14 | CATEGORY_NAME kde.dataengine.notifications` | ||
15 | DEFAULT_SEVERITY Info) | 15 | DEFAULT_SEVERITY Info) | ||
16 | 16 | | |||
17 | qt5_add_dbus_adaptor( notifications_engine_SRCS org.freedesktop.Notifications.xml notificationsengine.h NotificationsEngine ) | | |||
18 | | ||||
19 | add_library(plasma_engine_notifications MODULE ${notifications_engine_SRCS}) | 17 | add_library(plasma_engine_notifications MODULE ${notifications_engine_SRCS}) | ||
20 | 18 | | |||
21 | target_link_libraries(plasma_engine_notifications | 19 | target_link_libraries(plasma_engine_notifications | ||
22 | Qt5::DBus | 20 | Qt5::DBus | ||
23 | KF5::I18n | 21 | KF5::I18n | ||
24 | KF5::IconThemes | 22 | KF5::IconThemes | ||
25 | KF5::KIOCore | 23 | KF5::KIOCore | ||
26 | KF5::Notifications | 24 | KF5::Notifications | ||
27 | KF5::Plasma | 25 | KF5::Plasma | ||
28 | KF5::Service | 26 | KF5::Service | ||
29 | KF5::NotifyConfig | 27 | KF5::NotifyConfig | ||
28 | PW::LibNotificationManager | ||||
30 | ) | 29 | ) | ||
31 | 30 | | |||
32 | kcoreaddons_desktop_to_json(plasma_engine_notifications plasma-dataengine-notifications.desktop) | 31 | kcoreaddons_desktop_to_json(plasma_engine_notifications plasma-dataengine-notifications.desktop) | ||
33 | 32 | | |||
34 | install(TARGETS plasma_engine_notifications DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine) | 33 | install(TARGETS plasma_engine_notifications DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine) | ||
35 | install(FILES plasma-dataengine-notifications.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) | 34 | install(FILES plasma-dataengine-notifications.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) | ||
36 | install(FILES notifications.operations DESTINATION ${PLASMA_DATA_INSTALL_DIR}/services) | 35 | install(FILES notifications.operations DESTINATION ${PLASMA_DATA_INSTALL_DIR}/services) | ||
37 | 36 | | |||
Show All 15 Lines |