diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/egl-registry | |
Diffstat (limited to 'vcpkg/ports/egl-registry')
| -rw-r--r-- | vcpkg/ports/egl-registry/copyright | 28 | ||||
| -rw-r--r-- | vcpkg/ports/egl-registry/portfile.cmake | 22 | ||||
| -rw-r--r-- | vcpkg/ports/egl-registry/vcpkg.json | 6 |
3 files changed, 56 insertions, 0 deletions
diff --git a/vcpkg/ports/egl-registry/copyright b/vcpkg/ports/egl-registry/copyright new file mode 100644 index 0000000..8db79b8 --- /dev/null +++ b/vcpkg/ports/egl-registry/copyright @@ -0,0 +1,28 @@ +## include/KHR/khrplatform.h + +Copyright (c) 2008-2018 The Khronos Group Inc. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and/or associated documentation files (the +"Materials"), to deal in the Materials without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Materials, and to +permit persons to whom the Materials are furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Materials. + +THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. + +## include/EGL/* +## share/opengl/egl.xml + +Copyright 2013-2020 The Khronos Group Inc. +SPDX-License-Identifier: Apache-2.0 diff --git a/vcpkg/ports/egl-registry/portfile.cmake b/vcpkg/ports/egl-registry/portfile.cmake new file mode 100644 index 0000000..7586c67 --- /dev/null +++ b/vcpkg/ports/egl-registry/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO KhronosGroup/EGL-Registry
+ REF 7db3005d4c2cb439f129a0adc931f3274f9019e6
+ SHA512 474d7a4d614efed18151e0ff18840aaa8349ec0b01ec3cc4e6ff3f60fdb918e0b8c68dbb13e09dc5e7b081a9eb637b008b48b1a4be537d360f9a6d247b7b8802
+ HEAD_REF master
+)
+
+file(
+ COPY
+ "${SOURCE_PATH}/api/KHR"
+ "${SOURCE_PATH}/api/EGL"
+ DESTINATION "${CURRENT_PACKAGES_DIR}/include"
+)
+
+file(
+ COPY
+ "${SOURCE_PATH}/api/egl.xml"
+ DESTINATION "${CURRENT_PACKAGES_DIR}/share/opengl"
+)
+
+vcpkg_install_copyright(FILE_LIST "${CURRENT_PORT_DIR}/copyright")
diff --git a/vcpkg/ports/egl-registry/vcpkg.json b/vcpkg/ports/egl-registry/vcpkg.json new file mode 100644 index 0000000..2c4f8b3 --- /dev/null +++ b/vcpkg/ports/egl-registry/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "egl-registry", + "version-date": "2024-01-25", + "description": "EGL API and Extension Registry", + "homepage": "https://github.com/KhronosGroup/EGL-Registry" +} |