commit:     2ed1daf489f511f479b6f5b87c7d85f80cfb5e58
Author:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 31 16:02:25 2025 +0000
Commit:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Thu Jul 31 16:02:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed1daf4

dev-util/vulkan-headers: Don't install C++ modules

Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>

 ...headers-1.4.321.0.ebuild => vulkan-headers-1.4.321.0-r1.ebuild} | 7 +++++++
 dev-util/vulkan-headers/vulkan-headers-9999.ebuild                 | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/dev-util/vulkan-headers/vulkan-headers-1.4.321.0.ebuild 
b/dev-util/vulkan-headers/vulkan-headers-1.4.321.0-r1.ebuild
similarity index 81%
rename from dev-util/vulkan-headers/vulkan-headers-1.4.321.0.ebuild
rename to dev-util/vulkan-headers/vulkan-headers-1.4.321.0-r1.ebuild
index 208c3d4ec58a..680381db36f8 100644
--- a/dev-util/vulkan-headers/vulkan-headers-1.4.321.0.ebuild
+++ b/dev-util/vulkan-headers/vulkan-headers-1.4.321.0-r1.ebuild
@@ -31,3 +31,10 @@ src_configure() {
 
        cmake_src_configure
 }
+
+src_install() {
+       # VULKAN_HEADERS_ENABLE_MODULE doesn't seem to be working so just
+       # delete the modules manually
+       cmake_src_install
+       find "${ED}" -name "*.cppm" -type f -delete || die
+}

diff --git a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild 
b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild
index b391e9b4b3c0..50a9f7e13327 100644
--- a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild
+++ b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild
@@ -31,3 +31,10 @@ src_configure() {
 
        cmake_src_configure
 }
+
+src_install() {
+       # VULKAN_HEADERS_ENABLE_MODULE doesn't seem to be working so just
+       # delete the modules manually
+       cmake_src_install
+       find "${ED}" -name "*.cppm" -type f -delete || die
+}

Reply via email to