add nvtop
This commit is contained in:
parent
2de9dd70f5
commit
926d928fe6
2
sys-process/nvtop/Manifest
Normal file
2
sys-process/nvtop/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST nvtop-3.0.2.tar.gz 241421 BLAKE2B 6d0c1101bfd9401ab8174721840c9b70f34b334e3d8f3d4e79f0df9a726118a43911adf6bc8c839e5259d780783abe7daa6622d31057cb2906e2c56d655f4c03 SHA512 e5f23796c37b21f9e16f90b6aecce010239f736e60698fec22f663afef24439680132cb4bf08c56b9c05a9a69fa81421fed46c392adc06435f5209552337caed
|
||||
EBUILD nvtop-3.0.2.ebuild 1057 BLAKE2B c29fc5d13ec0d4826a1db0f86866a8c9080a0a8acd5cb2a65f500a0f287f6568f71be14b94e750c3e864801cceb2f332ff9a5a5f4f6ee7b606adfca34622ccad SHA512 6966c96589554e79724ac00b7104faa1c0097b03a3125c41a2bd6e148b1951f9d62c406b997b77ff6cc58c15edf609e2572bceac7e9098ca7595f8e715dc43ec
|
47
sys-process/nvtop/nvtop-3.0.2.ebuild
Normal file
47
sys-process/nvtop/nvtop-3.0.2.ebuild
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake xdg
|
||||
|
||||
DESCRIPTION="NVIDIA GPUs htop like monitoring tool"
|
||||
HOMEPAGE="https://github.com/Syllo/nvtop"
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/Syllo/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/Syllo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="unicode video_cards_intel video_cards_amdgpu video_cards_nvidia"
|
||||
|
||||
RDEPEND="
|
||||
video_cards_intel? ( virtual/udev )
|
||||
video_cards_amdgpu? ( x11-libs/libdrm[video_cards_amdgpu] )
|
||||
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
||||
sys-libs/ncurses:0=
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
|
||||
-DCURSES_NEED_WIDE=$(usex unicode)
|
||||
-DINTEL_SUPPORT=$(usex video_cards_intel)
|
||||
-DNVIDIA_SUPPORT=$(usex video_cards_nvidia)
|
||||
-DAMDGPU_SUPPORT=$(usex video_cards_amdgpu)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
Loading…
Reference in New Issue
Block a user