commit:     db83c4e40554d0defc4165063bb20875eab98b4a
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 19:44:53 2017 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 19:45:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db83c4e4

media-libs/mesa: Restore removal of vulkan headers.

Hopefully the next rc will not require this.

 media-libs/mesa/mesa-17.0.0_rc2.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/media-libs/mesa/mesa-17.0.0_rc2.ebuild 
b/media-libs/mesa/mesa-17.0.0_rc2.ebuild
index 2268df1..735dd56 100644
--- a/media-libs/mesa/mesa-17.0.0_rc2.ebuild
+++ b/media-libs/mesa/mesa-17.0.0_rc2.ebuild
@@ -384,6 +384,11 @@ multilib_src_install_all() {
        # Install config file for eselect mesa
        insinto /usr/share/mesa
        newins "${FILESDIR}/eselect-mesa.conf.9.2" eselect-mesa.conf
+
+       # Mesa should not install these
+       if use vulkan; then
+               rm "${ED}"/usr/include/vulkan/{vulkan.h,vk_platform.h} || die
+       fi
 }
 
 multilib_src_test() {

Reply via email to