mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
sys-process/btop: drop 1.4.4
Closes: https://github.com/gentoo/gentoo/pull/44630 Signed-off-by: idealseal <realidealseal@protonmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
parent
b288b20782
commit
5c8bea0385
@ -1,2 +1 @@
|
|||||||
DIST btop-1.4.4.gh.tar.gz 1245613 BLAKE2B 9dae74de6aa4738e5a665fff6abafb7f8712eeb81c208ee410f330ee29816d35b3483294a36c2ab9523d7c3c6de7735132a2ecc6b785c0aee77dcfc04a60c74e SHA512 acd206daa8832cf6ca8a715ae481088f2854887dbce586a3b1dd5142e8a43e2ee67f2cfa29d9e680f51786ff107346d82ceb17205c30c47f0ec737372a17ef58
|
|
||||||
DIST btop-1.4.5.gh.tar.gz 1250099 BLAKE2B 8720a9c8660942f95770023d1910016180c138eeb5606d98ad4ffbee55b8d80ee8f3b8803662ac9b0f240cc2069bab339eba091a7ae1ac5c82b936a948cdcb73 SHA512 36e278c832d984e5d882dcf861855945edc31dd00cbe0a6c16b09de42b2416d865585985e999302a470068037fdecca754c8ee9e25940c9ae1df5196893f93a8
|
DIST btop-1.4.5.gh.tar.gz 1250099 BLAKE2B 8720a9c8660942f95770023d1910016180c138eeb5606d98ad4ffbee55b8d80ee8f3b8803662ac9b0f240cc2069bab339eba091a7ae1ac5c82b936a948cdcb73 SHA512 36e278c832d984e5d882dcf861855945edc31dd00cbe0a6c16b09de42b2416d865585985e999302a470068037fdecca754c8ee9e25940c9ae1df5196893f93a8
|
||||||
|
|||||||
@ -1,52 +0,0 @@
|
|||||||
# 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 MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm arm64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~sparc 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
|
|
||||||
)
|
|
||||||
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
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user