public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/btop/
Date: Mon,  7 Nov 2022 11:33:47 +0000 (UTC)	[thread overview]
Message-ID: <1667820823.7acb1f9f858574a994c30c73f0c3edfbbd3f0700.flow@gentoo> (raw)

commit:     7acb1f9f858574a994c30c73f0c3edfbbd3f0700
Author:     Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
AuthorDate: Sun Nov  6 21:58:59 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Nov  7 11:33:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7acb1f9f

sys-process/btop: add 1.2.13

Signed-off-by: Adrian Schollmeyer <nex+b-g-o <AT> nexadn.de>
Closes: https://github.com/gentoo/gentoo/pull/28161
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-process/btop/Manifest           |  1 +
 sys-process/btop/btop-1.2.13.ebuild | 57 +++++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/sys-process/btop/Manifest b/sys-process/btop/Manifest
index c01df74cd1ce..b772e97b9196 100644
--- a/sys-process/btop/Manifest
+++ b/sys-process/btop/Manifest
@@ -1,2 +1,3 @@
 DIST btop-1.2.12.tar.gz 980406 BLAKE2B ddaa023b85a00edfb27b55e574950934cce578ad7bbf0ea03b2780a511078638c14cd2316ebce8701be76c13ed3af8f0ded703071b363fddc14bcbea040279dd SHA512 36bf329a7b9922ff5cae990f5528625280b6b3fcb83d0af2e502876a2a8f4864c3a6ecbc6cb5aaa885f637859eef66470ff0cc86036f76b499b23a7c4086ea60
+DIST btop-1.2.13.tar.gz 982660 BLAKE2B 053c1ef87203b894c2cbe6007c3b5962dca232733d28f97d82a2f70e771d4cc92fe4c49d3582c80cb79974d65329d3e95e758b9e8a7fa51a2ff0cdbf6cbd9a75 SHA512 324e572d43e57e5e65e646aa743f7730e6d535fdc52e848aeb55d60c8d73945850c5b89fe0b541e98495ddf2bae71427a6ec8fe8a495b41cef885c535d01019b
 DIST btop-1.2.9.tar.gz 978265 BLAKE2B ff80079a393342a2cf3aefad6ead8be8b786fbc2b9445e8e2a8b37386f65f4060c801a6f59d216cd611783f4135a60d64b95ff2b5e1a3d62bb2d40030bde8974 SHA512 424573c8f82d0daf748cba7c82e72232773f145af9792ac78a5f5f18d98a8695f11452de106c72cf685ecb8cc89729471a494f9ea6b4300bdb2fa6acdbf4ac60

diff --git a/sys-process/btop/btop-1.2.13.ebuild b/sys-process/btop/btop-1.2.13.ebuild
new file mode 100644
index 000000000000..77749296de4f
--- /dev/null
+++ b/sys-process/btop/btop-1.2.13.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs xdg-utils
+
+DESCRIPTION="A monitor of resources"
+HOMEPAGE="https://github.com/aristocratos/btop"
+SRC_URI="https://github.com/aristocratos/btop/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+BDEPEND="
+	>=sys-devel/gcc-8
+"
+
+pkg_setup() {
+	if [[ "${MERGE_TYPE}" != "binary" ]]; then
+		if ! tc-is-gcc ; then
+			# https://bugs.gentoo.org/839318
+			die "$(tc-getCXX) is not a supported compiler. Please use sys-devel/gcc instead."
+		fi
+	fi
+}
+
+src_prepare() {
+	default
+	# btop installs README.md to /usr/share/btop by default
+	sed -i '/^.*cp -p README.md.*$/d' Makefile || die
+}
+
+src_compile() {
+	# Disable btop optimization flags, since we have our flags in CXXFLAGS
+	emake VERBOSE=true OPTFLAGS="" CXX="$(tc-getCXX)"
+}
+
+src_install() {
+	emake \
+		PREFIX="${EPREFIX}/usr" \
+		DESTDIR="${D}" \
+		install
+
+	dodoc README.md CHANGELOG.md
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}


             reply	other threads:[~2022-11-07 11:33 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07 11:33 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-29 18:23 [gentoo-commits] repo/gentoo:master commit in: sys-process/btop/ Sam James
2025-01-05 12:15 WANG Xuerui
2024-11-10 18:38 James Le Cuirot
2024-11-10  0:43 Jakov Smolić
2024-11-09  9:02 Arthur Zamarin
2024-11-09  9:02 Arthur Zamarin
2024-11-05 20:43 Sam James
2024-11-05 20:43 Sam James
2024-11-05 10:31 Florian Schmaus
2024-03-23 13:39 Sam James
2024-03-23 10:41 Michał Górny
2024-03-23 10:25 Michał Górny
2024-03-02 14:08 Arthur Zamarin
2024-02-21  2:15 Sam James
2024-02-21  2:15 Sam James
2024-02-21  1:48 Sam James
2024-02-18 12:44 Yixun Lan
2024-01-29  6:38 WANG Xuerui
2023-12-11  8:29 Florian Schmaus
2023-07-26  3:35 Sam James
2023-07-26  3:35 Sam James
2023-07-26  3:35 Sam James
2023-07-26  0:55 Sam James
2023-06-27  8:07 James Le Cuirot
2023-03-23  0:43 Sam James
2023-02-24 17:15 Arthur Zamarin
2023-01-15 20:39 Sam James
2023-01-15 20:34 Sam James
2023-01-15 20:34 Sam James
2023-01-15 20:27 Arthur Zamarin
2022-12-10 13:10 Joonas Niilola
2022-12-09 15:36 Sam James
2022-12-09 13:55 Arthur Zamarin
2022-12-09 13:55 Arthur Zamarin
2022-12-09 13:39 Arthur Zamarin
2022-11-18 13:07 Arthur Zamarin
2022-11-10  5:20 Sam James
2022-11-10  5:20 Sam James
2022-11-10  5:20 Sam James
2022-11-10  5:11 Arthur Zamarin
2022-10-10 11:49 Sam James
2022-10-09  8:55 Agostino Sarubbo
2022-10-09  8:48 Agostino Sarubbo
2022-10-08 19:54 Arthur Zamarin
2022-10-08 16:32 Arthur Zamarin
2022-10-07 21:07 Florian Schmaus
2022-09-15 12:48 Sam James
2022-09-07  6:34 Florian Schmaus
2022-09-07  6:34 Florian Schmaus
2022-08-24 13:57 Yixun Lan
2022-08-12  6:58 Joonas Niilola
2022-08-12  6:58 Joonas Niilola
2022-08-12  4:49 Arthur Zamarin
2022-08-12  4:49 Arthur Zamarin
2022-07-05  7:09 Joonas Niilola
2022-07-05  6:45 Agostino Sarubbo
2022-07-05  6:04 Agostino Sarubbo
2022-07-05  6:02 Agostino Sarubbo
2022-07-04 13:57 Florian Schmaus
2022-06-18  7:18 Ulrich Müller
2022-06-05 12:47 Jakov Smolić
2022-06-04 10:44 Jakov Smolić
2022-06-04  8:19 Florian Schmaus
2022-06-03 10:51 Florian Schmaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1667820823.7acb1f9f858574a994c30c73f0c3edfbbd3f0700.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox