[vulkan-hpp] Add new port (#6400)

This commit is contained in:
myd7349 2019-05-13 15:14:03 +08:00 committed by Phil Christensen
parent df4e69f24f
commit 2992434b01
2 changed files with 20 additions and 0 deletions

4
ports/vulkan-hpp/CONTROL Normal file
View File

@ -0,0 +1,4 @@
Source: vulkan-hpp
Version: 2019-05-11
Description: Header only C++ bindings for the Vulkan C API
Build-Depends: vulkan

View File

@ -0,0 +1,16 @@
# header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/Vulkan-Hpp
REF 5ce8ae7fd0d9c0543d02f33cfa8a66e6a43e2150
SHA512 dc58332f5075f0b4d001abd4e78664be099509b8cee525a211aa33599f2351bf5e200fef37dccc84895d8f7a056f075ae3cf404f9aac7281970ff903e4a67a96
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/vulkan/vulkan.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include/vulkan)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)