[glfw3/glew] Fix pkgconfig (#16166)

* [glfw3/glew] Fix pkgconfig

* update version record
This commit is contained in:
Jack·Boos·Yu 2021-02-10 23:55:18 -08:00 committed by GitHub
parent c4cebb40a2
commit 087869eb3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 18 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Source: glew
Version: 2.1.0
Port-Version: 9
Port-Version: 10
Description: The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library.
Homepage: https://github.com/nigels-com/glew
Build-Depends: opengl

View File

@ -23,6 +23,8 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/glew)
# Skip check the required dependency opengl
vcpkg_fixup_pkgconfig(SKIP_CHECK)
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
set(_targets_cmake_files)

View File

@ -1,4 +1,5 @@
Source: glfw3
Version: 3.3.2
Port-Version: 1
Homepage: https://github.com/glfw/glfw
Description: GLFW is a free, Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.

View File

@ -30,6 +30,8 @@ vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/glfw3)
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -2194,11 +2194,11 @@
},
"glew": {
"baseline": "2.1.0",
"port-version": 9
"port-version": 10
},
"glfw3": {
"baseline": "3.3.2",
"port-version": 0
"port-version": 1
},
"gli": {
"baseline": "dd17acf-1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c87d7f619c69630fa4d1bd0bf3767f0d31ef22d6",
"version-string": "2.1.0",
"port-version": 10
},
{
"git-tree": "f8fbe21d53746e72320d363c852bb10f734e5237",
"version-string": "2.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c25e50efb2dc33ea70dae0e62936987d82bffcec",
"version-string": "3.3.2",
"port-version": 1
},
{
"git-tree": "948e1bd3085f0de7b3af12c5a71afe1c8969ea55",
"version-string": "3.3.2",