diff options
author | Huang Rui <vowstar@gmail.com> | 2023-03-31 12:37:52 +0800 |
---|---|---|
committer | Huang Rui <vowstar@gmail.com> | 2023-03-31 12:37:52 +0800 |
commit | cbbe9965a618d99707aaed6fe32a768f7d393f4c (patch) | |
tree | 0079a64182829350ee944b299e11b21fc2881574 /sys-process | |
parent | gui-apps/fuzzel: drop 1.9.0 (diff) | |
download | guru-cbbe9965a618d99707aaed6fe32a768f7d393f4c.tar.gz guru-cbbe9965a618d99707aaed6fe32a768f7d393f4c.tar.bz2 guru-cbbe9965a618d99707aaed6fe32a768f7d393f4c.zip |
sys-process/nvtop: add 3.0.1
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/nvtop/Manifest | 1 | ||||
-rw-r--r-- | sys-process/nvtop/nvtop-3.0.1.ebuild | 47 | ||||
-rw-r--r-- | sys-process/nvtop/nvtop-9999.ebuild | 3 |
3 files changed, 49 insertions, 2 deletions
diff --git a/sys-process/nvtop/Manifest b/sys-process/nvtop/Manifest index a33d415b5..e81c5e0e0 100644 --- a/sys-process/nvtop/Manifest +++ b/sys-process/nvtop/Manifest @@ -1,3 +1,4 @@ DIST nvidia-settings-455.38.tar.bz2 1057087 BLAKE2B 81a287aecd2d0e788b0fe581c3dd10aa0f1fff19746b04a426a2ce9c7fa9dd9492cc5162c6bcd42496735c1b11482c3d9409aba5ec297e69afc19ddf11b1907c SHA512 56f5684ad3258c5449d747894a441aaef17403fc5406a3d61e0d7ffd983e908e3f909dc933b57dd9c98a47c4be7205c62157ce7097bf3937b3a8145e77fb354d DIST nvtop-2.0.3.tar.gz 221071 BLAKE2B a1bd8d3e58aac36e1d21b79d8310e41efe3237a3df603d60115230eee76b1f106bd48dd48ab8ad99e3f1c42ebc895fb45efc46ada9169cbcdb5df93326f9e680 SHA512 ffd9d88898b7c6365d8bcff3c7b187760bc0036fba80ab6a0e3a586217ebf48b3377cdbe84f2fbbe10fb650f96de108973f95ccd29766e45da3901ee5d45f63c DIST nvtop-3.0.0.tar.gz 233849 BLAKE2B bae5fda51bdf3597189e9685f08dca545b90b091c8071d92f264574a23c130920f2f5845d55c4ae956aceb46132421573d65aef78e85acc66e2e0040fec99ebd SHA512 fc1525e4040cdf75c09705eefc351c957c815d15d5e8f06591294f4f901c5f3a235a706dc249740f478a3e0b5812d061d142ea7095dbb2a0f620b3511a387f79 +DIST nvtop-3.0.1.tar.gz 234246 BLAKE2B bc93ee28e81490a43fabfcbad441bf76b49890699afcabf19146aba9b87734cd6d0ff292f05ec05aab4642b0828fc1fe6de2dd2c2ecb82f21eb2920a53a86895 SHA512 2d4584c004776ac72e08ab6ffa7ade66e498a170a71310c4ef36fe6d648ab2a19dcabf4292187d7b260783b4f4b1318a35c628fa860fa57ffd47a7d998566e12 diff --git a/sys-process/nvtop/nvtop-3.0.1.ebuild b/sys-process/nvtop/nvtop-3.0.1.ebuild new file mode 100644 index 000000000..e2d0d4176 --- /dev/null +++ b/sys-process/nvtop/nvtop-3.0.1.ebuild @@ -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 +} diff --git a/sys-process/nvtop/nvtop-9999.ebuild b/sys-process/nvtop/nvtop-9999.ebuild index 326aef999..e2d0d4176 100644 --- a/sys-process/nvtop/nvtop-9999.ebuild +++ b/sys-process/nvtop/nvtop-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake xdg DESCRIPTION="NVIDIA GPUs htop like monitoring tool" HOMEPAGE="https://github.com/Syllo/nvtop" @@ -45,4 +45,3 @@ src_configure() { cmake_src_configure } - |