commit:     b25a93431297ebb15fa378e6efd89b4672a641cc
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  2 05:13:28 2017 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Nov  2 05:13:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b25a9343

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 b108f76ef3e..03a35c8a2c1 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 6c8389a79ba..c9b1582bd3d 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

Reply via email to