2023-07-30 19:15:03 +01:00
|
|
|
kdeconnect_add_plugin(kdeconnect_pausemusic)
|
|
|
|
|
2019-08-21 03:38:35 +01:00
|
|
|
if(WIN32)
|
2023-07-30 19:15:03 +01:00
|
|
|
target_sources(kdeconnect_pausemusic PRIVATE pausemusicplugin-win.cpp)
|
2019-08-21 03:38:35 +01:00
|
|
|
else()
|
2023-07-30 19:15:03 +01:00
|
|
|
target_sources(kdeconnect_pausemusic PRIVATE pausemusicplugin.cpp)
|
2019-08-21 03:38:35 +01:00
|
|
|
endif()
|
|
|
|
|
2013-08-13 05:35:58 +01:00
|
|
|
target_link_libraries(kdeconnect_pausemusic
|
2015-03-14 04:19:39 +00:00
|
|
|
kdeconnectcore
|
2023-07-24 13:18:47 +01:00
|
|
|
kdeconnectinterfaces
|
2022-10-29 15:51:41 +01:00
|
|
|
Qt::Core
|
|
|
|
Qt::DBus
|
2013-08-13 05:35:58 +01:00
|
|
|
)
|
2023-07-30 19:15:03 +01:00
|
|
|
if (WIN32)
|
|
|
|
target_link_libraries(kdeconnect_pausemusic windowsapp)
|
|
|
|
else()
|
2023-12-28 16:37:31 +00:00
|
|
|
target_link_libraries(kdeconnect_pausemusic KF6::PulseAudioQt)
|
2019-08-21 03:38:35 +01:00
|
|
|
endif()
|
2013-08-13 05:35:58 +01:00
|
|
|
|
2013-11-22 21:49:40 +00:00
|
|
|
#######################################
|
|
|
|
# Config
|
|
|
|
|
2023-08-06 10:46:20 +01:00
|
|
|
kdeconnect_add_kcm(kdeconnect_pausemusic_config SOURCES pausemusic_config.cpp)
|
2021-11-18 10:05:09 +00:00
|
|
|
|
|
|
|
ki18n_wrap_ui(kdeconnect_pausemusic_config pausemusic_config.ui)
|
2023-07-30 19:15:03 +01:00
|
|
|
target_link_libraries(kdeconnect_pausemusic_config
|
2015-03-14 04:19:39 +00:00
|
|
|
kdeconnectcore
|
|
|
|
kdeconnectpluginkcm
|
2023-12-28 16:37:31 +00:00
|
|
|
KF6::I18n
|
|
|
|
KF6::KCMUtils
|
2013-11-22 21:49:40 +00:00
|
|
|
)
|