1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs
7 DESCRIPTION="Utility to view Radeon GPU utilization"
8 HOMEPAGE="https://github.com/clbr/radeontop"
9 SRC_URI="https://github.com/clbr/radeontop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
22 sys-libs/ncurses:0=[unicode]
27 nls? ( sys-devel/gettext )
29 BDEPEND="virtual/pkgconfig"
34 cat > include/version.h <<-EOF || die
38 #define VERSION "${PV}"
48 export LIBDIR=$(get_libdir)
49 export nls=$(usex nls 1 0)
52 # Do not add -g or -s to CFLAGS