kdeconnect-kde/plugins/mmtelephony/CMakeLists.txt
Yoram Bar-Haim 7b1f10d4d5 Add support for phone side telephony plugin on Linux.
## Summary

Add support for Phone side (like in the Android and SailfishOS apps) to telephony plugin.
this requires ModemManager to work.
Call state notifications are currently supported, more capabilities are possible.

Tested on PinePhone but should probably work on every linux Phone with ModemManager.
to test, pair kdeconnect on your linux phone to desktop, and call your phone.
you should get notification on the desktop, telling you that phone call is incoming.
2022-12-28 01:06:22 +00:00

21 lines
678 B
CMake

find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS ModemManagerQt)
set(debug_file_SRCS)
ecm_qt_declare_logging_category(
debug_file_SRCS HEADER plugin_mmtelephony_debug.h
IDENTIFIER KDECONNECT_PLUGIN_MMTELEPHONY CATEGORY_NAME kdeconnect.plugin.mmtelephony
DEFAULT_SEVERITY Warning
EXPORT kdeconnect-kde DESCRIPTION "kdeconnect (plugin mmtelephony)")
set(kdeconnect_mmtelephony_SRCS
mmtelephonyplugin.cpp
${debug_file_SRCS}
)
kdeconnect_add_plugin(kdeconnect_mmtelephony SOURCES ${kdeconnect_mmtelephony_SRCS})
target_link_libraries(kdeconnect_mmtelephony
kdeconnectcore
Qt${QT_MAJOR_VERSION}::DBus
KF5::ModemManagerQt
KF5::I18n
)