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
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="nls video_cards_amdgpu"
+IUSE="nls"
RDEPEND="
sys-libs/ncurses:0=
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
SLOT="0"
KEYWORDS=""
-IUSE="nls video_cards_amdgpu"
+IUSE="nls"
RDEPEND="
sys-libs/ncurses:0=
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