Skip to content

Commit

Permalink
[glfw3/glew] Fix pkgconfig (#16166)
Browse files Browse the repository at this point in the history
* [glfw3/glew] Fix pkgconfig

* update version record
  • Loading branch information
JackBoosY committed Feb 11, 2021
1 parent c4cebb4 commit 087869e
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/glew/CONTROL
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions ports/glew/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions ports/glfw3/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 2 additions & 0 deletions ports/glfw3/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/glew.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c87d7f619c69630fa4d1bd0bf3767f0d31ef22d6",
"version-string": "2.1.0",
"port-version": 10
},
{
"git-tree": "f8fbe21d53746e72320d363c852bb10f734e5237",
"version-string": "2.1.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/glfw3.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c25e50efb2dc33ea70dae0e62936987d82bffcec",
"version-string": "3.3.2",
"port-version": 1
},
{
"git-tree": "948e1bd3085f0de7b3af12c5a71afe1c8969ea55",
"version-string": "3.3.2",
Expand Down

0 comments on commit 087869e

Please sign in to comment.