mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 10:03:02 +08:00
[libbson][mongo-c-driver] Update to 1.15.1. Parse CONTROL file for version number (#8790)
This commit is contained in:
parent
892f584b34
commit
e916630f20
@ -1,4 +1,4 @@
|
||||
Source: libbson
|
||||
Version: 1.14.0-3
|
||||
Version: 1.15.1-1
|
||||
Description: libbson is a library providing useful routines related to building, parsing, and iterating BSON documents.
|
||||
Homepage: https://github.com/mongodb/libbson
|
||||
|
@ -1,11 +1,8 @@
|
||||
include(vcpkg_common_functions)
|
||||
set(BUILD_VERSION 1.14.0)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mongodb/mongo-c-driver
|
||||
REF ${BUILD_VERSION}
|
||||
SHA512 bf2bb835543dd2a445aac6cafa7bbbf90921ec41014534779924a5eb7cbd9fd532acd8146ce81dfcf1bcac33a78d8fce22b962ed7f776449e4357eccab8d6110
|
||||
REF 541086adcf1eecf88ac09fda47d9a8ec1598015d # debian/1.15.1-1
|
||||
SHA512 a57438dfae9d0993ae04b7a76677f79331699898f21e7645db5edd2c91014f33b738a0af67b58234d1ee03aab2ae3b58c183bbd043fc2bde5cc1a4e111755b70
|
||||
HEAD_REF master
|
||||
PATCHES fix-uwp.patch
|
||||
)
|
||||
@ -16,6 +13,10 @@ else()
|
||||
set(ENABLE_STATIC OFF)
|
||||
endif()
|
||||
|
||||
file(READ ${CMAKE_CURRENT_LIST_DIR}/CONTROL _contents)
|
||||
string(REGEX MATCH "\nVersion:[ ]*[^ \n]+" _contents "${_contents}")
|
||||
string(REGEX REPLACE ".+Version:[ ]*([\\.0-9]+).*" "\\1" BUILD_VERSION "${_contents}")
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
|
@ -1,5 +1,5 @@
|
||||
Source: mongo-c-driver
|
||||
Version: 1.14.0-5
|
||||
Version: 1.15.1-1
|
||||
Build-Depends: libbson, openssl (!windows), zlib
|
||||
Description: Client library written in C for MongoDB.
|
||||
Homepage: https://github.com/mongodb/mongo-c-driver
|
||||
|
@ -1,11 +1,8 @@
|
||||
include(vcpkg_common_functions)
|
||||
set(BUILD_VERSION 1.14.0)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO mongodb/mongo-c-driver
|
||||
REF ${BUILD_VERSION}
|
||||
SHA512 bf2bb835543dd2a445aac6cafa7bbbf90921ec41014534779924a5eb7cbd9fd532acd8146ce81dfcf1bcac33a78d8fce22b962ed7f776449e4357eccab8d6110
|
||||
REF 541086adcf1eecf88ac09fda47d9a8ec1598015d # debian/1.15.1-1
|
||||
SHA512 a57438dfae9d0993ae04b7a76677f79331699898f21e7645db5edd2c91014f33b738a0af67b58234d1ee03aab2ae3b58c183bbd043fc2bde5cc1a4e111755b70
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
@ -25,6 +22,10 @@ else()
|
||||
set(ENABLE_SSL "OPENSSL")
|
||||
endif()
|
||||
|
||||
file(READ ${CMAKE_CURRENT_LIST_DIR}/CONTROL _contents)
|
||||
string(REGEX MATCH "\nVersion:[ ]*[^ \n]+" _contents "${_contents}")
|
||||
string(REGEX REPLACE ".+Version:[ ]*([\\.0-9]+).*" "\\1" BUILD_VERSION "${_contents}")
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
|
Loading…
Reference in New Issue
Block a user