1 |
commit: b25a93431297ebb15fa378e6efd89b4672a641cc |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 2 05:13:28 2017 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 2 05:13:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b25a9343 |
7 |
|
8 |
media-libs/mesa: Require dev-python/mako for USE=vulkan |
9 |
|
10 |
The Intel Vulkan driver generates its icd files using Python/mako. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/635936 |
13 |
|
14 |
media-libs/mesa/mesa-17.3.0_rc2.ebuild | 3 +++ |
15 |
media-libs/mesa/mesa-9999.ebuild | 3 +++ |
16 |
2 files changed, 6 insertions(+) |
17 |
|
18 |
diff --git a/media-libs/mesa/mesa-17.3.0_rc2.ebuild b/media-libs/mesa/mesa-17.3.0_rc2.ebuild |
19 |
index b108f76ef3e..03a35c8a2c1 100644 |
20 |
--- a/media-libs/mesa/mesa-17.3.0_rc2.ebuild |
21 |
+++ b/media-libs/mesa/mesa-17.3.0_rc2.ebuild |
22 |
@@ -229,6 +229,9 @@ DEPEND="${RDEPEND} |
23 |
>=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}] |
24 |
>=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}] |
25 |
>=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}] |
26 |
+ vulkan? ( |
27 |
+ $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") |
28 |
+ ) |
29 |
" |
30 |
[[ ${PV} == 9999 ]] && DEPEND+=" |
31 |
sys-devel/bison |
32 |
|
33 |
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild |
34 |
index 6c8389a79ba..c9b1582bd3d 100644 |
35 |
--- a/media-libs/mesa/mesa-9999.ebuild |
36 |
+++ b/media-libs/mesa/mesa-9999.ebuild |
37 |
@@ -229,6 +229,9 @@ DEPEND="${RDEPEND} |
38 |
>=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}] |
39 |
>=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}] |
40 |
>=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}] |
41 |
+ vulkan? ( |
42 |
+ $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") |
43 |
+ ) |
44 |
" |
45 |
[[ ${PV} == 9999 ]] && DEPEND+=" |
46 |
sys-devel/bison |