2013-08-13 05:35:58 +01:00
|
|
|
set(kdeconnect_pausemusic_SRCS
|
|
|
|
pausemusicplugin.cpp
|
|
|
|
)
|
|
|
|
|
2014-06-16 19:02:07 +01:00
|
|
|
add_library(kdeconnect_pausemusic MODULE ${kdeconnect_pausemusic_SRCS})
|
2013-08-13 05:35:58 +01:00
|
|
|
|
|
|
|
target_link_libraries(kdeconnect_pausemusic
|
2014-09-22 01:37:10 +01:00
|
|
|
Qt5::Core
|
|
|
|
Qt5::DBus
|
|
|
|
KF5::ConfigCore
|
|
|
|
KF5::Service
|
2014-06-14 15:34:00 +01:00
|
|
|
kdeconnectcore
|
2013-08-13 05:35:58 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS kdeconnect_pausemusic DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
install(FILES kdeconnect_pausemusic.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
2013-11-22 21:49:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
# Config
|
|
|
|
|
|
|
|
set( kdeconnect_pausemusic_config_SRCS pausemusic_config.cpp )
|
2014-09-08 02:09:18 +01:00
|
|
|
ki18n_wrap_ui( kdeconnect_pausemusic_config_SRCS pausemusic_config.ui )
|
2013-11-22 21:49:40 +00:00
|
|
|
|
2014-06-16 19:02:07 +01:00
|
|
|
add_library(kdeconnect_pausemusic_config MODULE ${kdeconnect_pausemusic_config_SRCS} )
|
2013-11-22 21:49:40 +00:00
|
|
|
target_link_libraries( kdeconnect_pausemusic_config
|
2014-09-22 01:37:10 +01:00
|
|
|
Qt5::Core
|
2014-09-22 08:43:01 +01:00
|
|
|
KF5::I18n
|
|
|
|
KF5::KCMUtils
|
2013-11-22 21:49:40 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
install( TARGETS kdeconnect_pausemusic_config DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
install( FILES kdeconnect_pausemusic_config.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|