From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0D6601584AD for ; Tue, 29 Apr 2025 07:04:19 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id EAB30342FDE for ; Tue, 29 Apr 2025 07:04:18 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DDAE71102BE; Tue, 29 Apr 2025 07:04:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D3AA01102BE for ; Tue, 29 Apr 2025 07:04:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8232D342F9F for ; Tue, 29 Apr 2025 07:04:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E2D561F6A for ; Tue, 29 Apr 2025 07:04:15 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1745909665.71165b66d6b307bde7844cb5df021cc59f7db67a.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/btop/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/btop/Manifest sys-process/btop/btop-1.4.1.ebuild X-VCS-Directories: sys-process/btop/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 71165b66d6b307bde7844cb5df021cc59f7db67a X-VCS-Branch: master Date: Tue, 29 Apr 2025 07:04:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c0467bae-07bc-4182-95e2-668ca14f522f X-Archives-Hash: 2ddd1b29f344e3e875d0de4fddcc2d66 commit: 71165b66d6b307bde7844cb5df021cc59f7db67a Author: Adrian Schollmeyer nexadn de> AuthorDate: Mon Apr 28 19:57:53 2025 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue Apr 29 06:54:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71165b66 sys-process/btop: add 1.4.1 Closes: https://github.com/gentoo/gentoo/pull/41828 Signed-off-by: Adrian Schollmeyer nexadn.de> Signed-off-by: Yixun Lan gentoo.org> sys-process/btop/Manifest | 1 + sys-process/btop/btop-1.4.1.ebuild | 54 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/sys-process/btop/Manifest b/sys-process/btop/Manifest index ad3a83992dad..88c7f0770821 100644 --- a/sys-process/btop/Manifest +++ b/sys-process/btop/Manifest @@ -1,2 +1,3 @@ DIST btop-1.3.2.tar.gz 1144620 BLAKE2B dfe351fff0b9e0aa376ebc93d76e1542a1cd93eec695bc9056cd296a11d563d676a0f0a61e911d20cbbaef276feb5bf20cafbc5f063475393b82139e0d08386a SHA512 9bbe983aa1336566f78396b829d49c22fe709e4e3d959dabc7524b61defba2638f3b0c50658f755fd1f02dd70572c78cc3cfc8b01772e174d0f34a48e4e178b2 DIST btop-1.4.0.gh.tar.gz 1239400 BLAKE2B 360b56fc0dab9bc017a4971ffe32cdbe2939b09949f0b4e1d12de5c7b91e6c540d1837c12184b298e35d26c972928d9dd2ef454dbac6464480f3f3e13123545d SHA512 7b7c63daf68192893ae4533c04ea70dcd6f253e188b1c842f2ebebac0b28e51431edef6ccfce5b25b3adbd5b2b637fc832bce7d5d64d664c2bf5c4672be75c8f +DIST btop-1.4.1.gh.tar.gz 1245448 BLAKE2B cc6be5978da81b1170bf4864ebd6ef352436dbcacf8216780b27af04903b971da4a41d93e992470b3b470c34a414296e0bfd5cad7f431eb9a97a12e48557a008 SHA512 c13bc2d7646b8050283fcfe0a5e7b901284ec08be05d917c0bbc55d92e3d4350f06b164d69b1ad3501805972848ea567074f449b5e2f2ec06e186134487a02d0 diff --git a/sys-process/btop/btop-1.4.1.ebuild b/sys-process/btop/btop-1.4.1.ebuild new file mode 100644 index 000000000000..0bda46b7d2d2 --- /dev/null +++ b/sys-process/btop/btop-1.4.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021-2025 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/v${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~x86" + +BDEPEND=" + app-text/lowdown +" + +DOCS=( "README.md" "CHANGELOG.md" ) + +pkg_setup() { + if [[ "${MERGE_TYPE}" != "binary" ]]; then + if tc-is-clang ; then + if [[ "$(clang-major-version)" -lt 16 ]]; then + die "sys-process/btop requires >=llvm-core/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 >=llvm-core/clang-16.0.0 instead." + fi + fi +} + +src_configure() { + local mycmakeargs=( + -DBTOP_GPU=true + -DBTOP_RSMI_STATIC=false + -DBTOP_STATIC=false + # These settings can be controlled in make.conf CFLAGS/CXXFLAGS + -DBTOP_LTO=false + -DBTOP_WERROR=false + -DBTOP_USE_MOLD=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 +}