You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
971 B
30 lines
971 B
add_definitions(-DTRANSLATION_DOMAIN=\"freespacenotifier\") |
|
|
|
set(kded_freespacenotifier_SRCS freespacenotifier.cpp module.cpp) |
|
|
|
ki18n_wrap_ui(kded_freespacenotifier_SRCS freespacenotifier_prefs_base.ui) |
|
|
|
qt5_add_dbus_interface(kded_freespacenotifier_SRCS ${KDED_DBUS_INTERFACE} kded_interface) |
|
|
|
kconfig_add_kcfg_files(kded_freespacenotifier_SRCS settings.kcfgc) |
|
|
|
add_library(freespacenotifier MODULE ${kded_freespacenotifier_SRCS}) |
|
kcoreaddons_desktop_to_json(freespacenotifier freespacenotifier.desktop) |
|
|
|
target_link_libraries(freespacenotifier |
|
KF5::ConfigWidgets |
|
KF5::DBusAddons |
|
KF5::I18n |
|
KF5::KIOCore |
|
KF5::KIOGui |
|
KF5::Notifications |
|
KF5::Service |
|
) |
|
|
|
install(TARGETS freespacenotifier DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kded ) |
|
|
|
|
|
########### install files ############### |
|
|
|
install( FILES freespacenotifier.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR} ) |
|
install( FILES freespacenotifier.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR} )
|
|
|