modemmanager-qt is a simple Qt wrapper on the ModemManager API.
Signed-off-by: Pierre Ducroquet <pinaraf@pinaraf.info>
[Thomas:
- fix commit title
- update to 5.47
- add hash for license file
- add missing dependency on qt5base
- add missing dependency on Qt5 DBus module
- use "depends on" instead of "select" for modemmanager dependency]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
if BR2_PACKAGE_KF5
source "package/kf5/kf5-extra-cmake-modules/Config.in"
+source "package/kf5/kf5-modemmanager-qt/Config.in"
source "package/kf5/kf5-networkmanager-qt/Config.in"
endif
--- /dev/null
+config BR2_PACKAGE_KF5_MODEMMANAGER_QT
+ bool "kf5-modemmanager-qt"
+ depends on BR2_USE_MMU # qt5dbus
+ depends on BR2_TOOLCHAIN_HAS_THREADS # qt5dbus
+ depends on BR2_PACKAGE_MODEM_MANAGER
+ select BR2_PACKAGE_QT5BASE_DBUS
+ select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES
+ help
+ KF5 is a set of Qt framework addons, extending Qt in various
+ ways, not only restricted in helping integration in KDE.
+
+ This package contains the ModemManager Qt5 bindings from the
+ KF5 project.
+
+ https://api.kde.org/frameworks/modemmanager-qt/html/index.html
+
+comment "kf5-modemmanager-qt needs toolchain w/ threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
--- /dev/null
+# Locally calculated
+sha256 8b6ab15ce82b7a30b26814178ac33380056ec4398707481aa5ce95cf09d39d03 modemmanager-qt-5.47.0.tar.xz
+sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
--- /dev/null
+################################################################################
+#
+# kf5-modemmanager-qt
+#
+################################################################################
+
+KF5_MODEMMANAGER_QT_VERSION = $(KF5_VERSION)
+KF5_MODEMMANAGER_QT_SITE = $(KF5_SITE)
+KF5_MODEMMANAGER_QT_SOURCE = modemmanager-qt-$(KF5_MODEMMANAGER_QT_VERSION).tar.xz
+KF5_MODEMMANAGER_QT_LICENSE = LGPL-2.1+
+KF5_MODEMMANAGER_QT_LICENSE_FILE = COPYING.LIB
+
+KF5_MODEMMANAGER_QT_DEPENDENCIES = kf5-extra-cmake-modules modem-manager qt5base
+KF5_MODEMMANAGER_QT_INSTALL_STAGING = YES
+
+$(eval $(cmake-package))