git: e6894cd680a3 - main - graphics/vulkan-utility-libraries: add new port

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 01 Jan 2024 00:42:49 UTC
The branch main has been updated by jbeich:

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

commit e6894cd680a3d000fd1e92e8b10809c29e17cc1d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-12-19 18:13:57 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-01-01 00:39:44 +0000

    graphics/vulkan-utility-libraries: add new port
    
    Shared code across various Vulkan repositories. Before 59eed9a2db30
    it was provided by graphics/vulkan-validation-layers.
    
    https://github.com/KhronosGroup/Vulkan-Utility-Libraries
    
    Requested by:   Kenneth Camann
---
 graphics/Makefile                           |  1 +
 graphics/vulkan-utility-libraries/Makefile  | 19 +++++++++++++++++++
 graphics/vulkan-utility-libraries/distinfo  |  3 +++
 graphics/vulkan-utility-libraries/pkg-descr |  1 +
 graphics/vulkan-utility-libraries/pkg-plist | 10 ++++++++++
 5 files changed, 34 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 8c4b0d4f85c8..8a0ee70ce556 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1174,6 +1174,7 @@
     SUBDIR += vulkan-headers
     SUBDIR += vulkan-loader
     SUBDIR += vulkan-tools
+    SUBDIR += vulkan-utility-libraries
     SUBDIR += vulkan-validation-layers
     SUBDIR += vv
     SUBDIR += waffle
diff --git a/graphics/vulkan-utility-libraries/Makefile b/graphics/vulkan-utility-libraries/Makefile
new file mode 100644
index 000000000000..ed84bbe4b193
--- /dev/null
+++ b/graphics/vulkan-utility-libraries/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	vulkan-utility-libraries
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.3.274
+CATEGORIES=	graphics
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	Utility libraries for Vulkan developers
+WWW=		https://github.com/KhronosGroup/Vulkan-Utility-Libraries
+
+LICENSE=	APACHE20
+
+BUILD_DEPENDS=	vulkan-headers>0:graphics/vulkan-headers
+
+USES=		cmake compiler:c++11-lib
+USE_GITHUB=	yes
+GH_ACCOUNT=	KhronosGroup
+GH_PROJECT=	Vulkan-Utility-Libraries
+
+.include <bsd.port.mk>
diff --git a/graphics/vulkan-utility-libraries/distinfo b/graphics/vulkan-utility-libraries/distinfo
new file mode 100644
index 000000000000..526d61f73f68
--- /dev/null
+++ b/graphics/vulkan-utility-libraries/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1703009637
+SHA256 (KhronosGroup-Vulkan-Utility-Libraries-v1.3.274_GH0.tar.gz) = ac6012f7b951170914a85c1ac359f20f276db1cced269b4199a75f7e2ce837c5
+SIZE (KhronosGroup-Vulkan-Utility-Libraries-v1.3.274_GH0.tar.gz) = 167141
diff --git a/graphics/vulkan-utility-libraries/pkg-descr b/graphics/vulkan-utility-libraries/pkg-descr
new file mode 100644
index 000000000000..eaebc143ec56
--- /dev/null
+++ b/graphics/vulkan-utility-libraries/pkg-descr
@@ -0,0 +1 @@
+Shared code across various Vulkan repositories.
diff --git a/graphics/vulkan-utility-libraries/pkg-plist b/graphics/vulkan-utility-libraries/pkg-plist
new file mode 100644
index 000000000000..2e608c950a05
--- /dev/null
+++ b/graphics/vulkan-utility-libraries/pkg-plist
@@ -0,0 +1,10 @@
+include/vulkan/layer/vk_layer_settings.h
+include/vulkan/layer/vk_layer_settings.hpp
+include/vulkan/utility/vk_dispatch_table.h
+include/vulkan/utility/vk_format_utils.h
+include/vulkan/utility/vk_struct_helper.hpp
+include/vulkan/vk_enum_string_helper.h
+lib/cmake/VulkanUtilityLibraries/VulkanUtilityLibraries-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/VulkanUtilityLibraries/VulkanUtilityLibraries-targets.cmake
+lib/cmake/VulkanUtilityLibraries/VulkanUtilityLibrariesConfig.cmake
+lib/libVulkanLayerSettings.a