-DIST radeontop-0.9.tar.gz 31186 SHA256 e78a56d1222c8a45f08f09409f178ddda83461085b012e5ba54b716e6c8dd61d SHA512 d219e000c3ed39e3022c8316a3412f423b363abafefb3d8d6e80fa2ac505084afaf4a18b3f6bba5918f29c1a659668e07c08d02a6fdbf9ef1764758350db449a WHIRLPOOL 744834650ae98fd87e34ca1511183a1c3a9e1b215b3a31e7872b8329f7bfd8d97df33a9425e47d2c6169412f8000b516f09526978fee4042016a76e8574f1cd6
+DIST radeontop-1.0.tar.gz 32677 SHA256 a997ea92f38a53d59db4d8e846aec4cc04cee8b79939e89d5eb9e31c57b468fc SHA512 bd7e8ecff962d8ac3072f3f1fa7a5d9981e2da28b38a1f234f6fe550511c3fbda2c1c6e9a6d1120bf99ef3ae621a91ff67c451eaf98dfa1264e9e6a59ae55e08 WHIRLPOOL 0813d44cf0801e7ace48704cf6f68d7a0d26cbb2dd6a4d47b2854c4ccbdce409dec45f4acc40678f7d1aca452989a90e7a886bc05cf8e62be5285ad97ae7b9ad
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+inherit toolchain-funcs
DESCRIPTION="Utility to view Radeon GPU utilization"
HOMEPAGE="https://github.com/clbr/radeontop"
IUSE="nls"
RDEPEND="
- sys-libs/ncurses
- x11-libs/libpciaccess
+ sys-libs/ncurses:0=
x11-libs/libdrm
- nls? ( sys-libs/ncurses[unicode] virtual/libintl )
+ x11-libs/libpciaccess
+ x11-libs/libxcb
+ nls? (
+ sys-libs/ncurses:0=[unicode]
+ virtual/libintl
+ )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
src_prepare() {
- epatch_user
+ default
-cat > include/version.h << EOF || die
-#ifndef VER_H
-#define VER_H
+ cat > include/version.h <<-EOF || die
+ #ifndef VER_H
+ #define VER_H
-#define VERSION "${PV}"
+ #define VERSION "${PV}"
-#endif
-EOF
+ #endif
+ EOF
>getver.sh || die
touch .git || die
}
src_configure() {
tc-export CC
export nls=$(usex nls 1 0)
+ export xcb=1
# Do not add -g or -s to CFLAGS
export plain=1
}
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils toolchain-funcs git-r3
+EAPI=6
+inherit toolchain-funcs git-r3
DESCRIPTION="Utility to view Radeon GPU utilization"
HOMEPAGE="https://github.com/clbr/radeontop"
IUSE="nls"
RDEPEND="
- sys-libs/ncurses
- x11-libs/libpciaccess
+ sys-libs/ncurses:0=
x11-libs/libdrm
- nls? ( sys-libs/ncurses[unicode] virtual/libintl )
+ x11-libs/libpciaccess
+ x11-libs/libxcb
+ nls? (
+ sys-libs/ncurses:0=[unicode]
+ virtual/libintl
+ )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )
"
-src_prepare() {
- epatch_user
-}
-
src_configure() {
tc-export CC
export nls=$(usex nls 1 0)
+ export xcb=1
# Do not add -g or -s to CFLAGS
export plain=1
}