From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 0877B1584AD for ; Wed, 07 May 2025 17:13:49 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E634F34301C for ; Wed, 07 May 2025 17:13:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D7AB7110278; Wed, 07 May 2025 17:13:47 +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 bobolink.gentoo.org (Postfix) with ESMTPS id CD78C110278 for ; Wed, 07 May 2025 17:13:47 +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 85AE5342FFF for ; Wed, 07 May 2025 17:13:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E855D10D4 for ; Wed, 07 May 2025 17:13:45 +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: <1746638012.e2bed7f7d11ae9ebdc34a445c816e256aab38fa2.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.11.0.ebuild X-VCS-Directories: dev-libs/yyjson/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: e2bed7f7d11ae9ebdc34a445c816e256aab38fa2 X-VCS-Branch: master Date: Wed, 07 May 2025 17:13:45 +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: d6d5c202-2ac0-4efd-baf0-7a694d56eb6e X-Archives-Hash: cea20c012247dc80af0bb1ab7cd067ff commit: e2bed7f7d11ae9ebdc34a445c816e256aab38fa2 Author: Viorel Munteanu gentoo org> AuthorDate: Wed May 7 16:46:15 2025 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Wed May 7 17:13:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2bed7f7 dev-libs/yyjson: add 0.11.0 Signed-off-by: Viorel Munteanu gentoo.org> dev-libs/yyjson/Manifest | 1 + dev-libs/yyjson/yyjson-0.11.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-libs/yyjson/Manifest b/dev-libs/yyjson/Manifest index c8984049fde3..ee70ac1d3bcc 100644 --- a/dev-libs/yyjson/Manifest +++ b/dev-libs/yyjson/Manifest @@ -1 +1,2 @@ DIST yyjson-0.10.0.tar.gz 1538409 BLAKE2B 84dbed32579a56a6051b7360d2ddec5b1d8991d1b6e818dcca943ee2a3b26d534c1a911995ae1b0c13fc1cdbfd45aab52e36327529405aa3d39622caa0eb75a9 SHA512 d0274bfdae6291cc54d7c306f7f9064333d3e0fd8d235428148fa5695e151e0fdd0982247a5e82fe60b27e9182ba27d5704aca4546a8dc9545117bd3a017bfb5 +DIST yyjson-0.11.0.tar.gz 1591254 BLAKE2B b03399f2348cf2916ba728fa719aaab5404f964cd232550c27d9b58d5ff2dce39c81b1b790ecc3a05db50f37927fe9528dd851327b8414afd57f2897ec3b4483 SHA512 a1abbc6c105c6b1cb1ca936ff148e7d4c3f77484397254952fc38ab2ebd7fab19cdd80648eb2bb7806508e83550628e0385f3c236ca815786da90ef36fae63a1 diff --git a/dev-libs/yyjson/yyjson-0.11.0.ebuild b/dev-libs/yyjson/yyjson-0.11.0.ebuild new file mode 100644 index 000000000000..b2f96f422a93 --- /dev/null +++ b/dev-libs/yyjson/yyjson-0.11.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023-2025 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/0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="doc test" + +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( app-text/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=OFF + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + use doc && dodoc -r "${BUILD_DIR}"/doxygen/html +}