[gamenetworkingsockets] update version to 1.4.1 (#25523)

* Updated gamenetworkingsockets to 1.4.1

Also use "version-semver" to specify the version, since we are using
Semantic Versioning.

* Add gamenetworkingsockets v1.4.1

* [gamenetworkingsockets] update version to 1.4.1

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
This commit is contained in:
Fletcher Dunn 2022-07-05 13:27:23 -07:00 committed by GitHub
parent 6ea498a8ef
commit 6fff5b4d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 11 deletions

View File

@ -3,16 +3,15 @@ vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ValveSoftware/GameNetworkingSockets
REF b99aa75ed9b1ec57d5c90ee009f8de8882eeca13 # v1.4.0
SHA512 1776a6a66d2c6546a8a3d71123544ea9590ab6b123d4a92eebd38c0a195f09a55185b999250c518527e1d8983176732429901a2f781a883715e6695b597229f5
REF 505c697d0abef5da2ff3be35aa4ea3687597c3e9 # v1.4.1
SHA512 3e4b4da138f2b356169e6504aa899c9eca4fba5b5fcaed2a0ae8a2f5828976dd00af9f3262c75bd6d820300da87ebe32da152fecddc278a651f3b33eb59142df
HEAD_REF master
)
set(CRYPTO_BACKEND OpenSSL)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTS=OFF
-DBUILD_EXAMPLES=OFF
@ -21,10 +20,10 @@ vcpkg_configure_cmake(
-DUSE_CRYPTO25519=${CRYPTO_BACKEND}
)
vcpkg_install_cmake()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_cmake_install()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/GameNetworkingSockets" TARGET_PATH "share/GameNetworkingSockets")
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/GameNetworkingSockets")
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

View File

@ -1,12 +1,20 @@
{
"name": "gamenetworkingsockets",
"version": "1.4.0",
"version-semver": "1.4.1",
"description": "GameNetworkingSockets is a basic transport layer for games.",
"homepage": "https://github.com/ValveSoftware/GameNetworkingSockets",
"license": "BSD-3-Clause",
"supports": "!(static & windows) & !uwp & !(arm64 & windows)",
"dependencies": [
"openssl",
"protobuf"
"protobuf",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -2437,7 +2437,7 @@
"port-version": 2
},
"gamenetworkingsockets": {
"baseline": "1.4.0",
"baseline": "1.4.1",
"port-version": 0
},
"gamma": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "94a9a726c8c2caf64acec0988bd9ad58f57ab5df",
"version-semver": "1.4.1",
"port-version": 0
},
{
"git-tree": "56c1a61c82400d285d3d37cf8e20a1f362a0d83f",
"version": "1.4.0",