mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 01:29:08 +08:00
d0d63ec3bb
- [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. This PR updates the `opengl-registry` and `egl-registry` ports to the latest version. In addition both ports have broken copyright information as both repositories are using individual licenses for each file. I tried to fix this by including a vendored copyright file for the `egl-registry` port. For `opengl-registry` I have just included a note that all files are individually licensed. A proper fix for this seems to be already worked on in #28644.
23 lines
601 B
CMake
23 lines
601 B
CMake
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")
|