From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 93D2E158089 for ; Thu, 14 Sep 2023 16:43:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6A6B2BC025; Thu, 14 Sep 2023 16:43:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 775232BC025 for ; Thu, 14 Sep 2023 16:43:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54BB8335C87 for ; Thu, 14 Sep 2023 16:43:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B24171113 for ; Thu, 14 Sep 2023 16:43:41 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1694709807.cf191257a79d37fb55e450436fdbf5598c1b1fc5.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/yyjson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/yyjson/Manifest dev-libs/yyjson/yyjson-0.8.0.ebuild X-VCS-Directories: dev-libs/yyjson/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: cf191257a79d37fb55e450436fdbf5598c1b1fc5 X-VCS-Branch: master Date: Thu, 14 Sep 2023 16:43:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d7f29897-1e46-4804-b8f8-4f1d3d8d4ddd X-Archives-Hash: eb5c54a0b9999d66f3208eecf4d4240f commit: cf191257a79d37fb55e450436fdbf5598c1b1fc5 Author: Viorel Munteanu gentoo org> AuthorDate: Thu Sep 14 16:41:02 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Thu Sep 14 16:43:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf191257 dev-libs/yyjson: add 0.8.0 Signed-off-by: Viorel Munteanu gentoo.org> dev-libs/yyjson/Manifest | 1 + dev-libs/yyjson/yyjson-0.8.0.ebuild | 40 +++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-libs/yyjson/Manifest b/dev-libs/yyjson/Manifest index a81627194462..80ea8fc3fd84 100644 --- a/dev-libs/yyjson/Manifest +++ b/dev-libs/yyjson/Manifest @@ -1 +1,2 @@ DIST yyjson-0.7.0.tar.gz 1511395 BLAKE2B a088ecaf049b4fd5562a15759dfb67e5a1612ca848a658898bf7b9fe2e8bf7df1270d2a4fe477a92df8963065fb60ce5dbf69da5eb7fa1e282f821222329032d SHA512 91a14d2292cebc5d3eb0954511c1d27d6fa45f778febe73bac700acdbeba3bfc485db444d49cab903dc323eacdb74625059465e4a45a1eca5a1e397768f422f5 +DIST yyjson-0.8.0.tar.gz 1529369 BLAKE2B b76acfbc48a3520129c5ecffd61b5eb06a1a0103b09e31cf45ead6ddb9876c30c0d096e104bb73a57c128b42fa9b5dd7af700144d61dd51e2ac14f188e5e5195 SHA512 3872b46930fd0f4d659004a4d08cdb1c506ccc2bf2888f5ee50523929a2b72f9d8e72ee71dc958ebca630f1886858d4350521bffc18c300a27d25436833384a9 diff --git a/dev-libs/yyjson/yyjson-0.8.0.ebuild b/dev-libs/yyjson/yyjson-0.8.0.ebuild new file mode 100644 index 000000000000..cf8762112498 --- /dev/null +++ b/dev-libs/yyjson/yyjson-0.8.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Fast JSON library in C" +HOMEPAGE="https://github.com/ibireme/yyjson https://ibireme.github.io/yyjson/doc/doxygen/html/" +SRC_URI="https://github.com/ibireme/yyjson/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT test? ( BSD )" +SLOT="0/${PV}" +KEYWORDS="~amd64" + +IUSE="doc test" + +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.7.0-disable-werror.patch +) + +src_configure() { + local mycmakeargs=( + -DYYJSON_BUILD_DOC=$(usex doc) + -DYYJSON_BUILD_TESTS=$(usex test) + -DYYJSON_ENABLE_VALGRIND=$(usex test) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + use doc && dodoc -r "${BUILD_DIR}"/doxygen/html +}