git: 617bb9c62e29 - main - graphics/vulkan-loader: update to 1.3.267
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Oct 2023 14:47:47 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=617bb9c62e2994d0c93c5ef96a935d7c00fa5551 commit 617bb9c62e2994d0c93c5ef96a935d7c00fa5551 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-10-06 16:33:44 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-10-07 14:44:02 +0000 graphics/vulkan-loader: update to 1.3.267 Changes: https://github.com/KhronosGroup/Vulkan-Loader/compare/v1.3.266...v1.3.267 Reported by: Repology, portscout --- graphics/vulkan-loader/Makefile | 7 +----- graphics/vulkan-loader/distinfo | 8 +++---- graphics/vulkan-loader/files/patch-pkg-config | 32 +++++++++++++++++++++++++++ graphics/vulkan-loader/pkg-plist | 2 +- 4 files changed, 37 insertions(+), 12 deletions(-) diff --git a/graphics/vulkan-loader/Makefile b/graphics/vulkan-loader/Makefile index 4f795d1c4890..cf6002db7f4f 100644 --- a/graphics/vulkan-loader/Makefile +++ b/graphics/vulkan-loader/Makefile @@ -1,6 +1,6 @@ PORTNAME= vulkan-loader DISTVERSIONPREFIX= v -DISTVERSION= 1.3.266 +DISTVERSION= 1.3.267 CATEGORIES= graphics devel MAINTAINER= jbeich@FreeBSD.org @@ -19,11 +19,6 @@ GH_PROJECT= Vulkan-Loader CMAKE_ON= CMAKE_SKIP_RPATH CMAKE_OFF= BUILD_TESTS -.if ${DISTVERSION:E} < 267 -GH_TUPLE+= KhronosGroup:Vulkan-Headers:v1.3.266:vkheaders/Vulkan-Headers -CFLAGS+= -isystem${WRKSRC_vkheaders}/include -isystem${LOCALBASE}/include -.endif - OPTIONS_DEFINE= WAYLAND XCB XLIB OPTIONS_DEFAULT=WAYLAND XCB XLIB diff --git a/graphics/vulkan-loader/distinfo b/graphics/vulkan-loader/distinfo index b86ec621465e..5750b398065f 100644 --- a/graphics/vulkan-loader/distinfo +++ b/graphics/vulkan-loader/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1696003691 -SHA256 (KhronosGroup-Vulkan-Loader-v1.3.266_GH0.tar.gz) = 85574be4e16fac78ab822576a2913141ad21aad5a51974cc798891643c677654 -SIZE (KhronosGroup-Vulkan-Loader-v1.3.266_GH0.tar.gz) = 1691293 -SHA256 (KhronosGroup-Vulkan-Headers-v1.3.266_GH0.tar.gz) = 0b3451c3dbda492be010738fb90e5cf80aa32f66705cadd9a12c573e0e351fd3 -SIZE (KhronosGroup-Vulkan-Headers-v1.3.266_GH0.tar.gz) = 2128115 +TIMESTAMP = 1696610024 +SHA256 (KhronosGroup-Vulkan-Loader-v1.3.267_GH0.tar.gz) = a5ddca95db1faa0bc3ad958d3979d063846252bd5dff1f3ed5833cb20dc0ace5 +SIZE (KhronosGroup-Vulkan-Loader-v1.3.267_GH0.tar.gz) = 1688789 diff --git a/graphics/vulkan-loader/files/patch-pkg-config b/graphics/vulkan-loader/files/patch-pkg-config new file mode 100644 index 000000000000..0821d30aa523 --- /dev/null +++ b/graphics/vulkan-loader/files/patch-pkg-config @@ -0,0 +1,32 @@ +https://github.com/KhronosGroup/Vulkan-Loader/issues/1318 +https://github.com/KhronosGroup/Vulkan-Loader/issues/1319 + +--- loader/CMakeLists.txt.orig 2023-10-06 16:33:44 UTC ++++ loader/CMakeLists.txt +@@ -446,13 +446,6 @@ if (PKG_CONFIG_FOUND) + endif() + endif() + +- # BUG: The following code will NOT work well with `cmake --install ... --prefix <dir>` +- # due to this code relying on CMAKE_INSTALL_PREFIX being defined at configure time. +- if ("${CMAKE_INSTALL_PREFIX}" STREQUAL "") +- set(CMAKE_INSTALL_LIBDIR_PC ${CMAKE_INSTALL_FULL_LIBDIR}) +- else() +- file(RELATIVE_PATH CMAKE_INSTALL_LIBDIR_PC ${CMAKE_INSTALL_PREFIX} ${CMAKE_INSTALL_FULL_LIBDIR}) +- endif() + configure_file("vulkan.pc.in" "vulkan.pc" @ONLY) + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/vulkan.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") + endif() +--- loader/vulkan.pc.in.orig 2023-10-06 16:33:44 UTC ++++ loader/vulkan.pc.in +@@ -1,4 +1,9 @@ ++prefix=@CMAKE_INSTALL_PREFIX@ ++libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ ++includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ ++ + Name: Vulkan-Loader + Description: Vulkan Loader + Version: @VULKAN_LOADER_VERSION@ +-Libs: -L@CMAKE_INSTALL_LIBDIR_PC@ -lvulkan@VULKAN_LIB_SUFFIX@ ++Libs: -L${libdir} -lvulkan@VULKAN_LIB_SUFFIX@ ++Cflags: -I${includedir} diff --git a/graphics/vulkan-loader/pkg-plist b/graphics/vulkan-loader/pkg-plist index 17473b8592d1..8c14ebfa3dd5 100644 --- a/graphics/vulkan-loader/pkg-plist +++ b/graphics/vulkan-loader/pkg-plist @@ -2,5 +2,5 @@ lib/cmake/VulkanLoader/VulkanLoaderConfig-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/VulkanLoader/VulkanLoaderConfig.cmake lib/libvulkan.so lib/libvulkan.so.1 -lib/libvulkan.so.1.3.266 +lib/libvulkan.so.1.3.267 libdata/pkgconfig/vulkan.pc