[nanomsg] Update to 1.2 (#29099)

* Update nanomsg to 1.2

* Update CI baseline

* Add port metadata

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
chausner 2023-01-24 09:44:01 +01:00 committed by GitHub
parent e76da97f20
commit 79a1b84130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 11 deletions

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nanomsg/nanomsg
REF 1.1.5
SHA512 773b8e169a7accac21414c63972423a249164f5b843c6c65c1b03a2eb90d21da788a98debdeb396dab795e52d30605696bc2cf65e5e05687bf115438d5b22717
REF 1.2
SHA512 377b3a0b4be6d6decd2711ff84ac1855ae0a298e7557dbe4b7d881c2a76f4e521671b47987b924c434afdad7ff1dfebb50982c8c0afca9b44682c898510d4c92
HEAD_REF master
)
@ -14,9 +14,8 @@ else()
set(NN_ENABLE_NANOCAT OFF)
endif()
vcpkg_configure_cmake(
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DCMAKE_DISABLE_FIND_PACKAGE_Git=TRUE
-DNN_STATIC_LIB=${NN_STATIC_LIB}
@ -26,11 +25,11 @@ vcpkg_configure_cmake(
-DNN_ENABLE_NANOCAT=${NN_ENABLE_NANOCAT}
)
vcpkg_install_cmake()
vcpkg_cmake_install()
file(STRINGS ${SOURCE_PATH}/.version NN_PACKAGE_VERSION)
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/nanomsg-${NN_PACKAGE_VERSION})
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/nanomsg-${NN_PACKAGE_VERSION})
vcpkg_replace_string(
${CURRENT_PACKAGES_DIR}/share/${PORT}/nanomsg-config.cmake

View File

@ -1,11 +1,22 @@
{
"name": "nanomsg",
"version-string": "1.1.5",
"port-version": 4,
"version-semver": "1.2.0",
"description": [
"a simple high-performance implementation of several \"scalability protocols\".",
"A simple high-performance implementation of several \"scalability protocols\".",
"These scalability protocols are light-weight messaging protocols which can be used to solve a number of very common messaging patterns, such as request/reply, publish/subscribe, surveyor/respondent, and so forth. These protocols can run over a variety of transports such as TCP, UNIX sockets, and even WebSocket."
],
"homepage": "https://nanomsg.org/",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"tool": {
"description": "nanomsg tool (nanocat)"

View File

@ -5217,8 +5217,8 @@
"port-version": 5
},
"nanomsg": {
"baseline": "1.1.5",
"port-version": 4
"baseline": "1.2.0",
"port-version": 0
},
"nanopb": {
"baseline": "0.4.7",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9c6dee5730547fccf7eae09ec55d2cea5fb593d1",
"version-semver": "1.2.0",
"port-version": 0
},
{
"git-tree": "ffe814aa129dfc6a1cdfc5d38e7a441d2b2fc47b",
"version-string": "1.1.5",