Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Vulkan Headers to 1.3.250 #31721

Merged
merged 2 commits into from
Jun 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions ports/vulkan-headers/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/Vulkan-Headers
REF d732b2de303ce505169011d438178191136bfb00
SHA512 425d393dec95902af46f182b3d8d5d279efefddc9cbce05c2b3e4f1706fa05ff74db0a3db2adc370bf6ac25c152c66d9a96feaac8a427acdc46b1d27e69c2608
HEAD_REF v1.3.243
REF bae9700cd9425541a0f6029957f005e5ad3ef660
SHA512 b1a51cb868563bf044c65cab8411547b8a08ea21998f01e5be53027217ddd18ff6907d78490c08e3f14865c53436ddf092811726ae3df23a29f8edd614bdb95b
HEAD_REF v1.3.250
)

set(VCPKG_BUILD_TYPE release) # header-only port

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
4 changes: 4 additions & 0 deletions ports/vulkan-headers/usage
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default installing vulkan-headers resulted in the following message:

vulkan-headers is header-only and can be used from CMake via:

    find_path(VULKAN_HEADERS_INCLUDE_DIRS "vk_video/vulkan_video_codec_h264std.h")
    target_include_directories(main PRIVATE ${VULKAN_HEADERS_INCLUDE_DIRS})

As a result I added this usage file with the proper find_package instructions based on the official instructions from the repo.

https://github.com/KhronosGroup/Vulkan-Headers/blob/main/BUILD.md

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Vulkan-Headers provides official find_package support:

find_package(VulkanHeaders CONFIG)
target_link_libraries(main PRIVATE Vulkan::Headers)
2 changes: 1 addition & 1 deletion ports/vulkan-headers/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vulkan-headers",
"version": "1.3.243",
"version": "1.3.250",
"port-version": 2,
"description": "Vulkan header files and API registry",
"homepage": "https://github.com/KhronosGroup/Vulkan-Headers",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -8489,7 +8489,7 @@
"port-version": 6
},
"vulkan-headers": {
"baseline": "1.3.243",
"baseline": "1.3.250",
"port-version": 2
},
"vulkan-hpp": {
Expand Down
5 changes: 5 additions & 0 deletions versions/v-/vulkan-headers.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "58c480d0beaa5a34988bd99c452a6fcbfe08721a",
"version": "1.3.250",
"port-version": 2
},
{
"git-tree": "535abf6f9fe02ff97da42e5594a4c1fd55190ec1",
"version": "1.3.243",
Expand Down