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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AD8B31580EB for ; Wed, 21 May 2025 21:04:30 +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)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9B0923431B2 for ; Wed, 21 May 2025 21:04:30 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A9CDE1104B8; Wed, 21 May 2025 21:03:42 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 9A0BC1104B8 for ; Wed, 21 May 2025 21:03:42 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 56BC2343183 for ; Wed, 21 May 2025 21:03:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2DCF1289D for ; Wed, 21 May 2025 21:03:40 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1747861345.f38dc9e6bf745a92d4034af0aa8297842007e2d7.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/jansson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/jansson/Manifest dev-libs/jansson/jansson-2.14.1.ebuild X-VCS-Directories: dev-libs/jansson/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f38dc9e6bf745a92d4034af0aa8297842007e2d7 X-VCS-Branch: master Date: Wed, 21 May 2025 21:03:40 +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: 37bc0a3e-b363-4940-bd7b-2ee57f3e922a X-Archives-Hash: 470b6897f81e96dba6bb5820bac64c88 commit: f38dc9e6bf745a92d4034af0aa8297842007e2d7 Author: David Zero zer0-one net> AuthorDate: Mon May 19 22:25:20 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 21 21:02:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f38dc9e6 dev-libs/jansson: add 2.14.1 Signed-off-by: David Zero zer0-one.net> Part-of: https://github.com/gentoo/gentoo/pull/42165 Closes: https://github.com/gentoo/gentoo/pull/42165 Signed-off-by: Sam James gentoo.org> dev-libs/jansson/Manifest | 1 + dev-libs/jansson/jansson-2.14.1.ebuild | 49 ++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-libs/jansson/Manifest b/dev-libs/jansson/Manifest index 24fa3b4d26fe..bc87888b5570 100644 --- a/dev-libs/jansson/Manifest +++ b/dev-libs/jansson/Manifest @@ -1 +1,2 @@ +DIST jansson-2.14.1.tar.bz2 482990 BLAKE2B b3efb1cbe018bb88664167249edca65c5194922c69fa82a0514d5bbcd24324464ddcc30ae57f8ab0f9c43f28d2364adc973f87146ceff0889ea2b6eafb91b1ea SHA512 668d8ffbd13b83e8a55449c588f267220c2a9e4690281c2386e3dada4c8b890c80effd6a946b3500bb1cf800eb8cf1bb3da3c6476ceea4f462d2ccc9cd4911d8 DIST jansson-2.14.tar.bz2 434481 BLAKE2B b7b7e98360fd73f7925b88e3729a7a18307b4f05fed4b37659d24ddc03208469471d508dcd245534f73af3b5e93f595e49e3cb2c99733955b03d471bd5a32f15 SHA512 1a659c0f41b0672757c13ebd16bd10ad7d6484366aefda078aa816266ce4f5638bc121f1ce8c4234b0b9f201ea73c227b9084125857452cbcba058a111e4a6fd diff --git a/dev-libs/jansson/jansson-2.14.1.ebuild b/dev-libs/jansson/jansson-2.14.1.ebuild new file mode 100644 index 000000000000..30a71a19d403 --- /dev/null +++ b/dev-libs/jansson/jansson-2.14.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="C library for encoding, decoding and manipulating JSON data" +HOMEPAGE="https://www.digip.org/jansson/" +SRC_URI="https://github.com/akheron/jansson/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0/4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="doc static-libs" + +BDEPEND=" + dev-build/autoconf-archive + doc? ( dev-python/sphinx ) +" + +PATCHES=( + "${FILESDIR}/${P}-default-symver-test.patch" + "${FILESDIR}/${P}-test-symbols.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_compile() { + default + + if use doc ; then + emake html + HTML_DOCS=( doc/_build/html/. ) + fi +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +}