Сравнение radeontop-1.4 с radeontop-9999
| /usr/portage/app-misc/radeontop/radeontop-9999.ebuild 2025-07-29 16:22:12.580448088 +0300 | ||
|---|---|---|
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit toolchain-funcs |
|
| 6 |
inherit toolchain-funcs git-r3 |
|
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="Utility to view Radeon GPU utilization" |
| 9 | 9 |
HOMEPAGE="https://github.com/clbr/radeontop" |
| 10 |
SRC_URI="https://github.com/clbr/radeontop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 10 |
EGIT_REPO_URI="https://github.com/clbr/radeontop.git" |
|
| 11 | 11 | |
| 12 | 12 |
LICENSE="GPL-3" |
| 13 | 13 |
SLOT="0" |
| 14 |
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~x86" |
|
| 15 | 14 |
IUSE="nls video_cards_amdgpu video_cards_radeon" |
| 16 |
REQUIRED_USE=" |
|
| 17 |
|| ( video_cards_amdgpu video_cards_radeon ) |
|
| 18 |
" |
|
| 15 |
REQUIRED_USE="|| ( video_cards_amdgpu video_cards_radeon )" |
|
| 19 | 16 | |
| 20 | 17 |
RDEPEND=" |
| 21 | 18 |
sys-libs/ncurses:= |
| ... | ... | |
| 27 | 24 |
virtual/libintl |
| 28 | 25 |
) |
| 29 | 26 |
" |
| 30 |
DEPEND="${RDEPEND}
|
|
| 27 |
DEPEND="${RDEPEND}"
|
|
| 28 |
BDEPEND=" |
|
| 29 |
virtual/pkgconfig |
|
| 31 | 30 |
nls? ( sys-devel/gettext ) |
| 32 | 31 |
" |
| 33 |
BDEPEND="virtual/pkgconfig" |
|
| 34 | ||
| 35 |
src_prepare() {
|
|
| 36 |
default |
|
| 37 | ||
| 38 |
cat > include/version.h <<-EOF || die |
|
| 39 |
#ifndef VER_H |
|
| 40 |
#define VER_H |
|
| 41 | ||
| 42 |
#define VERSION "${PV}"
|
|
| 43 | ||
| 44 |
#endif |
|
| 45 |
EOF |
|
| 46 |
>getver.sh || die |
|
| 47 |
touch .git || die |
|
| 48 |
} |
|
| 49 | 32 | |
| 50 | 33 |
src_configure() {
|
| 51 | 34 |
tc-export CC |