@ -25,14 +25,6 @@ set(libklipper_common_SRCS
ecm_qt_declare_logging_category ( libklipper_common_SRCS HEADER klipper_debug.h IDENTIFIER KLIPPER_LOG CATEGORY_NAME org.kde.klipper )
ecm_qt_declare_logging_category ( libklipper_common_SRCS HEADER klipper_debug.h IDENTIFIER KLIPPER_LOG CATEGORY_NAME org.kde.klipper )
find_package ( KF5Prison ${ KF5_MIN_VERSION } )
set_package_properties ( KF5Prison PROPERTIES DESCRIPTION "Prison library"
U R L " h t t p s : / / c o m m i t s . k d e . o r g / p r i s o n "
T Y P E O P T I O N A L
P U R P O S E " N e e d e d t o c r e a t e m o b i l e b a r c o d e s f r o m c l i p b o a r d d a t a "
)
set ( HAVE_PRISON ${ KF5Prison_FOUND } )
configure_file ( config-klipper.h.cmake ${ CMAKE_CURRENT_BINARY_DIR } /config-klipper.h )
configure_file ( config-klipper.h.cmake ${ CMAKE_CURRENT_BINARY_DIR } /config-klipper.h )
ki18n_wrap_ui ( libklipper_common_SRCS generalconfig.ui actionsconfig.ui editactiondialog.ui )
ki18n_wrap_ui ( libklipper_common_SRCS generalconfig.ui actionsconfig.ui editactiondialog.ui )
@ -51,6 +43,7 @@ target_link_libraries(kdeinit_klipper
K F 5 : : K I O W i d g e t s
K F 5 : : K I O W i d g e t s
K F 5 : : N o t i f i c a t i o n s
K F 5 : : N o t i f i c a t i o n s
K F 5 : : S e r v i c e
K F 5 : : S e r v i c e
K F 5 : : P r i s o n
K F 5 : : T e x t W i d g e t s
K F 5 : : T e x t W i d g e t s
K F 5 : : W i n d o w S y s t e m
K F 5 : : W i n d o w S y s t e m
K F 5 : : W i d g e t s A d d o n s
K F 5 : : W i d g e t s A d d o n s
@ -61,9 +54,6 @@ target_link_libraries(kdeinit_klipper
if ( X11_FOUND )
if ( X11_FOUND )
target_link_libraries ( kdeinit_klipper XCB::XCB Qt5::X11Extras )
target_link_libraries ( kdeinit_klipper XCB::XCB Qt5::X11Extras )
endif ( )
endif ( )
if ( HAVE_PRISON )
target_link_libraries ( kdeinit_klipper KF5::Prison )
endif ( )
install ( TARGETS kdeinit_klipper ${ KDE_INSTALL_TARGETS_DEFAULT_ARGS } )
install ( TARGETS kdeinit_klipper ${ KDE_INSTALL_TARGETS_DEFAULT_ARGS } )
install ( TARGETS klipper ${ KDE_INSTALL_TARGETS_DEFAULT_ARGS } )
install ( TARGETS klipper ${ KDE_INSTALL_TARGETS_DEFAULT_ARGS } )
@ -86,6 +76,7 @@ target_link_libraries(plasma_engine_clipboard
K F 5 : : P l a s m a
K F 5 : : P l a s m a
K F 5 : : N o t i f i c a t i o n s
K F 5 : : N o t i f i c a t i o n s
K F 5 : : S e r v i c e
K F 5 : : S e r v i c e
K F 5 : : P r i s o n
K F 5 : : T e x t W i d g e t s # K T e x t E d i t
K F 5 : : T e x t W i d g e t s # K T e x t E d i t
K F 5 : : W i d g e t s A d d o n s # K M e s s a g e B o x
K F 5 : : W i d g e t s A d d o n s # K M e s s a g e B o x
K F 5 : : W i n d o w S y s t e m
K F 5 : : W i n d o w S y s t e m
@ -96,9 +87,6 @@ target_link_libraries(plasma_engine_clipboard
if ( X11_FOUND )
if ( X11_FOUND )
target_link_libraries ( plasma_engine_clipboard XCB::XCB Qt5::X11Extras )
target_link_libraries ( plasma_engine_clipboard XCB::XCB Qt5::X11Extras )
endif ( )
endif ( )
if ( HAVE_PRISON )
target_link_libraries ( plasma_engine_clipboard KF5::Prison )
endif ( )
install ( TARGETS plasma_engine_clipboard DESTINATION ${ KDE_INSTALL_PLUGINDIR } /plasma/dataengine )
install ( TARGETS plasma_engine_clipboard DESTINATION ${ KDE_INSTALL_PLUGINDIR } /plasma/dataengine )
install ( FILES plasma-dataengine-clipboard.desktop DESTINATION ${ KDE_INSTALL_KSERVICES5DIR } )
install ( FILES plasma-dataengine-clipboard.desktop DESTINATION ${ KDE_INSTALL_KSERVICES5DIR } )
install ( FILES org.kde.plasma.clipboard.operations DESTINATION ${ PLASMA_DATA_INSTALL_DIR } /services )
install ( FILES org.kde.plasma.clipboard.operations DESTINATION ${ PLASMA_DATA_INSTALL_DIR } /services )