From: Harri Nieminen Date: Fri, 17 Mar 2017 08:13:43 +0000 (+0200) Subject: x11-apps/radeontop: Add amdgpu useflag X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fd2a78c641a083e1db50a578aa5841b03a9f7452;p=gentoo.git 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 --- diff --git a/x11-apps/radeontop/radeontop-1.0.ebuild b/x11-apps/radeontop/radeontop-1.0.ebuild index 7b81237a64ba..44dc27fcece4 100644 --- a/x11-apps/radeontop/radeontop-1.0.ebuild +++ b/x11-apps/radeontop/radeontop-1.0.ebuild @@ -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 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