From patchwork Thu Nov 19 10:21:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1402882 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=T6PXDp1G; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CcG2C2zdKz9sTL for ; Thu, 19 Nov 2020 21:22:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2AF7787392; Thu, 19 Nov 2020 10:22:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DDXTmssT5+wx; Thu, 19 Nov 2020 10:22:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 75FD5872B7; Thu, 19 Nov 2020 10:22:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id D15AE1BF3CA for ; Thu, 19 Nov 2020 10:21:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CD38286806 for ; Thu, 19 Nov 2020 10:21:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CcHM3JmoyOwE for ; Thu, 19 Nov 2020 10:21:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by whitealder.osuosl.org (Postfix) with ESMTPS id 587C386D1C for ; Thu, 19 Nov 2020 10:21:56 +0000 (UTC) Received: by mail-wr1-f51.google.com with SMTP id b6so5860780wrt.4 for ; Thu, 19 Nov 2020 02:21:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/c69cBg57WmQCTFXOc/yrE8xMx7AyYHeZGnZw9EaCo4=; b=T6PXDp1GCeQXNBrfaeajs2xe137gWpLKEHtyyroG0CUA0cZtNwb5ZaQfLW49SOEaj+ f5LIPApBMaDmohjJyvmiUkpcsIMFrl5Lb1HxeAsUDSeJFt8p2y1kNL+AnV0InwrXMN0F wITdonnzsw2BonRFY417E+gSa1e7VRT76vV8o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/c69cBg57WmQCTFXOc/yrE8xMx7AyYHeZGnZw9EaCo4=; b=NcOcDZNiOjs5fm4ZcUorsdwM+lbfkj19RfcTf8hLKXpT1h3eNJ+UqVBRmlj8ktocbN AvYIb4WDIbxIGsUMlnnyTXFjlr3tgz9DkSj72054a3RGLYyL6Y8tgQOff2R983Ud4pJi cJ+zyjRNeDkcDyvgSLrDgj5pzTIKi2TikK2yL7/ne2nW6eKh2qYdLZPpQRIIy89QKMgl OvHKg/mQdy9mS3/amYlUqGcVRqIse7csKtzrS1sA7I3ljlXfu7ZeZvk/3synm62EM8wZ tLRGViy60EyKTmZ7jJXUpQyXnO7OmNHBY8J5hs+5Mmk9MZKSiwwPHMuWm8NGRkFfEXDd lH0Q== X-Gm-Message-State: AOAM533Cy9QY+Hic0SiP6jmPjSPims9tckW0U5VDRMzbYWSRASuARtl1 /IW5vCFFswsmDkvpZDGKeg7Y0ktPrDPg/Q== X-Google-Smtp-Source: ABdhPJzMJVicEhfAeXjHq6sERlARaph+2ASSbhkKswXx14pBQBAjBlQLL18jpOxkYLs/JZqw2lSt+w== X-Received: by 2002:adf:ea91:: with SMTP id s17mr9327025wrm.349.1605781314666; Thu, 19 Nov 2020 02:21:54 -0800 (PST) Received: from localhost.localdomain (host185251138054.static.fidoka.tech. [185.251.138.54]) by smtp.gmail.com with ESMTPSA id e6sm8684161wme.27.2020.11.19.02.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 02:21:54 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Thu, 19 Nov 2020 11:21:49 +0100 Message-Id: <20201119102150.714800-2-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201119102150.714800-1-angelo@amarulasolutions.com> References: <20201119102150.714800-1-angelo@amarulasolutions.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/3] package/qt5/qt5mqtt: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Angelo Compagnucci Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The Qt MQTT module provides a standard compliant implementation of the MQTT protocol specification. Signed-off-by: Angelo Compagnucci Reviewed-by: Peter Seiderer --- DEVELOPERS | 1 + package/qt5/Config.in | 1 + package/qt5/qt5mqtt/Config.in | 12 ++++++++++++ package/qt5/qt5mqtt/qt5mqtt.hash | 6 ++++++ package/qt5/qt5mqtt/qt5mqtt.mk | 19 +++++++++++++++++++ 5 files changed, 39 insertions(+) create mode 100644 package/qt5/qt5mqtt/Config.in create mode 100644 package/qt5/qt5mqtt/qt5mqtt.hash create mode 100644 package/qt5/qt5mqtt/qt5mqtt.mk diff --git a/DEVELOPERS b/DEVELOPERS index 3f5fa20ebc..d45e584709 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -170,6 +170,7 @@ F: package/python-pydal/ F: package/python-spidev/ F: package/python-web2py/ F: package/qt5/qt5coap/ +F: package/qt5/qt5mqtt/ F: package/sam-ba/ F: package/sshguard/ F: package/sunwait/ diff --git a/package/qt5/Config.in b/package/qt5/Config.in index 9431f4980d..c15d27ba7c 100644 --- a/package/qt5/Config.in +++ b/package/qt5/Config.in @@ -48,6 +48,7 @@ source "package/qt5/qt5graphicaleffects/Config.in" source "package/qt5/qt5imageformats/Config.in" source "package/qt5/qt5location/Config.in" source "package/qt5/qt5lottie/Config.in" +source "package/qt5/qt5mqtt/Config.in" source "package/qt5/qt5multimedia/Config.in" source "package/qt5/qt5quickcontrols/Config.in" source "package/qt5/qt5quickcontrols2/Config.in" diff --git a/package/qt5/qt5mqtt/Config.in b/package/qt5/qt5mqtt/Config.in new file mode 100644 index 0000000000..509b18089d --- /dev/null +++ b/package/qt5/qt5mqtt/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_QT5MQTT + bool "qt5mqtt" + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt MQTT module provides a standard compliant implementation + of the MQTT protocol specification. It enables applications to + act as telemetry displays and devices to publish telemetry data. + The supported versions are MQTT 3.1, MQTT 3.1.1, and MQTT 5.0. + + https://doc.qt.io/QtMQTT/index.html diff --git a/package/qt5/qt5mqtt/qt5mqtt.hash b/package/qt5/qt5mqtt/qt5mqtt.hash new file mode 100644 index 0000000000..aa788cdf80 --- /dev/null +++ b/package/qt5/qt5mqtt/qt5mqtt.hash @@ -0,0 +1,6 @@ +# Hash locally calculated +sha256 603f81095ec837cb28b93189fd26dbbae32ecaedd80f6dd88c85050b51e18008 qt5mqtt-5.15.1.tar.gz + +# Hashes for license files: +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT diff --git a/package/qt5/qt5mqtt/qt5mqtt.mk b/package/qt5/qt5mqtt/qt5mqtt.mk new file mode 100644 index 0000000000..2e0093df3a --- /dev/null +++ b/package/qt5/qt5mqtt/qt5mqtt.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# qt5mqtt +# +################################################################################ + +QT5MQTT_VERSION = $(QT5_VERSION) +QT5MQTT_SITE = $(call github,qt,qtmqtt,v$(QT5_VERSION)) +QT5MQTT_INSTALL_STAGING = YES +QT5MQTT_LICENSE = GPL-3.0 with exception +QT5MQTT_LICENSE_FILES = LICENSE.GPL3 LICENSE.GPL3-EXCEPT +QT5MQTT_DEPENDENCIES = host-perl + +define QT5MQTT_FIX_INCLUDE + cd $(@D); $(HOST_DIR)/bin/syncqt.pl -module QtMqtt -version $(QT5_VERSION) +endef +QT5MQTT_PRE_CONFIGURE_HOOKS = QT5MQTT_FIX_INCLUDE + +$(eval $(qmake-package))