Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-apps/radeontop/
Date: Sun, 02 Apr 2017 16:46:32
Message-Id: 1491151574.289861a4fadd0f50dfad75f0f30d8cef93331dbf.soap@gentoo
1 commit: 289861a4fadd0f50dfad75f0f30d8cef93331dbf
2 Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
3 AuthorDate: Fri Mar 24 18:13:28 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 2 16:46:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=289861a4
7
8 x11-apps/radeontop: kill video_cards_amdgpu USE flag
9
10 AMDGPU support requires no additional deps and we already have
11 sufficiently new version of libdrm in gentoo (>= 2.4.63). This
12 requirement for the newer libdrm version is the only reason why
13 upstream made amdgpu support optional.
14 Closes: https://github.com/gentoo/gentoo/pull/4286
15
16 x11-apps/radeontop/radeontop-1.0.ebuild | 4 ++--
17 x11-apps/radeontop/radeontop-9999.ebuild | 4 ++--
18 2 files changed, 4 insertions(+), 4 deletions(-)
19
20 diff --git a/x11-apps/radeontop/radeontop-1.0.ebuild b/x11-apps/radeontop/radeontop-1.0.ebuild
21 index 44dc27fcece..9380ee04b30 100644
22 --- a/x11-apps/radeontop/radeontop-1.0.ebuild
23 +++ b/x11-apps/radeontop/radeontop-1.0.ebuild
24 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/clbr/radeontop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
25
26 SLOT="0"
27 KEYWORDS="~amd64 ~x86"
28 -IUSE="nls video_cards_amdgpu"
29 +IUSE="nls"
30
31 RDEPEND="
32 sys-libs/ncurses:0=
33 @@ -46,7 +46,7 @@ src_prepare() {
34 src_configure() {
35 tc-export CC
36 export nls=$(usex nls 1 0)
37 - export amdgpu=$(usex video_cards_amdgpu 1 0)
38 + export amdgpu=1
39 export xcb=1
40 # Do not add -g or -s to CFLAGS
41 export plain=1
42
43 diff --git a/x11-apps/radeontop/radeontop-9999.ebuild b/x11-apps/radeontop/radeontop-9999.ebuild
44 index 5d334bccb1a..1898f2182a8 100644
45 --- a/x11-apps/radeontop/radeontop-9999.ebuild
46 +++ b/x11-apps/radeontop/radeontop-9999.ebuild
47 @@ -11,7 +11,7 @@ EGIT_REPO_URI="https://github.com/clbr/radeontop.git"
48
49 SLOT="0"
50 KEYWORDS=""
51 -IUSE="nls video_cards_amdgpu"
52 +IUSE="nls"
53
54 RDEPEND="
55 sys-libs/ncurses:0=
56 @@ -31,7 +31,7 @@ DEPEND="${RDEPEND}
57 src_configure() {
58 tc-export CC
59 export nls=$(usex nls 1 0)
60 - export amdgpu=$(usex video_cards_amdgpu 1 0)
61 + export amdgpu=1
62 export xcb=1
63 # Do not add -g or -s to CFLAGS
64 export plain=1