2020-04-12 14:14:51 +00:00
|
|
|
qt5_add_dbus_interfaces(DBUS_SRCS dbus/org.kde.KWin.Screenshot.xml
|
|
|
|
|
dbus/org.kde.KScreen.xml)
|
2020-02-06 17:17:47 +00:00
|
|
|
|
2017-09-14 19:03:56 +00:00
|
|
|
set(phonepanel_SRCS
|
|
|
|
|
phonepanel.cpp
|
2020-02-06 17:17:47 +00:00
|
|
|
${DBUS_SRCS}
|
2017-09-14 19:03:56 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_library(plasma_applet_phonepanel MODULE ${phonepanel_SRCS})
|
|
|
|
|
|
|
|
|
|
kcoreaddons_desktop_to_json(plasma_applet_phonepanel package/metadata.desktop)
|
|
|
|
|
|
|
|
|
|
target_link_libraries(plasma_applet_phonepanel
|
2021-01-30 16:23:02 +00:00
|
|
|
Qt::Gui
|
|
|
|
|
Qt::DBus
|
2017-09-14 19:03:56 +00:00
|
|
|
KF5::Plasma
|
2020-12-01 14:25:28 +00:00
|
|
|
KF5::I18n
|
|
|
|
|
KF5::Notifications)
|
2017-09-14 19:03:56 +00:00
|
|
|
|
|
|
|
|
install(TARGETS plasma_applet_phonepanel DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/applets)
|
|
|
|
|
#install(FILES plasma-phonepanel-default.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
|
|
|
|
|
|
plasma_install_package(package org.kde.phone.panel)
|
|
|
|
|
|