aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/spirv-headers
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/spirv-headers
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/spirv-headers')
-rw-r--r--vcpkg/ports/spirv-headers/portfile.cmake19
-rw-r--r--vcpkg/ports/spirv-headers/vcpkg.json16
2 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg/ports/spirv-headers/portfile.cmake b/vcpkg/ports/spirv-headers/portfile.cmake
new file mode 100644
index 0000000..2907a6b
--- /dev/null
+++ b/vcpkg/ports/spirv-headers/portfile.cmake
@@ -0,0 +1,19 @@
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO KhronosGroup/SPIRV-Headers
+ REF "vulkan-sdk-${VERSION}"
+ SHA512 545526940e5b42a53143732d6d00b61ee544f8137507f86b32230fb5110cf2cc8f3fc71d0b167e614ab2dd5faa1c4915965627146d519832d73f23ee6a2aa4bb
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+vcpkg_cmake_install()
+vcpkg_copy_pdbs()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH "share/cmake/SPIRV-Headers")
+vcpkg_fixup_pkgconfig()
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/spirv-headers/vcpkg.json b/vcpkg/ports/spirv-headers/vcpkg.json
new file mode 100644
index 0000000..19600ea
--- /dev/null
+++ b/vcpkg/ports/spirv-headers/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "spirv-headers",
+ "version": "1.4.309.0",
+ "description": "Machine-readable files for the SPIR-V Registry",
+ "homepage": "https://github.com/KhronosGroup/SPIRV-Headers",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}