2018-07-01 12:05:51 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO KhronosGroup/EGL-Registry
|
2022-11-19 04:31:51 +08:00
|
|
|
REF af97e2c27b49a090a335fc6ed5040c780ad9fec8
|
|
|
|
SHA512 89f29608702cb85c5280a7d86ef2cd1c77ed746d4a2577ea143767828ea41ef28cf038d2d86fe1eccc03db08ad27258cb04dadb92233ed9acc10548d93537a80
|
2018-07-01 12:05:51 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
file(
|
|
|
|
COPY
|
2021-11-26 17:17:11 +08:00
|
|
|
"${SOURCE_PATH}/api/KHR"
|
|
|
|
"${SOURCE_PATH}/api/EGL"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
|
2018-07-01 12:05:51 +08:00
|
|
|
)
|
|
|
|
|
2018-11-17 10:19:03 +08:00
|
|
|
file(
|
|
|
|
COPY
|
2021-11-26 17:17:11 +08:00
|
|
|
"${SOURCE_PATH}/api/egl.xml"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/opengl"
|
2018-11-17 10:19:03 +08:00
|
|
|
)
|
|
|
|
|
2018-07-01 12:05:51 +08:00
|
|
|
file(
|
2021-11-26 17:17:11 +08:00
|
|
|
INSTALL "${SOURCE_PATH}/sdk/docs/man/copyright.xml"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
2018-07-01 12:05:51 +08:00
|
|
|
RENAME copyright
|
|
|
|
)
|
2022-10-12 16:21:25 +08:00
|
|
|
|