git: 26db8b3ecb60 - main - graphics/vulkan-headers: update to 1.3.289

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 30 Jun 2024 12:31:11 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=26db8b3ecb60f42ec51c1176db6cc134569fb4bb

commit 26db8b3ecb60f42ec51c1176db6cc134569fb4bb
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-06-28 09:50:56 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-06-30 12:29:53 +0000

    graphics/vulkan-headers: update to 1.3.289
    
    Force rebuild vulkan-loader to make sure vulkaninfo shows the new version.
    
    Changes:        https://github.com/KhronosGroup/Vulkan-Headers/compare/v1.3.288...v1.3.289
    Reported by:    Repology, portscout
---
 graphics/vulkan-headers/Makefile | 7 ++++++-
 graphics/vulkan-headers/distinfo | 6 +++---
 graphics/vulkan-loader/Makefile  | 1 +
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/graphics/vulkan-headers/Makefile b/graphics/vulkan-headers/Makefile
index e5748a8a90e4..01ca1302fde0 100644
--- a/graphics/vulkan-headers/Makefile
+++ b/graphics/vulkan-headers/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	vulkan-headers
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.3.288
+DISTVERSION=	1.3.289
 CATEGORIES=	graphics
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -16,6 +16,11 @@ GH_PROJECT=	Vulkan-Headers
 STRIP=		# nothing to strip
 NO_ARCH=	yes
 
+# XXX Add clang-scan-deps to WITH_CLANG_EXTRAS in src.conf(5)
+.if exists(/usr/bin/clang) && !exists(/usr/bin/clang-scan-deps)
+CMAKE_OFF+=	VULKAN_HEADERS_ENABLE_MODULE
+.endif
+
 post-extract:
 # genvk.py requires docgenerator.py from Vulkan-Docs, so drop useless shebang
 	@${FIND} ${WRKSRC}/registry -name \*.py -exec ${REINPLACE_CMD} -i '' '/^#!/d' {} +
diff --git a/graphics/vulkan-headers/distinfo b/graphics/vulkan-headers/distinfo
index 725684fdb8f2..77dd530cd41e 100644
--- a/graphics/vulkan-headers/distinfo
+++ b/graphics/vulkan-headers/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718369184
-SHA256 (KhronosGroup-Vulkan-Headers-v1.3.288_GH0.tar.gz) = 6f21dd9efe65fb7aeba6beaef2d274a0a31d32b4f494637b0d1a49853cf20ca6
-SIZE (KhronosGroup-Vulkan-Headers-v1.3.288_GH0.tar.gz) = 2288124
+TIMESTAMP = 1719568256
+SHA256 (KhronosGroup-Vulkan-Headers-v1.3.289_GH0.tar.gz) = fc66db6de66a6e3527c110ff1db77a86ae97804fe7f019725e8d25acdc875c6f
+SIZE (KhronosGroup-Vulkan-Headers-v1.3.289_GH0.tar.gz) = 2281213
diff --git a/graphics/vulkan-loader/Makefile b/graphics/vulkan-loader/Makefile
index c319a4447939..2028a1a6f8e1 100644
--- a/graphics/vulkan-loader/Makefile
+++ b/graphics/vulkan-loader/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	vulkan-loader
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.3.288
+PORTREVISION=	1
 CATEGORIES=	graphics devel
 
 MAINTAINER=	jbeich@FreeBSD.org