From patchwork Wed Aug 23 11:48:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Langowski X-Patchwork-Id: 29314 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9511BEE49A0 for ; Wed, 23 Aug 2023 11:49:16 +0000 (UTC) Received: from 18.mo584.mail-out.ovh.net (18.mo584.mail-out.ovh.net [188.165.54.143]) by mx.groups.io with SMTP id smtpd.web11.9473.1692791348725784939 for ; Wed, 23 Aug 2023 04:49:09 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=softfail (domain: 3mdeb.com, ip: 188.165.54.143, mailfrom: pawel.langowski@3mdeb.com) Received: from director3.ghost.mail-out.ovh.net (unknown [10.108.16.84]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id A6BCB27D43 for ; Wed, 23 Aug 2023 11:49:06 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-hft9z (unknown [10.109.146.141]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id F03AC1FD33; Wed, 23 Aug 2023 11:49:05 +0000 (UTC) Received: from 3mdeb.com ([37.59.142.108]) by ghost-submission-6684bf9d7b-hft9z with ESMTPSA id njB6KjHy5WRb5gsAFqKYpQ (envelope-from ); Wed, 23 Aug 2023 11:49:05 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-108S0025c68a2c4-2632-401c-9b2e-61cb9ddcc2ef, 9F87A999A58848E422D1785D445934894C28AF5B) smtp.auth=pawel.langowski@3mdeb.com X-OVh-ClientIp: 213.192.77.249 From: Pawel Langowski To: openembedded-devel@lists.openembedded.org Cc: piotr.krol@3mdeb.com, tomasz.zyjewski@3mdeb.com Subject: [meta-oe][PATCH v4] qcbor: add recipe Date: Wed, 23 Aug 2023 13:48:57 +0200 Message-ID: <20230823114857.130746-1-pawel.langowski@3mdeb.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 17452011506568770201 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddvgedggeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefrrgifvghlucfnrghnghhofihskhhiuceophgrfigvlhdrlhgrnhhgohifshhkihesfehmuggvsgdrtghomheqnecuggftrfgrthhtvghrnhepkeefhefhkeffieetjedvffettdeigfeufeehgefgteejudfgfeelfeeiteeggfejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpvddufedrudelvddrjeejrddvgeelpdefjedrheelrddugedvrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeophgrfigvlhdrlhgrnhhgohifshhkihesfehmuggvsgdrtghomheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepohhpvghnvghmsggvugguvgguqdguvghvvghlsehlihhsthhsrdhophgvnhgvmhgsvgguuggvugdrohhrghdpoffvtefjohhsthepmhhoheekgedpmhhouggvpehsmhhtphhouhht List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 23 Aug 2023 11:49:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/104538 This adds QCBOR - a CBOR encoder/decoder library Signed-off-by: Pawel Langowski --- meta-oe/recipes-extended/qcbor/qcbor_git.bb | 32 +++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-oe/recipes-extended/qcbor/qcbor_git.bb diff --git a/meta-oe/recipes-extended/qcbor/qcbor_git.bb b/meta-oe/recipes-extended/qcbor/qcbor_git.bb new file mode 100644 index 000000000000..9c562d5a6671 --- /dev/null +++ b/meta-oe/recipes-extended/qcbor/qcbor_git.bb @@ -0,0 +1,32 @@ +DESCRIPTION = " \ + QCBOR is a powerful, commercial-quality CBOR encoder/decoder that \ + implements these RFCs: RFC8949, RFC7049, RFC8742, RFC8943 \ +" + +HOMEPAGE = "https://github.com/laurencelundblade/QCBOR" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://README.md;beginline=442;endline=463;md5=b55643261d6d221dac2b7a395105af62" + +SRC_URI = "git://github.com/laurencelundblade/QCBOR;protocol=https;branch=master" + +SRCREV = "44754f738c6534a4304a83d4c6e97b3d3193d887" + +PV = "1.2+git${SRCPV}" + +S = "${WORKDIR}/git" + +inherit pkgconfig + +CFLAGS += " \ + -DUSEFULBUF_DISABLE_ALL_FLOAT \ +" + +do_install(){ + install -d ${D}${libdir} + install -m 755 ${S}/libqcbor.a ${D}${libdir}/ + install -d ${D}${includedir}/qcbor + install -m 644 ${S}/inc/*.h ${D}${includedir} + install -m 644 ${S}/inc/qcbor/*.h ${D}${includedir}/qcbor +} +