diff options
-rw-r--r-- | app-misc/radeontop/radeontop-9999.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app-misc/radeontop/radeontop-9999.ebuild b/app-misc/radeontop/radeontop-9999.ebuild index af212477ea75..f8399ddb7e69 100644 --- a/app-misc/radeontop/radeontop-9999.ebuild +++ b/app-misc/radeontop/radeontop-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,11 +11,14 @@ EGIT_REPO_URI="https://github.com/clbr/radeontop.git" LICENSE="GPL-3" SLOT="0" KEYWORDS="" -IUSE="nls" +IUSE="nls video_cards_amdgpu video_cards_radeon" +REQUIRED_USE=" + || ( video_cards_amdgpu video_cards_radeon ) +" RDEPEND=" sys-libs/ncurses:0= - x11-libs/libdrm + x11-libs/libdrm[video_cards_amdgpu?,video_cards_radeon?] x11-libs/libpciaccess x11-libs/libxcb nls? ( |