summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Ducroquet <pinaraf@pinaraf.info>2018-02-15 20:48:14 (GMT)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-07-02 21:20:34 (GMT)
commit5b40992da224b2ec277d22f88c7a00bf8ac41651 (patch)
treea133972a07756f992b328e8776c1c94425ae8568
parent8e615852790a2235dfad3b11ad82aafe0eb0f3ab (diff)
downloadbuildroot-5b40992da224b2ec277d22f88c7a00bf8ac41651.tar.gz
buildroot-5b40992da224b2ec277d22f88c7a00bf8ac41651.tar.bz2
kf5-modemmanager-qt: new package
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>
-rw-r--r--package/kf5/Config.in1
-rw-r--r--package/kf5/kf5-modemmanager-qt/Config.in19
-rw-r--r--package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.hash3
-rw-r--r--package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk16
4 files changed, 39 insertions, 0 deletions
diff --git a/package/kf5/Config.in b/package/kf5/Config.in
index 5a2d2cc..075b246 100644
--- a/package/kf5/Config.in
+++ b/package/kf5/Config.in
@@ -8,5 +8,6 @@ menuconfig BR2_PACKAGE_KF5
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
diff --git a/package/kf5/kf5-modemmanager-qt/Config.in b/package/kf5/kf5-modemmanager-qt/Config.in
new file mode 100644
index 0000000..c291b88
--- /dev/null
+++ b/package/kf5/kf5-modemmanager-qt/Config.in
@@ -0,0 +1,19 @@
+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
diff --git a/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.hash b/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.hash
new file mode 100644
index 0000000..408eb0c
--- /dev/null
+++ b/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 8b6ab15ce82b7a30b26814178ac33380056ec4398707481aa5ce95cf09d39d03 modemmanager-qt-5.47.0.tar.xz
+sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
diff --git a/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk b/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk
new file mode 100644
index 0000000..9bbeeaa
--- /dev/null
+++ b/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# 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))