Skip to content

Commit

Permalink
[minio-cpp] Update to 0.2.0 (microsoft#37990)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobalicek authored Apr 5, 2024
1 parent 483e777 commit 8d8cec2
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 27 deletions.
42 changes: 21 additions & 21 deletions ports/minio-cpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO minio/minio-cpp
REF v0.1.1
SHA512 88bd07688f27ca1b1cd7cba592ffe13e08619f0a1f8aa11a37276e455e1dcf025c347452819980452d67e6e4899af11e8f7b1662dc05a87db03000e876d1155b
HEAD_REF main
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DBUILD_DOC=OFF
-DBUILD_EXAMPLES=OFF
)

vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO minio/minio-cpp
REF "v${VERSION}"
SHA512 543dc1ab5bc23cdd5e2ea18c75280ed910a0336e3ab09627849afc256711db8e31885032a4bfa67420cb98db08ee8a4ee0852fe36b875ff4f7784fcf4353e044
HEAD_REF main
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
)

vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME miniocpp CONFIG_PATH "lib/cmake/miniocpp")

vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
8 changes: 4 additions & 4 deletions ports/minio-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "minio-cpp",
"version": "0.1.1",
"port-version": 1,
"version": "0.2.0",
"description": "The MinIO C++ Client SDK provides simple APIs to access any Amazon S3 compatible object storage",
"homepage": "https://github.com/minio/minio-cpp",
"license": "Apache-2.0",
"supports": "!windows & !uwp",
"supports": "!uwp",
"dependencies": [
"curlpp",
{
Expand All @@ -24,6 +23,7 @@
{
"name": "vcpkg-cmake-config",
"host": true
}
},
"zlib"
]
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5729,8 +5729,8 @@
"port-version": 0
},
"minio-cpp": {
"baseline": "0.1.1",
"port-version": 1
"baseline": "0.2.0",
"port-version": 0
},
"miniply": {
"baseline": "2022-09-15",
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/minio-cpp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d4f8bdf76e76a43924ef2ffeeef1fc76ffc59035",
"version": "0.2.0",
"port-version": 0
},
{
"git-tree": "0c6bcc87e2a8548708c11f3e7c3148f1004d3146",
"version": "0.1.1",
Expand Down

0 comments on commit 8d8cec2

Please sign in to comment.