From: Matt Turner Date: Thu, 2 Nov 2017 05:13:28 +0000 (-0700) Subject: media-libs/mesa: Require dev-python/mako for USE=vulkan X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b25a93431297ebb15fa378e6efd89b4672a641cc;p=gentoo.git 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 --- 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