git: 889a97d2006b - main - graphics/vulkan-tools: update to 1.3.271
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Nov 2023 08:31:12 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=889a97d2006b3169c409b9b3a602aabe22dc1fc7 commit 889a97d2006b3169c409b9b3a602aabe22dc1fc7 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-11-27 22:22:16 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-11-28 08:29:57 +0000 graphics/vulkan-tools: update to 1.3.271 Changes: https://github.com/KhronosGroup/Vulkan-Tools/compare/v1.3.270...v1.3.271 Reported by: Repology, portscout --- graphics/vulkan-tools/Makefile | 4 ++-- graphics/vulkan-tools/distinfo | 8 +++++--- graphics/vulkan-tools/files/patch-CMakeLists.txt | 23 +++++++++++++++++++++++ 3 files changed, 30 insertions(+), 5 deletions(-) diff --git a/graphics/vulkan-tools/Makefile b/graphics/vulkan-tools/Makefile index 769d785decd9..cade21ea898d 100644 --- a/graphics/vulkan-tools/Makefile +++ b/graphics/vulkan-tools/Makefile @@ -1,6 +1,6 @@ PORTNAME= vulkan-tools DISTVERSIONPREFIX= v -DISTVERSION= 1.3.270 +DISTVERSION= 1.3.271 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org @@ -11,12 +11,12 @@ LICENSE= APACHE20 BUILD_DEPENDS= glslangValidator:graphics/glslang \ vulkan-headers>0:graphics/vulkan-headers -LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader USES= alias cmake compiler:c++11-lib pkgconfig python:build USE_GITHUB= yes GH_ACCOUNT= KhronosGroup GH_PROJECT= Vulkan-Tools +GH_TUPLE= zeux:volk:1.3.270-4-g1b05bb5:volk/volk CMAKE_OFF= BUILD_CUBE BUILD_ICD CMAKE_ARGS= -DGLSLANG_INSTALL_DIR:PATH="${LOCALBASE}" diff --git a/graphics/vulkan-tools/distinfo b/graphics/vulkan-tools/distinfo index c211a64c1d52..f63627472024 100644 --- a/graphics/vulkan-tools/distinfo +++ b/graphics/vulkan-tools/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1699645467 -SHA256 (KhronosGroup-Vulkan-Tools-v1.3.270_GH0.tar.gz) = 8b570500f99a8133fff1a55e82dc7bf2bb5afacdfecd6fc08c45d2fe2a85d9ad -SIZE (KhronosGroup-Vulkan-Tools-v1.3.270_GH0.tar.gz) = 779426 +TIMESTAMP = 1701123736 +SHA256 (KhronosGroup-Vulkan-Tools-v1.3.271_GH0.tar.gz) = 8cbc2fd27326de0e7d16ceab6463f4c1c116f8c0699e5621cdc0eded07f3105a +SIZE (KhronosGroup-Vulkan-Tools-v1.3.271_GH0.tar.gz) = 746528 +SHA256 (zeux-volk-1.3.270-4-g1b05bb5_GH0.tar.gz) = ce2329889a5cf36b207f887180821b244fe01ad61f4f63b2eebf12631f8c3398 +SIZE (zeux-volk-1.3.270-4-g1b05bb5_GH0.tar.gz) = 60097 diff --git a/graphics/vulkan-tools/files/patch-CMakeLists.txt b/graphics/vulkan-tools/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..1e5bfa7bcbed --- /dev/null +++ b/graphics/vulkan-tools/files/patch-CMakeLists.txt @@ -0,0 +1,23 @@ +CMake Error at cube/CMakeLists.txt:237 (target_link_libraries): + Target "vkcube" links to: + + volk::volk_headers + + but the target was not found. Possible reasons include: + + * There is a typo in the target name. + * A find_package call is missing for an IMPORTED target. + * An ALIAS target is missing. + +--- CMakeLists.txt.orig 2023-11-27 22:22:16 UTC ++++ CMakeLists.txt +@@ -53,6 +53,9 @@ find_package(volk QUIET CONFIG) + find_package(VulkanHeaders QUIET CONFIG) + find_package(VulkanLoader QUIET CONFIG) + find_package(volk QUIET CONFIG) ++if (NOT TARGET volk::volk_headers) ++ add_subdirectory(volk EXCLUDE_FROM_ALL SYSTEM) ++endif() + + include(GNUInstallDirs) +