summaryrefslogtreecommitdiff
path: root/sys-fs/ncdu
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-22 03:03:01 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-22 03:03:01 +0000
commitc7a7ec40cf928d8fc6a8241aa208272c008c7b4d (patch)
tree72e31c496e32182b70cfe385fbf03517b43bdddb /sys-fs/ncdu
parent9db1279f804d62da2c61cfb39fc2e62b9faf56dd (diff)
gentoo auto-resync : 22:11:2024 - 03:03:01
Diffstat (limited to 'sys-fs/ncdu')
-rw-r--r--sys-fs/ncdu/Manifest6
-rw-r--r--sys-fs/ncdu/ncdu-1.21.ebuild26
-rw-r--r--sys-fs/ncdu/ncdu-2.7.ebuild132
3 files changed, 164 insertions, 0 deletions
diff --git a/sys-fs/ncdu/Manifest b/sys-fs/ncdu/Manifest
index 902484d5e272..0af6d7e30d61 100644
--- a/sys-fs/ncdu/Manifest
+++ b/sys-fs/ncdu/Manifest
@@ -1,10 +1,16 @@
DIST ncdu-1.20.tar.gz 150835 BLAKE2B 0bb6576ecbb3df281c67a48409db2118521760f378defd9c082f732519c9828451b77897ca49e777674ae73a5aac0fd975b94d5a95b1689cd552b5840ac3b5de SHA512 af9a45cc27bb3cdee7fd65236b9b48cb604f9e54208a762ed7b3b18333e07e87a8ae5a4cd0071496e7e382c60a7760734cad1f68fb69423a79fa3f050d2c09bb
DIST ncdu-1.20.tar.gz.asc 833 BLAKE2B 487e3b4b1e83a2211e91307ff1ca1778059cc3f923e04b57bc5d4780d0108589a062861a25bafa58c357ad4495edce814a58eeb24087e06b958d8e23a02bbf22 SHA512 168bcc4255bbb7a576af39422797804726f84134dc342f59abfc825f93c5ee4e9fcaa9e0c18626ee87b96b2d19a7c57beaa8e1b3dc57eff2bd659add18027140
+DIST ncdu-1.21.tar.gz 152622 BLAKE2B e16d79a96533ecc8c5bbcbb32cc6080d61e859a9cf8e0cdf5abed28a9f848a347151fb6ec7c28aff3f3fd0420233883f5fd5c72981322227e22da4b01eebb7b7 SHA512 10ffb2fdacf465a410e8733acc3f2f7f6304998e8e6cb9b4c42b5c6aa6e588ef7d262b72d5d83d8bbc80964fa9850b4b4a9bc9c58224fb41598eeae399771674
+DIST ncdu-1.21.tar.gz.asc 833 BLAKE2B 12751c09235d6c91087141b249c76323627c75adb7d40e7ad0a839a4e25d738567a50f95906e95e1d6e3c820295b124ec1f01714b7718ff4adf5ee2a6d5d2570 SHA512 5051b67bed35ebc84302f121851ecaa17b146a5dccbc96f49966a39fd404d777450bf85a653be47ab01d8e675d3a821fbd9c8f25bb934abf481faa57cc8b1873
DIST ncdu-2.5.tar.gz 56019 BLAKE2B c10fb19f87c3d26334038ee96d857e547f9f6881518a675d9777a6c46cf456748861d84df190c14d6d2582f5ad3998ecdf9d00f0969c996221c0d1d9787570a3 SHA512 f4d499a3ab98a56667c75554c77951e4a42f5acdc1353875c108b0da469665777564405b8fcea5a731de473afacfda9f2c8701ba0ba989de1260119c64d7a9f8
DIST ncdu-2.5.tar.gz.asc 833 BLAKE2B 86babaf8720898a5bd83a2cc290deb2f0a8041087b9f0afddd2306766b82877bbf51f45ac3622761f231359b2e5f60b8d6c5479963aaf7a6abdf67d24fb18496 SHA512 a28751371f7e7a033379fb5f5dc885c69e716f8b6654b8ee9e5eb023a22b67ca99e3ee813ddc2e335d6e8db9bd5a9a19359910a1b8aad13132f7a8bed1d67d78
DIST ncdu-2.6.tar.gz 72088 BLAKE2B 21d45bb428a56a040083165b9d467a526cd83eaa05b6f88b90a0b5dac0fa70dc4fd7e37ff52debc619b06103a95dad8ddc26fc9e77b6118eeb39aa97bfa0fd0e SHA512 e94612a56db3831d993d6ffd8c69a4cc2418ebf4b9a810e28444c103225ccc1f53ae31e448b94d40ccf2ab7d3a0af6e8ee02bc700123aca872b3bb35108e3d14
DIST ncdu-2.6.tar.gz.asc 833 BLAKE2B 110bbb6e2db221316004d4491f174c40cdf8fca44e91290f7ea87fc6788de20c3fd6d90bd4b55e4e720736514509af87bcc5b6533b37a2889e20c023939776e6 SHA512 478afe4a51244bc11dfbea2c12fb217392186c1efe1403b44309e0f0e3d431393173282ebae32ceeca32f4ec3a93f35ca19ac962728cd3d7f06f26bccd56169b
+DIST ncdu-2.7.tar.gz 71122 BLAKE2B 10363968820da2dd3cb17c73eb3cba877ca229b896f44bbdd2b8b04c9e3d13aec8476c1968fc5c1841c856e51a1cba64f840e3320e5655bb2eb2bf7258a88f0e SHA512 58d29583f09f6707b2a903fa37b0f263969b32a289e1f8f442044edb1a61351c7ac841dccebf92af227b35a9e6a90fa298a84dad607ad084f2a5883196935229
+DIST ncdu-2.7.tar.gz.asc 833 BLAKE2B d0dbf91b359bdfaca412601933e0da51cff8d7105df2e0d8767a0231c1fe3f7b4dfb0174b9744a68da1b3726884c77a13a162a21a4006b1d7de8c0917b133b66 SHA512 9f1c8a4b6b316d55a143805da159f22a4facf147ecf805130bcbdf68c83a5b8b0586b231780e7eedd16b3b5587332a06a81c95bb0d47cdd73c44ec3fe867ced8
EBUILD ncdu-1.20.ebuild 659 BLAKE2B 54817c34a87475b07af98fb846b7774b36f71384d33ff5eb31b87813dac43f6de72d84333b6a9ed172ab13a521ec9134bbd7c6e8d2269fee9c5e546a0eb20db1 SHA512 4cf3010ebd4db6ec1b79da28745c39093c8d76955fc6760fa9392f86ecb71bde0132abc7520f8a9f3f849d5feded9758e6ddb5fa525815f4546f179c6877b306
+EBUILD ncdu-1.21.ebuild 701 BLAKE2B 3c5f5e60baade3cb74b41d72f20eff98d40bd759f5b24b7ea94a38407cdc97fc60a3383560fa6251a503b2d42a7a845e2f93f80de0c0f5da37bb34adf1a5f031 SHA512 d4c481981f990c3df3bc29e5e99344f053cafef08de5ae510de58da9cb973ee73fb47df3cbc39b6d4982d348a3c2abdec22dbb0256edb0a9d0076407d6022c74
EBUILD ncdu-2.5-r1.ebuild 2980 BLAKE2B be80dae11d1e919b970c52bd1a8ad9705995831973e6dc4370b4434ad62c6203d49b48191d40a6ff1b2fb4c4be44d61cafbaec9c231d023d895647271c2ac217 SHA512 b77bfc1bd658e39edc1f10a99726f5fdd23d4f7e2855f1e9319c534d53a830873ff9eb547470e853478e89ed57cf73771b53815779e8a054246f1c1bd03f5acc
EBUILD ncdu-2.6.ebuild 2998 BLAKE2B ebbdf6710ad8ebb1a429bc42813018b6cb57203ba482cb815f0f0dd91eb57982810c5646b968ff99b77652ed069721bc2739afc7995b2ac57134b94e7abf1991 SHA512 1623ffb8aeeb5190394d2fa17d22a37ac134a458ac571f5b2db5c28a39eb7950ec85c7415698e95a18f88be7f66e3123582becac249488cdd5b9035e0ab3f357
+EBUILD ncdu-2.7.ebuild 3054 BLAKE2B 539347d5a98a0ed01b0678dfac4d71bb90057955c9a2756bbfe548fe6c76f15089d95a2c2c82ae16ced76f21b7b04984d83f2df82bc2ab839e3da171c778ff38 SHA512 a92bd4fdfc2599f78be3fa34c59384bfe63ae8f2c32e47ba8478c1cebecaba46ac82eee6dbcf4cdc25e93f17a0bb893d451882f9b8da10cd5011ae464ab1de04
MISC metadata.xml 862 BLAKE2B aecbc2cfec9351b2be9087d297016826f9bea5f81ea690e480cbe0dce5c627f554875fb9db5b19f21373391ef4fb28c7cea3129d911e80b7be007a9a0a79ac0a SHA512 2c722040961b930791780f704edddd4cdf010df05e462a0d333f2fbf4966c0ecac08eef3b1e05baf34013c95a91cc79dc38ef5616e07ffcb4e386b8760f89683
diff --git a/sys-fs/ncdu/ncdu-1.21.ebuild b/sys-fs/ncdu/ncdu-1.21.ebuild
new file mode 100644
index 000000000000..3e128d3937e4
--- /dev/null
+++ b/sys-fs/ncdu/ncdu-1.21.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit verify-sig
+
+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="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+DEPEND="sys-libs/ncurses:=[unicode(+)]"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ verify-sig? ( sec-keys/openpgp-keys-yorhel )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/yoranheling.asc
diff --git a/sys-fs/ncdu/ncdu-2.7.ebuild b/sys-fs/ncdu/ncdu-2.7.ebuild
new file mode 100644
index 000000000000..82b789c71db2
--- /dev/null
+++ b/sys-fs/ncdu/ncdu-2.7.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit verify-sig edo
+
+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"
+
+EZIG_MIN="0.13"
+EZIG_MAX_EXCLUSIVE="0.14"
+
+DEPEND="
+ app-arch/zstd
+ sys-libs/ncurses:=[unicode(+)]
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ || ( dev-lang/zig:${EZIG_MIN} dev-lang/zig-bin:${EZIG_MIN} )
+ virtual/pkgconfig
+ verify-sig? ( sec-keys/openpgp-keys-yorhel )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/yoranheling.asc
+
+# see https://github.com/ziglang/zig/issues/3382
+# For now, Zig doesn't support CFLAGS/LDFLAGS/etc.
+QA_FLAGS_IGNORED="usr/bin/ncdu"
+
+DOCS=( "README.md" "ChangeLog" )
+
+# Many thanks to Florian Schmaus (Flowdalic)!
+# Adapted from https://github.com/gentoo/gentoo/pull/28986
+# Set the EZIG environment variable.
+zig-set_EZIG() {
+ [[ -n ${EZIG} ]] && return
+
+ if [[ -n ${EZIG_OVERWRITE} ]]; then
+ export EZIG="${EZIG_OVERWRITE}"
+ return
+ fi
+
+ local candidate selected selected_ver ver
+
+ for candidate in "${BROOT}"/usr/bin/zig-*; do
+ if [[ ! -L ${candidate} || ${candidate} != */zig?(-bin)-+([0-9.]) ]]; then
+ continue
+ fi
+
+ ver=${candidate##*-}
+
+ if [[ -n ${EZIG_EXACT_VER} ]]; then
+ ver_test "${ver}" -ne "${EZIG_EXACT_VER}" && continue
+
+ selected="${candidate}"
+ selected_ver="${ver}"
+ break
+ fi
+
+ if [[ -n ${EZIG_MIN} ]] \
+ && ver_test "${ver}" -lt "${EZIG_MIN}"; then
+ # Candidate does not satisfy EZIG_MIN condition.
+ continue
+ fi
+
+ if [[ -n ${EZIG_MAX_EXCLUSIVE} ]] \
+ && ver_test "${ver}" -ge "${EZIG_MAX_EXCLUSIVE}"; then
+ # Candidate does not satisfy EZIG_MAX_EXCLUSIVE condition.
+ continue
+ fi
+
+ if [[ -n ${selected_ver} ]] \
+ && ver_test "${selected_ver}" -gt "${ver}"; then
+ # Candidate is older than the currently selected candidate.
+ continue
+ fi
+
+ selected="${candidate}"
+ selected_ver="${ver}"
+ done
+
+ if [[ -z ${selected} ]]; then
+ die "Could not find (suitable) zig installation in ${BROOT}/usr/bin"
+ fi
+
+ export EZIG="${selected}"
+ export EZIG_VER="${selected_ver}"
+}
+
+# Invoke zig with the optionally provided arguments.
+ezig() {
+ zig-set_EZIG
+
+ # Unfortunately, we cannot add more args here, since syntax is different
+ # for every subcommands. Yes, even target/cpu :( f.i. :
+ # -target/-mcpu for zig build-exe vs -Dtarget/-Dcpu for zig build-
+ # -OReleaseSafe for zig build-exe vs -DReleaseSafe for zig build
+ # (or even none, if hardcoded by upstream so choice is -Drelease=true/false)
+ # Ofc we can patch this, but still...
+
+ edo "${EZIG}" "${@}"
+}
+
+src_unpack() {
+ if use verify-sig; then
+ verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}
+ fi
+ default
+}
+
+src_configure() {
+ zig-set_EZIG
+ export ZIG=${EZIG}
+}
+
+src_test() {
+ ezig build test --release=fast -Dstrip
+}
+
+src_install() {
+ emake PREFIX="${ED}"/usr install
+ einstalldocs
+}