summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Nieminen <moikkis@gmail.com>2017-03-17 10:13:43 +0200
committerDavid Seifert <soap@gentoo.org>2017-03-23 21:50:22 +0100
commitfd2a78c641a083e1db50a578aa5841b03a9f7452 (patch)
tree4f7baf18d3aa442861eda0d11a24d64628e2c8e9 /x11-apps/radeontop/radeontop-9999.ebuild
parentx11-misc/trayer: Remove old (diff)
downloadgentoo-fd2a78c641a083e1db50a578aa5841b03a9f7452.tar.gz
gentoo-fd2a78c641a083e1db50a578aa5841b03a9f7452.tar.bz2
gentoo-fd2a78c641a083e1db50a578aa5841b03a9f7452.zip
x11-apps/radeontop: Add amdgpu useflag
Gentoo-Bug: https://bugs.gentoo.org/612858 Package-Manager: Portage-2.3.5, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4225
Diffstat (limited to 'x11-apps/radeontop/radeontop-9999.ebuild')
-rw-r--r--x11-apps/radeontop/radeontop-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11-apps/radeontop/radeontop-9999.ebuild b/x11-apps/radeontop/radeontop-9999.ebuild
index e3919c9db7f2..5d334bccb1a3 100644
--- a/x11-apps/radeontop/radeontop-9999.ebuild
+++ b/x11-apps/radeontop/radeontop-9999.ebuild
@@ -11,7 +11,7 @@ EGIT_REPO_URI="https://github.com/clbr/radeontop.git"
SLOT="0"
KEYWORDS=""
-IUSE="nls"
+IUSE="nls video_cards_amdgpu"
RDEPEND="
sys-libs/ncurses:0=
@@ -31,6 +31,7 @@ DEPEND="${RDEPEND}
src_configure() {
tc-export CC
export nls=$(usex nls 1 0)
+ export amdgpu=$(usex video_cards_amdgpu 1 0)
export xcb=1
# Do not add -g or -s to CFLAGS
export plain=1