summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Nieminen <moikkis@gmail.com>2017-03-11 11:38:56 +0200
committerDavid Seifert <soap@gentoo.org>2017-03-16 20:12:50 +0100
commitef799216444d0e60f6767260c182770f669611ed (patch)
tree59569b570dd6b1fa9e923d8062a7abdca9c5ec2e /x11-apps/radeontop/radeontop-9999.ebuild
parentx11-misc/xpad: Update homepage and changelog (diff)
downloadgentoo-ef799216444d0e60f6767260c182770f669611ed.tar.gz
gentoo-ef799216444d0e60f6767260c182770f669611ed.tar.bz2
gentoo-ef799216444d0e60f6767260c182770f669611ed.zip
x11-apps/radeontop: Bump to 1.0, sync live
Package-Manager: Portage-2.3.4, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4186
Diffstat (limited to 'x11-apps/radeontop/radeontop-9999.ebuild')
-rw-r--r--x11-apps/radeontop/radeontop-9999.ebuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/x11-apps/radeontop/radeontop-9999.ebuild b/x11-apps/radeontop/radeontop-9999.ebuild
index 79d4bdc36db5..e3919c9db7f2 100644
--- a/x11-apps/radeontop/radeontop-9999.ebuild
+++ b/x11-apps/radeontop/radeontop-9999.ebuild
@@ -1,8 +1,8 @@
-# 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"
@@ -14,23 +14,24 @@ KEYWORDS=""
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
}