Diff radeontop-1.4 with a radeontop-9999

/usr/portage/app-misc/radeontop/radeontop-9999.ebuild 2023-10-09 14:52:28.816368333 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=8
5

  
6
inherit toolchain-funcs
4
EAPI=7
5
inherit toolchain-funcs git-r3
7 6

  
8 7
DESCRIPTION="Utility to view Radeon GPU utilization"
9 8
HOMEPAGE="https://github.com/clbr/radeontop"
10
SRC_URI="https://github.com/clbr/radeontop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
9
EGIT_REPO_URI="https://github.com/clbr/radeontop.git"
11 10

  
12 11
LICENSE="GPL-3"
13 12
SLOT="0"
14
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86"
13
KEYWORDS=""
15 14
IUSE="nls video_cards_amdgpu video_cards_radeon"
16 15
REQUIRED_USE="
17 16
	|| ( video_cards_amdgpu video_cards_radeon )
......
32 31
"
33 32
BDEPEND="virtual/pkgconfig"
34 33

  
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

  
50 34
src_configure() {
51 35
	tc-export CC
52 36
	export LIBDIR=$(get_libdir)
Thank you!