git: 31dc5a87bc17 - main - graphics/vulkan-headers: update to 1.3.212

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 22 Apr 2022 17:45:16 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=31dc5a87bc17a8137816f05863cbb753ad0c0e48

commit 31dc5a87bc17a8137816f05863cbb753ad0c0e48
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-04-21 22:10:22 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-04-22 17:25:42 +0000

    graphics/vulkan-headers: update to 1.3.212
    
    Force rebuild vulkan-loader to make sure vulkaninfo shows the new version.
    
    Changes:        https://github.com/KhronosGroup/Vulkan-Headers/compare/v1.3.211...v1.3.212
    Reported by:    Repology, portscout
---
 graphics/vulkan-headers/Makefile           | 2 +-
 graphics/vulkan-headers/distinfo           | 6 +++---
 graphics/vulkan-loader/Makefile            | 1 +
 graphics/vulkan-validation-layers/Makefile | 6 ++++++
 graphics/vulkan-validation-layers/distinfo | 2 ++
 5 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/graphics/vulkan-headers/Makefile b/graphics/vulkan-headers/Makefile
index f8e31b2b4269..07e3680f98ff 100644
--- a/graphics/vulkan-headers/Makefile
+++ b/graphics/vulkan-headers/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	vulkan-headers
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.3.211
+DISTVERSION=	1.3.212
 CATEGORIES=	graphics
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/graphics/vulkan-headers/distinfo b/graphics/vulkan-headers/distinfo
index 07087583f062..88b5a0fcec48 100644
--- a/graphics/vulkan-headers/distinfo
+++ b/graphics/vulkan-headers/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1649159699
-SHA256 (KhronosGroup-Vulkan-Headers-v1.3.211_GH0.tar.gz) = 67ab69142f69389dfdf5f1c7922e62aa4a03ba286b9229dd7f7f3e827232463c
-SIZE (KhronosGroup-Vulkan-Headers-v1.3.211_GH0.tar.gz) = 1469191
+TIMESTAMP = 1650579022
+SHA256 (KhronosGroup-Vulkan-Headers-v1.3.212_GH0.tar.gz) = deea32809940711be36258e17ac887818f6261c96be27b24a1b82ac6718f0b2b
+SIZE (KhronosGroup-Vulkan-Headers-v1.3.212_GH0.tar.gz) = 1468030
diff --git a/graphics/vulkan-loader/Makefile b/graphics/vulkan-loader/Makefile
index 921ab1305f8c..f40cae26d211 100644
--- a/graphics/vulkan-loader/Makefile
+++ b/graphics/vulkan-loader/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	vulkan-loader
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.3.211
+PORTREVISION=	1
 CATEGORIES=	graphics devel
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
diff --git a/graphics/vulkan-validation-layers/Makefile b/graphics/vulkan-validation-layers/Makefile
index 0dbd7bd7a5e3..60fa020b0b0f 100644
--- a/graphics/vulkan-validation-layers/Makefile
+++ b/graphics/vulkan-validation-layers/Makefile
@@ -24,6 +24,12 @@ CMAKE_ARGS=	-DROBIN_HOOD_HASHING_INSTALL_DIR:PATH="${WRKSRC_robin_hood}" \
 		-DSPIRV_HEADERS_INSTALL_DIR:PATH="${WRKSRC_headers}"
 CFLAGS+=	${WITH_DEBUG:U-DNDEBUG}
 
+.if ${DISTVERSION:E} < 212
+GH_TUPLE+=	KhronosGroup:Vulkan-Headers:v1.3.211:vkheaders/Vulkan-Headers
+CMAKE_ARGS+=	-DVULKAN_HEADERS_INSTALL_DIR:PATH="${WRKSRC_vkheaders}"
+CFLAGS+=	-I${WRKSRC_vkheaders}/include -isystem${LOCALBASE}/include
+.endif
+
 OPTIONS_DEFINE=	WAYLAND XCB XLIB
 OPTIONS_DEFAULT=WAYLAND XCB XLIB
 
diff --git a/graphics/vulkan-validation-layers/distinfo b/graphics/vulkan-validation-layers/distinfo
index 080b5fd46aa8..4743ee350b06 100644
--- a/graphics/vulkan-validation-layers/distinfo
+++ b/graphics/vulkan-validation-layers/distinfo
@@ -5,3 +5,5 @@ SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-137-gb42ba6d_GH0.tar.g
 SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-137-gb42ba6d_GH0.tar.gz) = 417861
 SHA256 (martinus-robin-hood-hashing-3.11.5_GH0.tar.gz) = 3693e44dda569e9a8b87ce8263f7477b23af448a3c3600c8ab9004fe79c20ad0
 SIZE (martinus-robin-hood-hashing-3.11.5_GH0.tar.gz) = 177134
+SHA256 (KhronosGroup-Vulkan-Headers-v1.3.211_GH0.tar.gz) = 67ab69142f69389dfdf5f1c7922e62aa4a03ba286b9229dd7f7f3e827232463c
+SIZE (KhronosGroup-Vulkan-Headers-v1.3.211_GH0.tar.gz) = 1469191