summaryrefslogtreecommitdiff
path: root/app-misc/radeontop
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/radeontop')
-rw-r--r--app-misc/radeontop/Manifest4
-rw-r--r--app-misc/radeontop/radeontop-1.3-r3.ebuild58
-rw-r--r--app-misc/radeontop/radeontop-9999.ebuild15
3 files changed, 8 insertions, 69 deletions
diff --git a/app-misc/radeontop/Manifest b/app-misc/radeontop/Manifest
index c28d38e6c410..5c1e8504d603 100644
--- a/app-misc/radeontop/Manifest
+++ b/app-misc/radeontop/Manifest
@@ -1,6 +1,4 @@
-DIST radeontop-1.3.tar.gz 38138 BLAKE2B 41bc36c571a99a136f2d1c1d5ff1a06b1e99bccb6e01f7432b9867e2700afa9d2b5cab7f743d3560b2120642c98253313e0356af977805ada173cd3c2168acbc SHA512 cc54e0726b2a934d14ad591c7a199474b49885e6122399b282e9289610d26f3c55b3d68a7d655d88a0ff8de1a0ac0994e868fa06ae1198416aaf857a099181f1
DIST radeontop-1.4.tar.gz 44602 BLAKE2B ad8893f491442c06f91c2a7bcf9cf884f066bb4fb01be019afbaa8e604ca12355647c624efa0742b15cb99e00fddbf71fa5b75f34086139acf0779c72668b354 SHA512 078087929bdbcf9b131d78f5ab0adc3d086be168d376d9f8e27a886668764263b072e0b08cb4dde593284fcdd16faa44711125c2ea5a14aaad70c8fa0f57f2b9
-EBUILD radeontop-1.3-r3.ebuild 1160 BLAKE2B ecf73b21aa0328c6de562a1396ae023addccdff599da07751801d5fad73e86feb1d812b87d6a174b12ab5e9e4e3df27a20bd73ed43c334f63b4713e801d14e7c SHA512 6714b25d073b99cfd1a46914d0e7f097142396e5f87839a46b1fe16fd3962525ba5c6855831a3795861f54bb97e73ae7e953e3e31d384dc0b8646e4a009accb5
EBUILD radeontop-1.4.ebuild 1181 BLAKE2B 009a7897c511087552e21b8d49910aa986306fd7b32552d4b19572c6f64b700ff93f90d743830d24ba19a7eae461af207c3f1f112006e1d0eab6253463cb2f4a SHA512 8a7ba8dec1d15cb5bdb2a0544d3024ebac630be3c97e7e4922d12a787598c58dad9633ef3fe5cee463966f33fda24284a641f3211348f0fdaf90e10600eba041
-EBUILD radeontop-9999.ebuild 949 BLAKE2B 0e3848df70261c48edf2ef2aeba3f849f223bf5bdac504f28b7e49ebbb441d6bd6611ff8bc71384af72d9ca0351892d731eea84636fb29be39789e6cc31598b1 SHA512 2cab73ca387a147ea575228365e8c79bf62f29c893ca8e67793d9af859828dfa8a75a377f7cc7f3d2de53243fabefecf19698440b4115017bcdbd71c63f35aa7
+EBUILD radeontop-9999.ebuild 937 BLAKE2B 1fb7320389b319c3f47ceb790beab632c5182b807005045d0ced80163d8e58becf916d9badcd188eeaf1f4f0961d4233e3a4ab6701e598ff93e16ffb4daf7223 SHA512 ffb37e581abee7e5cda64f1bafe2e85ae0c4bce252cd6cb5b1ba913b77ad7bc09e19ab6a70a012d19c0fc1f9a83819d4d324250135a73fcbf6858bb68061aea1
MISC metadata.xml 482 BLAKE2B 6e20916b0a497603d7956ee38cb34288f561ff799e60b454fe3fc227fcb4845fe5ba1a6f02bed5a6afee67c53a38af80f7a23ccae51110afe99093f2774cb637 SHA512 4f5279922bc1c7416d61e79317f4d097d8b51ea706148ee5bc77693114e4833413c07777a4691e8da8ef2651c672b209aa36f65de55df17bad3623a3bc7d4be3
diff --git a/app-misc/radeontop/radeontop-1.3-r3.ebuild b/app-misc/radeontop/radeontop-1.3-r3.ebuild
deleted file mode 100644
index eb8884a435a3..000000000000
--- a/app-misc/radeontop/radeontop-1.3-r3.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit toolchain-funcs
-
-DESCRIPTION="Utility to view Radeon GPU utilization"
-HOMEPAGE="https://github.com/clbr/radeontop"
-SRC_URI="https://github.com/clbr/radeontop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nls video_cards_amdgpu video_cards_radeon"
-REQUIRED_USE="
- || ( video_cards_amdgpu video_cards_radeon )
-"
-
-RDEPEND="
- sys-libs/ncurses:=
- x11-libs/libdrm[video_cards_amdgpu?,video_cards_radeon?]
- x11-libs/libpciaccess
- x11-libs/libxcb
- nls? (
- sys-libs/ncurses:=[unicode(+)]
- virtual/libintl
- )
-"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )
-"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
- default
-
- cat > include/version.h <<-EOF || die
- #ifndef VER_H
- #define VER_H
-
- #define VERSION "${PV}"
-
- #endif
- EOF
- >getver.sh || die
- touch .git || die
-}
-
-src_configure() {
- tc-export CC
- export LIBDIR=$(get_libdir)
- export nls=$(usex nls 1 0)
- export amdgpu=$(usex video_cards_amdgpu 1 0)
- export xcb=1
- # Do not add -g or -s to CFLAGS
- export plain=1
- export PREFIX="${EPREFIX}"/usr
-}
diff --git a/app-misc/radeontop/radeontop-9999.ebuild b/app-misc/radeontop/radeontop-9999.ebuild
index 729930cec90a..75c654dde8fc 100644
--- a/app-misc/radeontop/radeontop-9999.ebuild
+++ b/app-misc/radeontop/radeontop-9999.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+
inherit toolchain-funcs git-r3
DESCRIPTION="Utility to view Radeon GPU utilization"
@@ -10,11 +11,8 @@ EGIT_REPO_URI="https://github.com/clbr/radeontop.git"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS=""
IUSE="nls video_cards_amdgpu video_cards_radeon"
-REQUIRED_USE="
- || ( video_cards_amdgpu video_cards_radeon )
-"
+REQUIRED_USE="|| ( video_cards_amdgpu video_cards_radeon )"
RDEPEND="
sys-libs/ncurses:=
@@ -26,10 +24,11 @@ RDEPEND="
virtual/libintl
)
"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
nls? ( sys-devel/gettext )
"
-BDEPEND="virtual/pkgconfig"
src_configure() {
tc-export CC