commit: f1115c5178b905e06958ed3d2d5aa3464c427e8b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Jun 20 09:20:39 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jun 20 09:33:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1115c51
dev-util/vulkan-headers: no-op test change Wire up VULKAN_HEADERS_ENABLE_TESTS, though it doesn't make an actual difference here because nothing gets built in src_compile anyway, but let's have it here to silence a QA check I have locally and also in case it does something in future. (vulkan-headers does have a tiny testsuite, just VULKAN_HEADERS_ENABLE_TESTS isn't needed as-is to make it run.) Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/vulkan-headers/vulkan-headers-1.4.313.0.ebuild | 3 +++ dev-util/vulkan-headers/vulkan-headers-9999.ebuild | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-util/vulkan-headers/vulkan-headers-1.4.313.0.ebuild b/dev-util/vulkan-headers/vulkan-headers-1.4.313.0.ebuild index 80b810e0c4ec..1ce53220154f 100644 --- a/dev-util/vulkan-headers/vulkan-headers-1.4.313.0.ebuild +++ b/dev-util/vulkan-headers/vulkan-headers-1.4.313.0.ebuild @@ -20,10 +20,13 @@ HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Headers" LICENSE="Apache-2.0" SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" src_configure() { local mycmakeargs=( -DVULKAN_HEADERS_ENABLE_MODULE=OFF + -DVULKAN_HEADERS_ENABLE_TESTS=$(usex test) ) cmake_src_configure diff --git a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild index 43831b775de1..b391e9b4b3c0 100644 --- a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild +++ b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,10 +20,13 @@ HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Headers" LICENSE="Apache-2.0" SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" src_configure() { local mycmakeargs=( -DVULKAN_HEADERS_ENABLE_MODULE=OFF + -DVULKAN_HEADERS_ENABLE_TESTS=$(usex test) ) cmake_src_configure
