commit:     7daa846233df63abe5c843f480c5601e283d82f1
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 21 06:49:01 2026 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 21 12:28:20 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7daa8462

sys-process/iotop-c: add 1.31

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-process/iotop-c/Manifest            |  1 +
 sys-process/iotop-c/iotop-c-1.31.ebuild | 43 +++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/sys-process/iotop-c/Manifest b/sys-process/iotop-c/Manifest
index f1d0a4ac2027..c97ad4f2dc0b 100644
--- a/sys-process/iotop-c/Manifest
+++ b/sys-process/iotop-c/Manifest
@@ -1,3 +1,4 @@
 DIST iotop-c-1.27.tar.gz 142334 BLAKE2B 
80e8ff6d90d325533a9097596dd0353d26214e2302931d0268a2d8f491a9e531d795ba450eac2b0f4bea7beb88317053f8d23308fcdbf52570991255afb81ea0
 SHA512 
55a93e2f3c6aaeb46ca219a77e64706083b8746d1299e8ab576780a2c6a17eb5612c1280531432748afb90ded5e6677149301ea2641b4f77cd3a2d91700b1fbb
 DIST iotop-c-1.29.tar.gz 145648 BLAKE2B 
d89499161b899d8d62f5c41913c2b1d3dbecf0239e307fa374c85717df7568acf73f68fc14da44410d215215e7b9991f384d5a5591f957198caa79311a7a6274
 SHA512 
23593814c1ae70db0b1c1a47c09132efbe57ef912d8b120593b0d1c78a96eb457acdb4742505e659759ff87e91cbc630091c698b6583fe1be36dbd81c54281fd
 DIST iotop-c-1.30.tar.gz 145992 BLAKE2B 
df43e66696924e0b875e495bc3c8be2228946fc596e6611280020ef39bd18f90f52d9c9a1908111b2d4e01cf2d4911fbe79be5eb2ae897e83ff2e5e17d9e355d
 SHA512 
8447a617371b23d32fbb8dad7c328985faa246cbce800f66d0a1ed1223167bf5a43245318fa35ac33d7c0bbd90a93d495f011811f4547b285ea0377812e9bb1e
+DIST iotop-c-1.31.tar.gz 214720 BLAKE2B 
95a36928344f5d1fece7763008a6c51f608de851b7268d119d091c8efd360279fa92b19988a97f32bed42cea9853955b181b168a80f17f24e703a9beb2baafe9
 SHA512 
0172e25458ef1ce5b3b88258426eb1b9069262e58ef4ab6c3fe16b4f6c5fd1699c8b87ad5bb96b49dab0ff5e4cb39459aaec6e0d7b410da94e6a26c4d3524504

diff --git a/sys-process/iotop-c/iotop-c-1.31.ebuild 
b/sys-process/iotop-c/iotop-c-1.31.ebuild
new file mode 100644
index 000000000000..2646f38f5202
--- /dev/null
+++ b/sys-process/iotop-c/iotop-c-1.31.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2022-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps linux-info toolchain-funcs
+
+DESCRIPTION="top utility for IO (C port)"
+HOMEPAGE="https://github.com/Tomas-M/iotop";
+SRC_URI="https://github.com/Tomas-M/iotop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/iotop-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+       sys-libs/ncurses:=
+       !sys-process/iotop
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS 
~VM_EVENT_COUNTERS"
+
+FILECAPS=(
+       cap_net_admin=eip usr/bin/iotop
+)
+
+src_prepare() {
+       sed -e 's/-D_FORTIFY_SOURCE=2//' -i Makefile || die
+       default
+}
+
+src_compile() {
+       emake V=1 CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" NO_FLTO=1
+}
+
+src_install() {
+       dobin iotop
+       dodoc README.md
+       doman iotop.8
+}

Reply via email to