x11-apps/radeontop: kill video_cards_amdgpu USE flag
authorAlexander Tsoy <alexander@tsoy.me>
Fri, 24 Mar 2017 18:13:28 +0000 (21:13 +0300)
committerDavid Seifert <soap@gentoo.org>
Sun, 2 Apr 2017 16:46:14 +0000 (18:46 +0200)
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
x11-apps/radeontop/radeontop-9999.ebuild

index 44dc27fcece4cac68983a10118ce85bed19336c8..9380ee04b30563cb8c83a4398807fdaf321fbede 100644 (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 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
index 5d334bccb1a3b157e16e22b9247f3666d60e7984..1898f2182a8861f93ad40941778732ae7f4e7bb1 100644 (file)
@@ -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