mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 00:08:59 +08:00
[vulkan-extensionlayer] New port (#41659)
This commit is contained in:
parent
1d6bcca58a
commit
98429dfd6a
28
ports/vulkan-extensionlayer/portfile.cmake
Normal file
28
ports/vulkan-extensionlayer/portfile.cmake
Normal 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")
|
5
ports/vulkan-extensionlayer/usage
Normal file
5
ports/vulkan-extensionlayer/usage
Normal 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
|
19
ports/vulkan-extensionlayer/vcpkg.json
Normal file
19
ports/vulkan-extensionlayer/vcpkg.json
Normal 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"
|
||||
]
|
||||
}
|
@ -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
|
||||
|
@ -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
|
||||
|
9
versions/v-/vulkan-extensionlayer.json
Normal file
9
versions/v-/vulkan-extensionlayer.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "33f33fe290428ff835bc09e8c0e1f536606b5af2",
|
||||
"version": "1.3.296.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user