commit:     289861a4fadd0f50dfad75f0f30d8cef93331dbf
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Fri Mar 24 18:13:28 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr  2 16:46:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=289861a4

x11-apps/radeontop: kill video_cards_amdgpu USE flag

AMDGPU support requires no additional deps and we already have
sufficiently new version of libdrm in gentoo (>= 2.4.63). This
requirement for the newer libdrm version is the only reason why
upstream made amdgpu support optional.
Closes: https://github.com/gentoo/gentoo/pull/4286

 x11-apps/radeontop/radeontop-1.0.ebuild  | 4 ++--
 x11-apps/radeontop/radeontop-9999.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/x11-apps/radeontop/radeontop-1.0.ebuild 
b/x11-apps/radeontop/radeontop-1.0.ebuild
index 44dc27fcece..9380ee04b30 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 video_cards_amdgpu"
+IUSE="nls"
 
 RDEPEND="
        sys-libs/ncurses:0=
@@ -46,7 +46,7 @@ src_prepare() {
 src_configure() {
        tc-export CC
        export nls=$(usex nls 1 0)
-       export amdgpu=$(usex video_cards_amdgpu 1 0)
+       export amdgpu=1
        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 5d334bccb1a..1898f2182a8 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 video_cards_amdgpu"
+IUSE="nls"
 
 RDEPEND="
        sys-libs/ncurses:0=
@@ -31,7 +31,7 @@ DEPEND="${RDEPEND}
 src_configure() {
        tc-export CC
        export nls=$(usex nls 1 0)
-       export amdgpu=$(usex video_cards_amdgpu 1 0)
+       export amdgpu=1
        export xcb=1
        # Do not add -g or -s to CFLAGS
        export plain=1

Reply via email to