From b25a93431297ebb15fa378e6efd89b4672a641cc Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 1 Nov 2017 22:13:28 -0700 Subject: [PATCH] media-libs/mesa: Require dev-python/mako for USE=vulkan The Intel Vulkan driver generates its icd files using Python/mako. Closes: https://bugs.gentoo.org/635936 --- media-libs/mesa/mesa-17.3.0_rc2.ebuild | 3 +++ media-libs/mesa/mesa-9999.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/media-libs/mesa/mesa-17.3.0_rc2.ebuild b/media-libs/mesa/mesa-17.3.0_rc2.ebuild index b108f76ef3ed..03a35c8a2c1c 100644 --- a/media-libs/mesa/mesa-17.3.0_rc2.ebuild +++ b/media-libs/mesa/mesa-17.3.0_rc2.ebuild @@ -229,6 +229,9 @@ DEPEND="${RDEPEND} >=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}] >=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}] >=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}] + vulkan? ( + $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") + ) " [[ ${PV} == 9999 ]] && DEPEND+=" sys-devel/bison diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 6c8389a79ba9..c9b1582bd3da 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -229,6 +229,9 @@ DEPEND="${RDEPEND} >=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}] >=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}] >=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}] + vulkan? ( + $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") + ) " [[ ${PV} == 9999 ]] && DEPEND+=" sys-devel/bison -- 2.26.2