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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 57F47158042 for ; Fri, 25 Oct 2024 21:35:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4EA4CE0ADA; Fri, 25 Oct 2024 21:34:08 +0000 (UTC) Received: from mail.landless-city.net (mail.landless-city.net [IPv6:2a11:4c02:0:10::1]) (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 E5274E0ACA for ; Fri, 25 Oct 2024 21:34:07 +0000 (UTC) Received: from mail.landless-city.net (unknown [37.99.36.156]) by mail.landless-city.net (Postfix) with ESMTPSA id 8C43F7D6ED for ; Sat, 26 Oct 2024 02:34:05 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landless-city.net; s=2024031301_rsa; t=1729892045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vt4MXx3xKEHWnwsMrh8Re1iAoQg7f0wWYrJTQnAZ3WU=; b=OaJhXn8lOH+JeKDLILK0y5S6vC+CgJ97oXyFeTAE+SDncQ0s1GZkHx73w5VMr5feOUcKNY sR6dY1Ry/t1rCaL1Ey42c3n0sZ0vSvAanmiW20BV5puF1CAl39MDRRR7hVa2jRX6yCfl9h WlFtNbksPjjnukb07ttu/HJBpfNYU6Uqfa2VbWNMaq5GfESyAkXyPcn5rgm67fs8+KMCyE peiwaLdoFpU3MQjanuv4KefoHxg6kMt9IccOqekdC6p3EtMTUxQ5qB+ytRuox6VsaxVqdV 1sm+JqeFA5Hw0B6XF8xRgH3O+rfp1XoKyoFKaEW5FyWEXHkXBTXFkMF8mRhcTw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=landless-city.net; s=2024031301_ed25519; t=1729892045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vt4MXx3xKEHWnwsMrh8Re1iAoQg7f0wWYrJTQnAZ3WU=; b=Vbs//CELyp2d0nQZ6YUeCHKMKHauBMbS4OjZfSL3vExa7UE6/LZPCR4i4gJqp571WkYRxc Nk4Ci6kT31UWNsAw== From: Eric Joldasov To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH v2 5/5] sys-fs/ncdu: add 2.6-r1 Date: Sat, 26 Oct 2024 02:33:52 +0500 Message-ID: <20241025213359.8925-6-bratishkaerik@landless-city.net> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241025213359.8925-1-bratishkaerik@landless-city.net> References: <20241024014626.31175-1-bratishkaerik@landless-city.net> <20241025213359.8925-1-bratishkaerik@landless-city.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: da321d99-0e1b-41ff-aac8-27c83699ef87 X-Archives-Hash: 5f2d7cbc6f4906d685e38900979cd1c0 Now uses "zig-build" eclass. Signed-off-by: Eric Joldasov --- sys-fs/ncdu/ncdu-2.6-r1.ebuild | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 sys-fs/ncdu/ncdu-2.6-r1.ebuild diff --git a/sys-fs/ncdu/ncdu-2.6-r1.ebuild b/sys-fs/ncdu/ncdu-2.6-r1.ebuild new file mode 100644 index 000000000000..6fb3c76328cc --- /dev/null +++ b/sys-fs/ncdu/ncdu-2.6-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/yoranheling.asc +# Upstream states 0.12.x and 0.13.x support, +# but eclass supports only one slot. +ZIG_SLOT="0.13" +inherit verify-sig zig-build + +DESCRIPTION="NCurses Disk Usage" +HOMEPAGE="https://dev.yorhel.nl/ncdu" +SRC_URI=" + https://dev.yorhel.nl/download/${P}.tar.gz + verify-sig? ( https://dev.yorhel.nl/download/${P}.tar.gz.asc ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-yorhel )" +DEPEND=" + app-arch/zstd + sys-libs/ncurses:=[unicode(+)] +" +RDEPEND="${DEPEND}" + +DOCS=("README.md" "ChangeLog") + +src_unpack() { + verify-sig_src_unpack +} + +src_configure() { + local my_zbs_args=( + -Dpie=true + # Upstream recommends this default: + --release=fast + ) + + zig-build_src_configure +} + +src_install() { + zig-build_src_install + + doman ncdu.1 +} -- 2.47.0