summaryrefslogtreecommitdiff
path: root/sys-fs/ncdu
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/ncdu')
-rw-r--r--sys-fs/ncdu/Manifest2
-rw-r--r--sys-fs/ncdu/ncdu-2.2.ebuild33
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-fs/ncdu/Manifest b/sys-fs/ncdu/Manifest
index 2a5256838636..bebc0fbf782d 100644
--- a/sys-fs/ncdu/Manifest
+++ b/sys-fs/ncdu/Manifest
@@ -1,5 +1,7 @@
DIST ncdu-1.17.tar.gz 157187 BLAKE2B 7d36a648b8fb0a26d3b6bcc533ed8f510e7f37b3084cb585a0c785d73fd82f537e0f2f9493c3b56173eae1324255e7acf7617a1cd1614c92a3b7bf0d53b7d77f SHA512 aa2366797760f0c0b2bea866f0ae0446b8113e3ff6460192a4a42d4d888d473d7f37bc4acff6220fa86003bd96d71761168a2ae0ded36456072176a69564c775
DIST ncdu-2.1.2.tar.gz 52702 BLAKE2B fb64058bec2e8f286fa82e16986cddd9126e5c94d513740d48ff1c971e7ee95270fe6c1cfbbe240bb8e99fba4e3fd6d2624f99870422835da44447a2507f0b8b SHA512 ff48f2b9625e1aba29e5598051d16c4b5dc1a634fab897709226dd69d3b48031e6e62527c8514ec4753874d2d96800e538d6ad90b4a5f9851410d10579ccc67c
+DIST ncdu-2.2.tar.gz 55903 BLAKE2B 568760748ec54b193f17e31fa285d95085389a4f8e1abfe8e5fe5e2d67b0ca221cb7ca94cba248206808d6369058384286de690338f67faee7ff18f09832ebd9 SHA512 d491976b5e19726afe856860e07974c9c70b161c96cd17960a9f36dbc6fc1a51fd3d84da2e22e21cd3d384ab004a7d248096212e762d1ad3849e2cf8a036fc19
EBUILD ncdu-1.17.ebuild 456 BLAKE2B 612a29e7cac217a79439d64a990c4f4085c0e2970667a86749cfb5ecccf05a2c4c01eab6b7009752d4727ad4ad22518f37c7875f0d9f02c520c57e193601a6e6 SHA512 1868a54a9150e5b839826f4fe25031e99ef950de96b40365613cb04d8094952a8fb1220e3b5d9a43e4737206f21041efc4fb1992a91888df33eb189cf06c3014
EBUILD ncdu-2.1.2-r1.ebuild 692 BLAKE2B fa9d4f3c30e200589a449aab882e7436fb8ae5f0f355e1fd52e5ed684ee5db388c404b6e15570a07cf98fd1177823ef1e8ba87f2d6e017aa070e147be52793fd SHA512 1948f24c65c35e0532145e4e5b63e58ae7121376b232a83b932e25f4527b28a63856fced612e3f5ff3829effd48bf7225f07125e67a899eba34835153d4858fb
+EBUILD ncdu-2.2.ebuild 692 BLAKE2B fa9d4f3c30e200589a449aab882e7436fb8ae5f0f355e1fd52e5ed684ee5db388c404b6e15570a07cf98fd1177823ef1e8ba87f2d6e017aa070e147be52793fd SHA512 1948f24c65c35e0532145e4e5b63e58ae7121376b232a83b932e25f4527b28a63856fced612e3f5ff3829effd48bf7225f07125e67a899eba34835153d4858fb
MISC metadata.xml 586 BLAKE2B 37590076001edf71b7f6eabdecd8b53fe9bf40401db2dcd6b2710f448dd2f7f0ef4ff7f8af8e15a6cce1c9f13e1861338baf219d477810ef0a85d3cce4fb08e2 SHA512 5d0f342d74634927f240a079e33beabac800db525859a65fda2328e821d1e58ee50a634783d3b1507c3748449ed15a966109373d44f8fc98af6929e75ffa2a67
diff --git a/sys-fs/ncdu/ncdu-2.2.ebuild b/sys-fs/ncdu/ncdu-2.2.ebuild
new file mode 100644
index 000000000000..b1f2a22f2abc
--- /dev/null
+++ b/sys-fs/ncdu/ncdu-2.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="NCurses Disk Usage"
+HOMEPAGE="https://dev.yorhel.nl/ncdu/"
+SRC_URI="https://dev.yorhel.nl/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="sys-libs/ncurses:=[unicode(+)]"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ || ( ~dev-lang/zig-0.9.1 ~dev-lang/zig-bin-0.9.1 )
+ virtual/pkgconfig
+"
+
+# see https://github.com/ziglang/zig/issues/3382
+# For now, Zig doesn't support CFLAGS/LDFLAGS/etc.
+QA_FLAGS_IGNORED="usr/bin/ncdu"
+
+src_test() {
+ zig build test || die "Tests failed"
+}
+
+src_install() {
+ emake PREFIX="${ED}"/usr install
+
+ dodoc README.md ChangeLog
+}