-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[opengl/egl-registry] update and add pc file (#21651)
* [egl-registry] update * [opengl-registry] update + pc file * [glad] update due to new opengl spec layout * fix hash * version stuff * push glad to port verison 3 * version stuff * fix version * use glob for opengl-registry installation. * version stuff * Apply suggestions from code review Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * version stuff Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
- Loading branch information
1 parent
22cd726
commit e4e9755
Showing
10 changed files
with
68 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO KhronosGroup/EGL-Registry | ||
REF 11478904448bbdf5757b798c856a525aa2b351b1 | ||
SHA512 f1e54810cb2948e9d8798d65507069bba4ee6534d719e792db11e36d600ef37e59a34262809d8b1e41160ae1e45a283fa322cd9d9a647985c48a6d7d6d1706ee | ||
REF 992aa3914f8fea801b1034c992db389911d9f3c3 | ||
SHA512 75524ed23066e856f080f6551a6c7b6573d13ff7b4555594e2987e1e6a38ba13042d5037d56d656048e83c0b4ff002b5badacf9224516f9f5e521d4af653805a | ||
HEAD_REF master | ||
) | ||
|
||
file( | ||
COPY | ||
${SOURCE_PATH}/api/KHR | ||
${SOURCE_PATH}/api/EGL | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/include | ||
"${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/${PORT} | ||
"${SOURCE_PATH}/api/egl.xml" | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/opengl" | ||
) | ||
|
||
file( | ||
INSTALL ${SOURCE_PATH}/sdk/docs/man/copyright.xml | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} | ||
INSTALL "${SOURCE_PATH}/sdk/docs/man/copyright.xml" | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" | ||
RENAME copyright | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
{ | ||
"name": "egl-registry", | ||
"version-string": "2020-02-20", | ||
"port-version": 1, | ||
"version-date": "2021-11-23", | ||
"description": "the EGL API and Extension Registry", | ||
"homepage": "https://github.com/KhronosGroup/EGL-Registry" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,37 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO KhronosGroup/OpenGL-Registry | ||
REF 4594c03239fb76580bc5d5a13acb2a8f563f0158 | ||
SHA512 c005a4eb7e5c17002647e7762ae1a7ecba0d0780a62d66f1afd3b7f45c1ca49bd5a069ab0fabb94de3ec971604586457932941fa8eb924cf5ac3a959d8f5f146 | ||
REF a48c224a2db6edc4f4c610025b529d1c31ee9445 | ||
SHA512 30cfb1f8979676298e72604898879dae31953839acffc203027165fc131e74dafcf827fdeb07e64021fb8e8318bca38fa4d8656d8248f7bfba76e01d24895818 | ||
HEAD_REF master | ||
) | ||
|
||
file(COPY ${SOURCE_PATH}/api/GL DESTINATION ${CURRENT_PACKAGES_DIR}/include) | ||
file(COPY ${SOURCE_PATH}/api/GLES DESTINATION ${CURRENT_PACKAGES_DIR}/include) | ||
file(COPY ${SOURCE_PATH}/api/GLES2 DESTINATION ${CURRENT_PACKAGES_DIR}/include) | ||
file(COPY ${SOURCE_PATH}/api/GLES3 DESTINATION ${CURRENT_PACKAGES_DIR}/include) | ||
file(COPY ${SOURCE_PATH}/api/GLSC DESTINATION ${CURRENT_PACKAGES_DIR}/include) | ||
file(COPY ${SOURCE_PATH}/api/GLSC2 DESTINATION ${CURRENT_PACKAGES_DIR}/include) | ||
file(COPY "${SOURCE_PATH}/api/GL" DESTINATION "${CURRENT_PACKAGES_DIR}/include") | ||
file(COPY "${SOURCE_PATH}/api/GLES" DESTINATION "${CURRENT_PACKAGES_DIR}/include") | ||
file(COPY "${SOURCE_PATH}/api/GLES2" DESTINATION "${CURRENT_PACKAGES_DIR}/include") | ||
file(COPY "${SOURCE_PATH}/api/GLES3" DESTINATION "${CURRENT_PACKAGES_DIR}/include") | ||
file(COPY "${SOURCE_PATH}/api/GLSC" DESTINATION "${CURRENT_PACKAGES_DIR}/include") | ||
file(COPY "${SOURCE_PATH}/api/GLSC2" DESTINATION "${CURRENT_PACKAGES_DIR}/include") | ||
|
||
file(GLOB reg_files "${SOURCE_PATH}/xml/*.xml" "${SOURCE_PATH}/xml/readme.pdf" "${SOURCE_PATH}/xml/*.rnc" "${SOURCE_PATH}/xml/reg.py") | ||
file(COPY | ||
${SOURCE_PATH}/xml/gl.xml | ||
${SOURCE_PATH}/xml/glx.xml | ||
${SOURCE_PATH}/xml/wgl.xml | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} | ||
${reg_files} | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/opengl" | ||
) | ||
|
||
# Using the Makefile because it is the smallest file with a complete copy of the license text | ||
file( | ||
INSTALL ${SOURCE_PATH}/xml/Makefile | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} | ||
INSTALL "${SOURCE_PATH}/xml/Makefile" | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" | ||
RENAME copyright | ||
) | ||
|
||
# pc layout from cygwin (consumed in xserver!) | ||
file(WRITE "${CURRENT_PACKAGES_DIR}/share/pkgconfig/khronos-opengl-registry.pc" [=[ | ||
prefix=${pcfiledir}/../.. | ||
datadir=${prefix}/share | ||
specdir=${datadir}/opengl | ||
Name: khronos-opengl-registry | ||
Description: Khronos OpenGL registry | ||
Version: git4594c03239fb76580bc5d5a13acb2a8f563f0158 | ||
]=]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters