app-misc/radeontop: drop 1.3-r3, EAPI=7--

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2025-03-15 17:51:06 +02:00
parent 3230622efe
commit 31768be90d
2 changed files with 0 additions and 59 deletions

View File

@@ -1,2 +1 @@
DIST radeontop-1.3.tar.gz 38138 BLAKE2B 41bc36c571a99a136f2d1c1d5ff1a06b1e99bccb6e01f7432b9867e2700afa9d2b5cab7f743d3560b2120642c98253313e0356af977805ada173cd3c2168acbc SHA512 cc54e0726b2a934d14ad591c7a199474b49885e6122399b282e9289610d26f3c55b3d68a7d655d88a0ff8de1a0ac0994e868fa06ae1198416aaf857a099181f1
DIST radeontop-1.4.tar.gz 44602 BLAKE2B ad8893f491442c06f91c2a7bcf9cf884f066bb4fb01be019afbaa8e604ca12355647c624efa0742b15cb99e00fddbf71fa5b75f34086139acf0779c72668b354 SHA512 078087929bdbcf9b131d78f5ab0adc3d086be168d376d9f8e27a886668764263b072e0b08cb4dde593284fcdd16faa44711125c2ea5a14aaad70c8fa0f57f2b9

View File

@@ -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
}