diff options
author | Sam James <sam@gentoo.org> | 2022-06-03 07:57:56 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-03 07:58:13 +0100 |
commit | ca0e234080b3250e5fb9c8964ce5e0f98fbbeef9 (patch) | |
tree | 83d04b157a2867bbfa56135d6b60b2b513d05ebb /sys-process/criu | |
parent | net-misc/nextcloud-client: add 3.5.1 (diff) | |
download | gentoo-ca0e234080b3250e5fb9c8964ce5e0f98fbbeef9.tar.gz gentoo-ca0e234080b3250e5fb9c8964ce5e0f98fbbeef9.tar.bz2 gentoo-ca0e234080b3250e5fb9c8964ce5e0f98fbbeef9.zip |
sys-process/criu: fix automagic libdrm/amdgpu dependency
Bug: https://github.com/checkpoint-restore/criu/issues/1900
Closes: https://bugs.gentoo.org/846446
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process/criu')
-rw-r--r-- | sys-process/criu/criu-3.17-r1.ebuild (renamed from sys-process/criu/criu-3.17.ebuild) | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-process/criu/criu-3.17.ebuild b/sys-process/criu/criu-3.17-r1.ebuild index 4ac0facc8cc2..c850ddf93c80 100644 --- a/sys-process/criu/criu-3.17.ebuild +++ b/sys-process/criu/criu-3.17-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/checkpoint-restore/${PN}/archive/v${PV}/${P}.tar.gz" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 -riscv" -IUSE="bpf doc gnutls nftables selinux setproctitle static-libs test" +IUSE="bpf doc gnutls nftables selinux setproctitle static-libs test video_cards_amdgpu" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -32,6 +32,7 @@ COMMON_DEPEND=" nftables? ( net-libs/gnutls:= ) selinux? ( sys-libs/libselinux:= ) setproctitle? ( dev-libs/libbsd:= ) + video_cards_amdgpu? ( x11-libs/libdrm[video_cards_amdgpu] ) " DEPEND="${COMMON_DEPEND}" BDEPEND=" @@ -103,6 +104,7 @@ src_configure() { criu_use selinux criu_use bpf criu_use nftables + criu_use video_cards_amdgpu libdrm emake_opts=( SETPROCTITLE="$(usex setproctitle)" |