[cpr] update to 1.10.2 (#30747)

* update to 1.10.2

* fix sleepy-discord issue

* update

* update

* restore

* fix version
This commit is contained in:
Mengna Li 2023-04-22 05:54:16 +08:00 committed by GitHub
parent 179c61693f
commit 195fb66988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 19 additions and 7 deletions

View File

@ -3,8 +3,8 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libcpr/cpr
REF a2d35a1cb9f3f7e2f1469d6a189751331dc99f96 #v1.9.3
SHA512 5df799fa53d51ba020a860ff928123921ed0ba59152de2b7e9d88b54ace820f5881fc72d056fca5679a7710357aa25854fa6dd6f9d230338b5378aebfe2bd957
REF 0445800cd2cace404ac37eb3e78ec5d1431a4f30 #1.10.2
SHA512 77723343b2ce89a10b8622cf54127edd6639412e3d457caed31b4fa1d3935d79846b4be695c327001fc2228313591e320c9080dbf8c09e3b69265f81641b9973
HEAD_REF master
PATCHES
001-cpr-config.patch
@ -31,4 +31,4 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cpr)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,6 +1,6 @@
{
"name": "cpr",
"version-semver": "1.9.3",
"version-semver": "1.10.2+3",
"description": "C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project.",
"homepage": "https://github.com/libcpr/cpr",
"license": "MIT",

View File

@ -32,6 +32,7 @@ vcpkg_cmake_configure(
-DSLEEPY_VCPKG=ON
-DAUTO_DOWNLOAD_LIBRARY=OFF
-DUSE_BOOST_ASIO=ON
-DCMAKE_CXX_STANDARD=17
${FEATURE_OPTIONS}
)
vcpkg_cmake_install()
@ -40,4 +41,4 @@ vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/sleepy-discord)
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")

View File

@ -1,6 +1,7 @@
{
"name": "sleepy-discord",
"version-date": "2022-02-05",
"port-version": 1,
"description": "C++ library for the Discord chat client",
"homepage": "https://yourwaifu.dev/sleepy-discord/",
"dependencies": [

View File

@ -1825,7 +1825,7 @@
"port-version": 0
},
"cpr": {
"baseline": "1.9.3",
"baseline": "1.10.2+3",
"port-version": 0
},
"cpu-features": {
@ -7386,7 +7386,7 @@
},
"sleepy-discord": {
"baseline": "2022-02-05",
"port-version": 0
"port-version": 1
},
"slikenet": {
"baseline": "2021-06-07",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "96f05ba23a7dc5ba102ba451210b2c367669c1ad",
"version-semver": "1.10.2+3",
"port-version": 0
},
{
"git-tree": "13181536fae6181da65a2d2522a814fffb61bb83",
"version-semver": "1.9.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7d9b72be7b331d4451d11594b175b0e1f97a75ab",
"version-date": "2022-02-05",
"port-version": 1
},
{
"git-tree": "5e868f4817878ec1c9686ab467b60f8086c50a00",
"version-date": "2022-02-05",