From ebcbbcf86292cf1fa8eac86058a98e82035b29b2 Mon Sep 17 00:00:00 2001 From: Henrik Date: Sat, 15 Oct 2022 01:15:32 +0200 Subject: [PATCH] [vulkan-memory-allocator-hpp] New port (#27189) * Added port for VulkanMemoryAllocator-Hpp * Fixed maifest format and ran x-add-version * Changed SHA --- ports/vulkan-memory-allocator-hpp/portfile.cmake | 12 ++++++++++++ ...official-vulkan-memory-allocator-hpp-config.cmake | 7 +++++++ ports/vulkan-memory-allocator-hpp/vcpkg.json | 10 ++++++++++ versions/baseline.json | 4 ++++ versions/v-/vulkan-memory-allocator-hpp.json | 9 +++++++++ 5 files changed, 42 insertions(+) create mode 100644 ports/vulkan-memory-allocator-hpp/portfile.cmake create mode 100644 ports/vulkan-memory-allocator-hpp/unofficial-vulkan-memory-allocator-hpp-config.cmake create mode 100644 ports/vulkan-memory-allocator-hpp/vcpkg.json create mode 100644 versions/v-/vulkan-memory-allocator-hpp.json diff --git a/ports/vulkan-memory-allocator-hpp/portfile.cmake b/ports/vulkan-memory-allocator-hpp/portfile.cmake new file mode 100644 index 0000000000..388e9af565 --- /dev/null +++ b/ports/vulkan-memory-allocator-hpp/portfile.cmake @@ -0,0 +1,12 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO YaaZ/VulkanMemoryAllocator-Hpp + REF v3.0.1 + SHA512 0631319ec892161acb85903ddeecf0b18ff6772fdb44b46c756f6c148d150ea0850f7a35f105a04e9b23baf6ea5aa9bb373e04c7be598f1caa23c22cacf4ee00 + HEAD_REF master +) + +file(COPY "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}") +file(COPY "${CMAKE_CURRENT_LIST_DIR}/unofficial-vulkan-memory-allocator-hpp-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/unofficial-${PORT}") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/vulkan-memory-allocator-hpp/unofficial-vulkan-memory-allocator-hpp-config.cmake b/ports/vulkan-memory-allocator-hpp/unofficial-vulkan-memory-allocator-hpp-config.cmake new file mode 100644 index 0000000000..d4c0207f5f --- /dev/null +++ b/ports/vulkan-memory-allocator-hpp/unofficial-vulkan-memory-allocator-hpp-config.cmake @@ -0,0 +1,7 @@ +add_library(unofficial::VulkanMemoryAllocator-Hpp::VulkanMemoryAllocator-Hpp INTERFACE IMPORTED) + +set_target_properties( + unofficial::VulkanMemoryAllocator-Hpp::VulkanMemoryAllocator-Hpp + PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_LIST_DIR}/../../include" +) diff --git a/ports/vulkan-memory-allocator-hpp/vcpkg.json b/ports/vulkan-memory-allocator-hpp/vcpkg.json new file mode 100644 index 0000000000..00b8ac1067 --- /dev/null +++ b/ports/vulkan-memory-allocator-hpp/vcpkg.json @@ -0,0 +1,10 @@ +{ + "name": "vulkan-memory-allocator-hpp", + "version": "3.0.1", + "description": "C++ bindings for VulkanMemoryAllocator", + "homepage": "https://github.com/YaaZ/VulkanMemoryAllocator-Hpp", + "license": "CC0-1.0", + "dependencies": [ + "vulkan" + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index df081e79f5..d46d7fd933 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7800,6 +7800,10 @@ "baseline": "3.0.0", "port-version": 0 }, + "vulkan-memory-allocator-hpp": { + "baseline": "3.0.1", + "port-version": 0 + }, "vxl": { "baseline": "2.0.2", "port-version": 4 diff --git a/versions/v-/vulkan-memory-allocator-hpp.json b/versions/v-/vulkan-memory-allocator-hpp.json new file mode 100644 index 0000000000..76a330bc90 --- /dev/null +++ b/versions/v-/vulkan-memory-allocator-hpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "2f76c60d16fb75bdbf3bfa08039557bfbe0ff84a", + "version": "3.0.1", + "port-version": 0 + } + ] +}