2022-10-23 00:04:59 +03:00
|
|
|
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=901)
|
|
|
|
|
2022-12-14 17:21:20 +02:00
|
|
|
add_subdirectory(sounds)
|
2022-09-27 14:20:51 +03:00
|
|
|
|
2014-11-15 04:16:00 +02:00
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(knotify_SRCS
|
2016-03-14 21:48:05 +00:00
|
|
|
main.cpp
|
|
|
|
knotify.cpp
|
|
|
|
notifybysound.cpp
|
|
|
|
notifybypopup.cpp
|
|
|
|
notifybylogfile.cpp
|
|
|
|
notifybytaskbar.cpp
|
|
|
|
notifybyexecute.cpp
|
|
|
|
imageconverter.cpp
|
|
|
|
ksolidnotify.cpp
|
2015-09-01 04:37:19 +03:00
|
|
|
knotifyplugin.cpp
|
|
|
|
knotifyconfig.cpp
|
2014-11-15 04:16:00 +02:00
|
|
|
)
|
|
|
|
|
2022-12-14 17:21:20 +02:00
|
|
|
add_executable(knotify4 ${knotify_SRCS})
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2022-12-14 17:21:20 +02:00
|
|
|
target_link_libraries(knotify4
|
|
|
|
${KDE4_KDEUI_LIBS}
|
|
|
|
${KDE4_SOLID_LIBS}
|
|
|
|
${KDE4_KMEDIAPLAYER_LIBS}
|
|
|
|
)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
2023-06-17 18:38:55 +03:00
|
|
|
install(
|
|
|
|
TARGETS knotify4
|
|
|
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
|
|
|
)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
2022-12-14 17:21:20 +02:00
|
|
|
install(
|
|
|
|
FILES kde.notifyrc
|
|
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/kde
|
|
|
|
)
|
|
|
|
install(
|
|
|
|
FILES hardwarenotifications.notifyrc
|
|
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/hardwarenotifications
|
|
|
|
)
|
|
|
|
install(
|
|
|
|
FILES knotify4.desktop
|
|
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
|
|
|
)
|
2014-11-15 04:16:00 +02:00
|
|
|
|
|
|
|
########### D-Bus Autostart Services #########
|
|
|
|
|
2022-09-27 15:04:27 +03:00
|
|
|
kde4_add_dbus_service(org.kde.knotify.service.in)
|