From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/btop/
Date: Sun, 18 Feb 2024 12:44:00 +0000 (UTC) [thread overview]
Message-ID: <1708260220.2f8c6c4e79409200875b618d34bf02be178f4cbf.dlan@gentoo> (raw)
commit: 2f8c6c4e79409200875b618d34bf02be178f4cbf
Author: Steffen Winter <steffen.winter <AT> proton <DOT> me>
AuthorDate: Thu Feb 15 11:42:25 2024 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Feb 18 12:43:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f8c6c4e
sys-process/btop: add 1.3.2
Closes: https://github.com/gentoo/gentoo/pull/35342
Signed-off-by: Steffen Winter <steffen.winter <AT> proton.me>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
sys-process/btop/Manifest | 1 +
sys-process/btop/btop-1.3.2.ebuild | 45 ++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/sys-process/btop/Manifest b/sys-process/btop/Manifest
index 9549f453803d..15000daa9c2d 100644
--- a/sys-process/btop/Manifest
+++ b/sys-process/btop/Manifest
@@ -1,2 +1,3 @@
DIST btop-1.2.13.tar.gz 982660 BLAKE2B 053c1ef87203b894c2cbe6007c3b5962dca232733d28f97d82a2f70e771d4cc92fe4c49d3582c80cb79974d65329d3e95e758b9e8a7fa51a2ff0cdbf6cbd9a75 SHA512 324e572d43e57e5e65e646aa743f7730e6d535fdc52e848aeb55d60c8d73945850c5b89fe0b541e98495ddf2bae71427a6ec8fe8a495b41cef885c535d01019b
DIST btop-1.3.0.tar.gz 1142088 BLAKE2B 9f29828e646a8a4de2cacb8d5eb2885afbb5cf7764c9e4344f0da79b44c7481ca2591524789d753bc227f5a28c18717eda3aa3d1bb9f307f37e2732e9bbbde55 SHA512 0c20e3e1648dcf7d416e8f0072d40ed4b3e558eeb749150e4881d260cd675932c9b25315578e378f880172fe6470a8afc2687e011b491a79bd3e29618448f397
+DIST btop-1.3.2.tar.gz 1144620 BLAKE2B dfe351fff0b9e0aa376ebc93d76e1542a1cd93eec695bc9056cd296a11d563d676a0f0a61e911d20cbbaef276feb5bf20cafbc5f063475393b82139e0d08386a SHA512 9bbe983aa1336566f78396b829d49c22fe709e4e3d959dabc7524b61defba2638f3b0c50658f755fd1f02dd70572c78cc3cfc8b01772e174d0f34a48e4e178b2
diff --git a/sys-process/btop/btop-1.3.2.ebuild b/sys-process/btop/btop-1.3.2.ebuild
new file mode 100644
index 000000000000..680f75abe713
--- /dev/null
+++ b/sys-process/btop/btop-1.3.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake optfeature toolchain-funcs xdg
+
+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 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~x86"
+
+pkg_setup() {
+ if [[ "${MERGE_TYPE}" != "binary" ]]; then
+ if tc-is-clang ; then
+ if [[ "$(clang-major-version)" -lt 16 ]]; then
+ die "sys-process/btop requires >=sys-devel/clang-16.0.0 to build."
+ fi
+ elif ! tc-is-gcc ; then
+ die "$(tc-getCXX) is not a supported compiler. Please use sys-devel/gcc or >=sys-devel/clang-16.0.0 instead."
+ fi
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBTOP_GPU=true
+ -DBTOP_RSMI_STATIC=false
+ # Fortification can be set in CXXFLAGS instead
+ -DBTOP_FORTIFY=false
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ optfeature "GPU monitoring support (Radeon GPUs)" dev-util/rocm-smi
+ optfeature "GPU monitoring support (NVIDIA GPUs)" x11-drivers/nvidia-drivers
+}
next reply other threads:[~2024-02-18 12:44 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-18 12:44 Yixun Lan [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-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-11-07 11:33 Florian Schmaus
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=1708260220.2f8c6c4e79409200875b618d34bf02be178f4cbf.dlan@gentoo \
--to=dlan@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