[vulkan-extensionlayer] New port (#41659)

This commit is contained in:
Kai Pastor 2024-10-24 04:50:42 +02:00 committed by GitHub
parent 1d6bcca58a
commit 98429dfd6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,28 @@
set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/Vulkan-ExtensionLayer
REF "vulkan-sdk-${VERSION}"
SHA512 6d2722179f59558b49198acf6f0543e174ce207b7f2bf1ba4c16841da78c1f7690e706145b100232a2b226da9ad2faa5cf6565e6430aff5cd669df2de47dc7cb
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTS:BOOL=OFF
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
if(VCPKG_TARGET_IS_ANDROID)
set(VCPKG_POLICY_SKIP_USAGE_INSTALL_CHECK enabled)
else()
file(INSTALL "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
endif()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -0,0 +1,5 @@
vulkan-extensionlayer provides a JSON manifest directory
which can be added to the environment variable VK_ADD_LAYER_PATH:
Windows: <vcpkg-install-root>/bin
Other: <vcpkg-install-root>/share/vulkan/explicit_layers.d

View File

@ -0,0 +1,19 @@
{
"name": "vulkan-extensionlayer",
"version": "1.3.296.0",
"description": "Layer providing Vulkan features when native support is unavailable",
"homepage": "https://github.com/KhronosGroup/Vulkan-ExtensionLayer",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"vulkan-headers",
"vulkan-utility-libraries"
]
}

View File

@ -1170,6 +1170,7 @@ vtk-m:x64-android=fail
vulkan:arm-neon-android=fail
vulkan:arm64-android=fail
vulkan:x64-android=fail
vulkan-extensionlayer:x64-windows-static=fail
# Needs android-26
vulkan-validationlayers:arm-neon-android=fail
vulkan-validationlayers:arm64-android=fail

View File

@ -9464,6 +9464,10 @@
"baseline": "2023-12-17",
"port-version": 0
},
"vulkan-extensionlayer": {
"baseline": "1.3.296.0",
"port-version": 0
},
"vulkan-headers": {
"baseline": "1.3.296.0",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "33f33fe290428ff835bc09e8c0e1f536606b5af2",
"version": "1.3.296.0",
"port-version": 0
}
]
}