summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2017-11-01 22:13:28 -0700
committerMatt Turner <mattst88@gentoo.org>2017-11-01 22:13:46 -0700
commitb25a93431297ebb15fa378e6efd89b4672a641cc (patch)
tree80b14fd8dd7cafc990217f60f4946a6ace53d19b /media-libs
parentapp-crypt/certbot-nginx: 0.19.0 stable amd64 and x86 with cleanup (diff)
downloadgentoo-b25a93431297ebb15fa378e6efd89b4672a641cc.tar.gz
gentoo-b25a93431297ebb15fa378e6efd89b4672a641cc.tar.bz2
gentoo-b25a93431297ebb15fa378e6efd89b4672a641cc.zip
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
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/mesa/mesa-17.3.0_rc2.ebuild3
-rw-r--r--media-libs/mesa/mesa-9999.ebuild3
2 files changed, 6 insertions, 0 deletions
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