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 C772A1580E0 for ; Tue, 10 Jun 2025 16:15:38 +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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id B635E341939 for ; Tue, 10 Jun 2025 16:15:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id BE8BC1103DD; Tue, 10 Jun 2025 16:15:34 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B76991103DD for ; Tue, 10 Jun 2025 16:15:34 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D131342F8D for ; Tue, 10 Jun 2025 16:15:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 11915653 for ; Tue, 10 Jun 2025 16:15:33 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1749567963.30744c2709ef988a58b89c8988ca0bc2872c0f98.bkohler@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: gkbuilds/ X-VCS-Repository: proj/genkernel X-VCS-Files: gkbuilds/json-c-0.18.gkbuild X-VCS-Directories: gkbuilds/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 30744c2709ef988a58b89c8988ca0bc2872c0f98 X-VCS-Branch: master Date: Tue, 10 Jun 2025 16:15:33 +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: 1885d980-2c23-4003-8d64-98d2c3b47e23 X-Archives-Hash: b592cab2ed5a1c5653b85caddd822b1a commit: 30744c2709ef988a58b89c8988ca0bc2872c0f98 Author: Ben Kohler gentoo org> AuthorDate: Tue Jun 10 15:06:03 2025 +0000 Commit: Ben Kohler gentoo org> CommitDate: Tue Jun 10 15:06:03 2025 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=30744c27 gkbuilds: add json-c-0.18 Same as 0.17 but still separate from the unversioned one for now. Bug: https://bugs.gentoo.org/957178 Signed-off-by: Ben Kohler gentoo.org> gkbuilds/json-c-0.18.gkbuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gkbuilds/json-c-0.18.gkbuild b/gkbuilds/json-c-0.18.gkbuild new file mode 100644 index 00000000..9d898525 --- /dev/null +++ b/gkbuilds/json-c-0.18.gkbuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +# +src_configure() { + mkdir ../${P}_build + cd ../${P}_build + + gkexec "cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_APPS=OFF \ + -DDISABLE_EXTRA_LIBS=ON \ + -DDISABLE_WERROR=ON \ + -DENABLE_RDRAND=no \ + -DENABLE_THREADING=no \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_LIBDIR=lib \ + ../${P}" +} + +src_compile() { + cd ../${P}_build + gkmake +} + +src_install() { + cd ../${P}_build + gkmake DESTDIR="${D}" install +}