mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
committed by
David Seifert
parent
75005d02d4
commit
fd2a78c641
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user