[glbinding] remove conflict with other opengl ports (#6876)

This commit is contained in:
Phil Christensen 2019-06-12 21:28:29 -07:00 committed by GitHub
parent 555b760c67
commit e1d5827666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,4 @@
Source: glbinding
Version: 3.1.0
Version: 3.1.0-1
Description: glbinding is an MIT licensed, cross-platform C++ binding for the OpenGL API
Build-Depends: egl-registry

View File

@ -6,8 +6,8 @@ vcpkg_from_github(
SHA512 d7294c9a0dc47a7c107b134e5dfa78c5812fc6bf739b9fd778fa7ce946d5ea971839a65c3985e0915fd75311e4a85fb221d33a71856c460199eab0e7622f7151
HEAD_REF master
PATCHES
force-system-install.patch
fix-uwpmacro.patch
force-system-install.patch
fix-uwpmacro.patch
)
vcpkg_configure_cmake(
@ -52,6 +52,9 @@ endforeach()
file(WRITE ${CURRENT_PACKAGES_DIR}/share/glbinding/glbinding-config.cmake "include(\${CMAKE_CURRENT_LIST_DIR}/glbinding/glbinding-export.cmake)\ninclude(\${CMAKE_CURRENT_LIST_DIR}/glbinding-aux/glbinding-aux-export.cmake)\ninclude(\${CMAKE_CURRENT_LIST_DIR}/KHRplatform/KHRplatform-export.cmake)\nset(glbinding_FOUND TRUE)\n")
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
# Remove files already published by egl-registry
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/KHR)
# Handle copyright
file(RENAME ${CURRENT_PACKAGES_DIR}/share/glbinding/LICENSE ${CURRENT_PACKAGES_DIR}/share/glbinding/copyright)