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 52F7015802C for ; Sun, 15 Dec 2024 09:47:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C999E0948; Sun, 15 Dec 2024 09:47:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 pigeon.gentoo.org (Postfix) with ESMTPS id D7F05E0974 for ; Sun, 15 Dec 2024 09:47:43 +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 246D1342FDD for ; Sun, 15 Dec 2024 09:47:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B20B71F41 for ; Sun, 15 Dec 2024 09:47:41 +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: <1734256026.3e0dea7c1ff6940d393d2ab76ada8a6d1b8a354e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/ncdu/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/ncdu/ncdu-2.7-r1.ebuild X-VCS-Directories: sys-fs/ncdu/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3e0dea7c1ff6940d393d2ab76ada8a6d1b8a354e X-VCS-Branch: master Date: Sun, 15 Dec 2024 09:47: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: 3e235a10-53a7-461b-ad55-abea92c54cd6 X-Archives-Hash: d4f3630f46789fd1a4ad9ca1f0ae6800 commit: 3e0dea7c1ff6940d393d2ab76ada8a6d1b8a354e Author: Eric Joldasov landless-city net> AuthorDate: Mon May 13 11:26:51 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Dec 15 09:47:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0dea7c sys-fs/ncdu: add 2.7-r1 Now uses `zig.eclass`. Signed-off-by: Eric Joldasov landless-city.net> Closes: https://github.com/gentoo/gentoo/pull/37283 Signed-off-by: Sam James gentoo.org> sys-fs/ncdu/ncdu-2.7-r1.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/sys-fs/ncdu/ncdu-2.7-r1.ebuild b/sys-fs/ncdu/ncdu-2.7-r1.ebuild new file mode 100644 index 000000000000..96b32f45abb3 --- /dev/null +++ b/sys-fs/ncdu/ncdu-2.7-r1.ebuild @@ -0,0 +1,52 @@ +# 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 + +ZIG_SLOT="0.13" +inherit verify-sig zig + +DESCRIPTION="NCurses Disk Usage" +HOMEPAGE="https://dev.yorhel.nl/ncdu https://code.blicky.net/yorhel/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() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + fi + zig_src_unpack +} + +src_configure() { + local my_zbs_args=( + -Dpie=true + # Upstream recommends this default: + --release=fast + ) + + zig_src_configure +} + +src_install() { + zig_src_install + + doman ncdu.1 +}