media-libs/mesa: Restore removal of vulkan headers.
authorMatt Turner <mattst88@gentoo.org>
Wed, 25 Jan 2017 19:44:53 +0000 (11:44 -0800)
committerMatt Turner <mattst88@gentoo.org>
Wed, 25 Jan 2017 19:45:41 +0000 (11:45 -0800)
Hopefully the next rc will not require this.

media-libs/mesa/mesa-17.0.0_rc2.ebuild

index 2268df1cdccbb3dc7362fc344c10ad1d6cebe13c..735dd56f2fe08f7a3f2269c2562a10615e4ab380 100644 (file)
@@ -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() {