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
This commit is contained in:
Harri Nieminen
2017-03-17 10:13:43 +02:00
committed by David Seifert
parent 75005d02d4
commit fd2a78c641
2 changed files with 4 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ SRC_URI="https://github.com/clbr/radeontop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
IUSE="nls video_cards_amdgpu"
RDEPEND="
sys-libs/ncurses:0=
@@ -46,6 +46,7 @@ src_prepare() {
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

View File

@@ -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