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>
This commit is contained in:
Pierre Ducroquet 2018-02-15 21:48:14 +01:00 committed by Thomas Petazzoni
parent 8e61585279
commit 5b40992da2
4 changed files with 39 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 8b6ab15ce82b7a30b26814178ac33380056ec4398707481aa5ce95cf09d39d03 modemmanager-qt-5.47.0.tar.xz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB

View File

@ -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))