Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[restclient-cpp] update to master #23005

Merged
merged 4 commits into from
Feb 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions ports/restclient-cpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,26 @@ endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mrtazz/restclient-cpp
REF 0.5.2
SHA512 f6acc6a3d5cb852d6e507463d94d2f6192a941f0c26fef7c674e9ff7753cf5474522052a2065774050d01af5c6d2a3b86398f43cd2e4f5d03abcaac9a21ef4b7
REF b782bd26539a3d1a8edcb6d8a3493b111f8fac66 #v2022-02-009
SHA512 992b2c067c7b672432a202fea6b5263ff51ca77facace5078077e77e57390d3ddcb99e0e20ad1a1595612efbb625d34f4d2cd8c4a2ac4bb33e3f9d5d28c2c579
HEAD_REF master
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCMAKE_DISABLE_FIND_PACKAGE_GTest=TRUE
-DCMAKE_DISABLE_FIND_PACKAGE_jsoncpp=TRUE
)

vcpkg_install_cmake()
vcpkg_cmake_install()

vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/restclient-cpp)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/restclient-cpp)

vcpkg_copy_pdbs()

# Remove includes in debug
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
14 changes: 11 additions & 3 deletions ports/restclient-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{
"name": "restclient-cpp",
"version-string": "0.5.2",
"port-version": 1,
"version-date": "2022-02-09",
"description": "Simple REST client for C++. It wraps libcurl for HTTP requests.",
"homepage": "https://code.mrtazz.com/restclient-cpp/",
"license": "MIT",
"dependencies": [
"curl"
"curl",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6081,8 +6081,8 @@
"port-version": 1
},
"restclient-cpp": {
"baseline": "0.5.2",
"port-version": 1
"baseline": "2022-02-09",
"port-version": 0
},
"restinio": {
"baseline": "0.6.14",
Expand Down
5 changes: 5 additions & 0 deletions versions/r-/restclient-cpp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7eeae27247c8a1e6f5dab2356cb94370aaabb7fc",
"version-date": "2022-02-09",
"port-version": 0
},
{
"git-tree": "ab5e52242e8403aa8b9b26a60baead129e2a1798",
"version-string": "0.5.2",
Expand Down