mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
sys-fs/ncdu: Revbump for zig-0.15 support
Closes: https://bugs.gentoo.org/962801 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
parent
ce0104ae74
commit
179441b83c
53
sys-fs/ncdu/ncdu-2.9.1-r1.ebuild
Normal file
53
sys-fs/ncdu/ncdu-2.9.1-r1.ebuild
Normal file
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2025 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.15"
|
||||
ZIG_NEEDS_LLVM=1
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user