From patchwork Thu Nov 19 22:01:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1403313 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.138; helo=whitealder.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=Yzg1o4EL; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CcYYh2ymjz9sTR for ; Fri, 20 Nov 2020 09:02:00 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C777B86EC6; Thu, 19 Nov 2020 22:01:57 +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 V3X3rtF5UxlT; Thu, 19 Nov 2020 22:01:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E645586DF0; Thu, 19 Nov 2020 22:01:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 8903E1BF32B for ; Thu, 19 Nov 2020 22:01:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 71C5727662 for ; Thu, 19 Nov 2020 22:01:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NpG9yf5jNU20 for ; Thu, 19 Nov 2020 22:01:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by silver.osuosl.org (Postfix) with ESMTPS id 0C4BF2740C for ; Thu, 19 Nov 2020 22:01:48 +0000 (UTC) Received: by mail-wm1-f54.google.com with SMTP id x13so1678477wmj.1 for ; Thu, 19 Nov 2020 14:01:47 -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:mime-version :content-transfer-encoding; bh=FPIOD4lW/1oxqUMroiBbt5+HyrkHRoEaWT41riPJtPg=; b=Yzg1o4ELkKFPM3r7OH6rjMXsXhdmy+adgZ8NrF+HvdS06MXhQBfbGzsZwFD4H6Usl9 lQGmV98pvvl6knglEeyyfkeb5ZrBZI7HImY1SnxLuIsiy4IlOpKbSOMhGH9LhteCvZFF wzcOGhdU008z1wO5Xy7eCM3s8CvctADGjQBRc= 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:mime-version :content-transfer-encoding; bh=FPIOD4lW/1oxqUMroiBbt5+HyrkHRoEaWT41riPJtPg=; b=YvG2fxmlSqTM5orqyqgHviz7bRCUQr1RCmLx/woaOygI/Ixa1SnpDUi243sHHYKPvL bUkdvjpVlKPqUsPauO8nWFloINUeNUg5MZRzcaYvJOyZ5pOUa2NfNuLGqk/zoRKsbLYy 0DgS5+c8uvsrMwHLLb/zmO3/Lyogy5v5rqzgIm8m3r9aKEIcBRqcHh1FCI1x9LcvfKN0 cNKMof+e3B8rrcaPn2ema4gSIebpXFOQGgrIO5wHyAg1MollGypX+4pH/abCSUvZfSmC 5MI12p/skuu2rfZx3elh8Shgjkm/q60yd4PkIeik+D9MJhBaA0F8hYFA5SVdmHl6asQc wMzg== X-Gm-Message-State: AOAM532e9tiXsJ5dRxM8pb3Kn5q1fO6wJeP26XQtn5+U/cQDPRZYaykF 3G99szwtjuFKJjM2CIgt+byxuMEWVc1DMA== X-Google-Smtp-Source: ABdhPJy0m41e0yKnfJ4VRN8U39acgs9G+TMO52d3mFkGyZrwX7mSPMxBome4V0XhiDdHDa4TMczvsQ== X-Received: by 2002:a05:600c:2287:: with SMTP id 7mr4344626wmf.189.1605823306068; Thu, 19 Nov 2020 14:01:46 -0800 (PST) Received: from localhost.localdomain (host185251138054.static.fidoka.tech. [185.251.138.54]) by smtp.gmail.com with ESMTPSA id n15sm2028784wrq.48.2020.11.19.14.01.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 14:01:45 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Thu, 19 Nov 2020 23:01:40 +0100 Message-Id: <20201119220142.1054287-1-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 1/3] package/qt5/qt5coap: 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 CoAP module implements the client side of CoAP defined by RFC 7252. Signed-off-by: Angelo Compagnucci --- Changelog v1 -> v2: fixed hash file (suggested by Peter) DEVELOPERS | 1 + package/qt5/Config.in | 1 + package/qt5/qt5coap/Config.in | 11 +++++++++++ package/qt5/qt5coap/qt5coap.hash | 6 ++++++ package/qt5/qt5coap/qt5coap.mk | 19 +++++++++++++++++++ 5 files changed, 38 insertions(+) create mode 100644 package/qt5/qt5coap/Config.in create mode 100644 package/qt5/qt5coap/qt5coap.hash create mode 100644 package/qt5/qt5coap/qt5coap.mk diff --git a/DEVELOPERS b/DEVELOPERS index 9ab1e125f4..3f5fa20ebc 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -169,6 +169,7 @@ F: package/python-pillow/ F: package/python-pydal/ F: package/python-spidev/ F: package/python-web2py/ +F: package/qt5/qt5coap/ F: package/sam-ba/ F: package/sshguard/ F: package/sunwait/ diff --git a/package/qt5/Config.in b/package/qt5/Config.in index fc0e68e8b7..9431f4980d 100644 --- a/package/qt5/Config.in +++ b/package/qt5/Config.in @@ -40,6 +40,7 @@ if BR2_PACKAGE_QT5 source "package/qt5/qt53d/Config.in" source "package/qt5/qt5base/Config.in" source "package/qt5/qt5charts/Config.in" +source "package/qt5/qt5coap/Config.in" source "package/qt5/qt5connectivity/Config.in" source "package/qt5/qt5declarative/Config.in" source "package/qt5/qt5enginio/Config.in" diff --git a/package/qt5/qt5coap/Config.in b/package/qt5/qt5coap/Config.in new file mode 100644 index 0000000000..b5bed342a9 --- /dev/null +++ b/package/qt5/qt5coap/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_QT5COAP + bool "qt5coap" + help + Qt is a cross-platform application and UI framework for + developers using C++. + + CoAP is a protocol for IoT devices, and machine to machine + communication. The Qt CoAP module implements the client side + of CoAP defined by RFC 7252. + + https://doc.qt.io/QtCoAP/qtcoap-index.html diff --git a/package/qt5/qt5coap/qt5coap.hash b/package/qt5/qt5coap/qt5coap.hash new file mode 100644 index 0000000000..3f3390ebd4 --- /dev/null +++ b/package/qt5/qt5coap/qt5coap.hash @@ -0,0 +1,6 @@ +# Hash locally calculated +sha256 f2addd89e94fb3945fc6ee6db795b0736cd3396760b31e04c01cd02558c53e07 qt5coap-5.15.1.tar.gz + +# Hashes for license files: +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 f827ad079686ba92cc94811e35492d0e8966f704008b6da9eeda0b659fb58a8d LICENSE.FDL diff --git a/package/qt5/qt5coap/qt5coap.mk b/package/qt5/qt5coap/qt5coap.mk new file mode 100644 index 0000000000..210cebf13a --- /dev/null +++ b/package/qt5/qt5coap/qt5coap.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# qt5coap +# +################################################################################ + +QT5COAP_VERSION = $(QT5_VERSION) +QT5COAP_SITE = $(call github,qt,qtcoap,v$(QT5_VERSION)) +QT5COAP_INSTALL_STAGING = YES +QT5COAP_LICENSE = GPL-3.0, GFDL-1.3 +QT5COAP_LICENSE_FILES = LICENSE.GPL3 LICENSE.FDL +QT5COAP_DEPENDENCIES = host-perl + +define QT5COAP_FIX_INCLUDE + cd $(@D); $(HOST_DIR)/bin/syncqt.pl -module QtCoap -version $(QT5_VERSION) +endef +QT5COAP_PRE_CONFIGURE_HOOKS = QT5COAP_FIX_INCLUDE + +$(eval $(qmake-package))