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 A3A5F158042 for ; Thu, 24 Oct 2024 01:48:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0583E0AA5; Thu, 24 Oct 2024 01:46:32 +0000 (UTC) Received: from mail.landless-city.net (mail.landless-city.net [95.164.19.180]) (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 2B7D3E0A7F for ; Thu, 24 Oct 2024 01:46:32 +0000 (UTC) Received: from mail.landless-city.net (unknown [37.99.36.187]) by mail.landless-city.net (Postfix) with ESMTPSA id 075B27E8A3 for ; Thu, 24 Oct 2024 06:46:30 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landless-city.net; s=2024031301_rsa; t=1729734390; 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=e0r1YNDD0d7KJpXFUYc8qnSmXylpHx4NSjMZChNK0EqXX9iJMfTvjwGATLskM6svHVIjyM A6fe9N4zpNq8z96zQslQE/RMDvCy5tybQ9LcuDOAhEgQhs7NFHNtxM44dTATm14qu0DPHS a1/3Q8U1o5N4I8VUWgmr2PvUDTgSpnXrdbx+nrJAGs8rVJOj0FJUn6eXfaJ9c/gzh/zAc+ vUMLaU7JnlnCS/P4d15TOOC3oU9IX72fStY0k9VL3VYYaVKqUgEpoX2b43MGVrCGcLgPsF yYCQocZPY2iJmMFMVNJPP3+oKsTemg9udd6ESnvBtEa8rq2GyyIQjgdyOFCcrg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=landless-city.net; s=2024031301_ed25519; t=1729734390; 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=EpeyIsaKv1a+sYVau2ej/eey7ASvRiLKaU4PZuCvpwUjPIQSHQFD5P+Y6DvtvVspDuPlqU iuIvdI9CbX2e0eAg== From: Eric Joldasov To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH 5/5] sys-fs/ncdu: add 2.6-r1 Date: Thu, 24 Oct 2024 06:46:18 +0500 Message-ID: <20241024014626.31175-6-bratishkaerik@landless-city.net> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241024014626.31175-1-bratishkaerik@landless-city.net> References: <20241024014626.31175-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: 1c481cf8-816c-4fec-9c72-f6ef67f58d6b X-Archives-Hash: 4a684974d7e74865eef1c04e50c381fb 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