Update cpprestsdk to 2.10.17. (#15401)

This commit is contained in:
Billy O'Neal 2020-12-30 20:50:53 -08:00 committed by GitHub
parent 53983b0967
commit 5c262f63ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 124 additions and 28 deletions

View File

@ -1,26 +0,0 @@
Source: cpprestsdk
Version: 2.10.16-3
Build-Depends: openssl (!uwp&!windows), boost-system (!uwp&!windows),
boost-date-time (!uwp&!windows), boost-regex (!uwp&!windows), boost-thread (!uwp&!windows),
boost-filesystem (!uwp&!windows), boost-random (!uwp&!windows), boost-chrono (!uwp&!windows),
boost-asio (!uwp&!windows)
Homepage: https://github.com/Microsoft/cpprestsdk
Description: C++11 JSON, REST, and OAuth library
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Default-Features: default-features
Feature: default-features
Build-Depends: cpprestsdk[brotli] (windows), cpprestsdk[core,compression]
Description: Features installed by default
Feature: compression
Build-Depends: zlib
Description: HTTP Compression support
Feature: websockets
Build-Depends: cpprestsdk[core,compression], websocketpp (!uwp), openssl (!uwp), boost-system (!uwp), boost-date-time (!uwp), boost-regex (!uwp)
Description: Websockets support
Feature: brotli
Build-Depends: cpprestsdk[core,compression], brotli
Description: Brotli compression support

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Microsoft/cpprestsdk
REF v2.10.16
SHA512 d850b26051439dd10edcecd006075c64c61c565193cd76870af175bd343a72ecc59485deb0f907807071a57dd256b67139ad5d016f19cb38f7142357f430be1c
REF 41e7d0074b6cb5b22c89f835b4531d848ab66987
SHA512 29ad2cf9884cd9df9b4c92b89a852d207c5e210af59e773333e122aa58a4981b52b1e6186c121430295bd4eb0ca1abc002e29177a6753cd62dcd8937a3244e0c
HEAD_REF master
PATCHES fix-find-openssl.patch
)

122
ports/cpprestsdk/vcpkg.json Normal file
View File

@ -0,0 +1,122 @@
{
"name": "cpprestsdk",
"version-string": "2.10.17",
"description": [
"C++11 JSON, REST, and OAuth library",
"The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services."
],
"homepage": "https://github.com/Microsoft/cpprestsdk",
"dependencies": [
{
"name": "boost-asio",
"platform": "!uwp & !windows"
},
{
"name": "boost-chrono",
"platform": "!uwp & !windows"
},
{
"name": "boost-date-time",
"platform": "!uwp & !windows"
},
{
"name": "boost-filesystem",
"platform": "!uwp & !windows"
},
{
"name": "boost-random",
"platform": "!uwp & !windows"
},
{
"name": "boost-regex",
"platform": "!uwp & !windows"
},
{
"name": "boost-system",
"platform": "!uwp & !windows"
},
{
"name": "boost-thread",
"platform": "!uwp & !windows"
},
{
"name": "openssl",
"platform": "!uwp & !windows"
}
],
"default-features": [
"default-features"
],
"features": {
"brotli": {
"description": "Brotli compression support",
"dependencies": [
"brotli",
{
"name": "cpprestsdk",
"default-features": false,
"features": [
"compression"
]
}
]
},
"compression": {
"description": "HTTP Compression support",
"dependencies": [
"zlib"
]
},
"default-features": {
"description": "Features installed by default",
"dependencies": [
{
"name": "cpprestsdk",
"default-features": false,
"features": [
"compression"
]
},
{
"name": "cpprestsdk",
"features": [
"brotli"
],
"platform": "windows"
}
]
},
"websockets": {
"description": "Websockets support",
"dependencies": [
{
"name": "boost-date-time",
"platform": "!uwp"
},
{
"name": "boost-regex",
"platform": "!uwp"
},
{
"name": "boost-system",
"platform": "!uwp"
},
{
"name": "cpprestsdk",
"default-features": false,
"features": [
"compression"
]
},
{
"name": "openssl",
"platform": "!uwp"
},
{
"name": "websocketpp",
"platform": "!uwp"
}
]
}
}
}