graphics/vulkan-loader: update to 1.3.268

Changes:	https://github.com/KhronosGroup/Vulkan-Loader/compare/v1.3.267...v1.3.268
Reported by:	Repology, portscout
This commit is contained in:
Jan Beich 2023-10-13 23:08:29 +02:00
parent dec8d8ee53
commit 9f3bf36dc6
4 changed files with 5 additions and 38 deletions

View file

@ -1,7 +1,6 @@
PORTNAME= vulkan-loader
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.267
PORTREVISION= 1
DISTVERSION= 1.3.268
CATEGORIES= graphics devel
MAINTAINER= jbeich@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1696610024
SHA256 (KhronosGroup-Vulkan-Loader-v1.3.267_GH0.tar.gz) = a5ddca95db1faa0bc3ad958d3979d063846252bd5dff1f3ed5833cb20dc0ace5
SIZE (KhronosGroup-Vulkan-Loader-v1.3.267_GH0.tar.gz) = 1688789
TIMESTAMP = 1697231309
SHA256 (KhronosGroup-Vulkan-Loader-v1.3.268_GH0.tar.gz) = bddabbf8ebbbd38bdb58dfb50fbd94dbd84b8c39c34045e13c9ad46bd3cae167
SIZE (KhronosGroup-Vulkan-Loader-v1.3.268_GH0.tar.gz) = 1690642

View file

@ -1,32 +0,0 @@
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}

View file

@ -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.267
lib/libvulkan.so.1.3.268
libdata/pkgconfig/vulkan.pc