commit:     f1896c9a059f26839c23028eeafb27a2c34dc999
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  9 04:40:14 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  9 04:42:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1896c9a

sys-process/tiptop: add 2.3.1_p4 (Debian patchset)

Import Debian patchset for a parallel build fix
but also some other quality of life fixes:
- cross-compile fix from non-x86
- mention needing root depending on kernel settings

Bug: https://bugs.gentoo.org/810838
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/tiptop/Manifest               |  1 +
 sys-process/tiptop/tiptop-2.3.1_p4.ebuild | 33 +++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/sys-process/tiptop/Manifest b/sys-process/tiptop/Manifest
index 65c53895cb1..ac377174f70 100644
--- a/sys-process/tiptop/Manifest
+++ b/sys-process/tiptop/Manifest
@@ -1 +1,2 @@
 DIST tiptop-2.3.1.tar.gz 100993 BLAKE2B 
fd05d9d59fda2e81c194dedabb7d9d94220e790a8118048ebc3edd84706471a8892a918e02ebc7436c3c75e7a98c5c3ab98e11d614ced304ac81fdf8ce1951ed
 SHA512 
73d275bc3957583524c872b401cf4fa773de7b4e7b7177f1787851f43e7c4aeefd953eb50b2dbce3babfc7a1c46707370ba4ad06998260177994b2eafb91395b
+DIST tiptop_2.3.1-4.debian.tar.xz 3716 BLAKE2B 
14e5192888b99681f8114fd9abcafb4c2fc00b1923560ea93ba4c714dc1164731cdf16d42d73946413f743fe48b6d27151804f5f6e65cab7afa8834f54c683e1
 SHA512 
45d34abc16327bc443387c941c0477b2c491510c7cda1da8a7f7a704c8b891ef07c96122be46c501e55e471df5bcfd50919f586a67d8b91b764d3bdefa599872

diff --git a/sys-process/tiptop/tiptop-2.3.1_p4.ebuild 
b/sys-process/tiptop/tiptop-2.3.1_p4.ebuild
new file mode 100644
index 00000000000..12c132e4234
--- /dev/null
+++ b/sys-process/tiptop/tiptop-2.3.1_p4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="top for performance counters"
+HOMEPAGE="http://tiptop.gforge.inria.fr/";
+SRC_URI="http://${PN}.gforge.inria.fr/releases/${PN}-$(ver_cut 1-3).tar.gz"
+SRC_URI+=" 
http://deb.debian.org/debian/pool/main/t/tiptop/tiptop_${PV/_p/-}.debian.tar.xz";
+S="${WORKDIR}/${PN}-$(ver_cut 1-3)"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       sys-libs/ncurses:=
+       dev-libs/libxml2:2
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-2.3.1-tinfo.patch #618124
+       "${WORKDIR}"/debian/patches
+)
+
+src_prepare() {
+       default
+       eautoreconf #618124
+}

Reply via email to