-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [new port] minio-cpp v0.0.1 * fix with vcpkg x-add-version --all * Update version database * fix deprecated functions * Update version database * Update ports/minio-cpp/portfile.cmake Co-authored-by: JonLiu1993 <[email protected]> * minio-cpp:x64-osx=fail * Update version database * add patch file * Update version database * Revert "minio-cpp:x64-osx=fail" This reverts commit e296a67. * we still want to install pkgconfig file * fix version Co-authored-by: [email protected] <[email protected]> Co-authored-by: JonLiu1993 <[email protected]> Co-authored-by: nicole mazzuca <[email protected]>
- Loading branch information
1 parent
f596d16
commit 044f9b8
Showing
5 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 6df202c..98eeeb0 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -114,6 +114,6 @@ else (DOXYGEN_FOUND) | ||
message("Doxygen need to be installed to generate the doxygen documentation") | ||
endif (DOXYGEN_FOUND) | ||
|
||
configure_file(miniocpp.pc.in miniocpp.pc @ONLY) | ||
-install(FILES ${CMAKE_BINARY_DIR}/miniocpp.pc DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig) | ||
+install(FILES ${CMAKE_BINARY_DIR}/miniocpp.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO minio/minio-cpp | ||
REF 0847e56f31e13d32c924029d5ffaa865f8396462 | ||
SHA512 47817c8acc92060afca5ebd7c9bc7c9a9e09a50046180d7d3d67993f207d295c90e491417702ebb1ab2b0a6e85a5fcc334054ce4f6d542cb42c3675b5aed1c3f | ||
HEAD_REF main | ||
PATCHES | ||
fix_cmake_file.patch | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
-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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "minio-cpp", | ||
"version-date": "2022-01-03", | ||
"description": "MinIO C++ Client SDK for Amazon S3 Compatible Cloud Storage", | ||
"supports": "!uwp", | ||
"dependencies": [ | ||
"curlpp", | ||
"openssl", | ||
"pugixml", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "0b0fe1b9353fd016b3f2e3212ae30a7a82b71ceb", | ||
"version-date": "2022-01-03", | ||
"port-version": 0 | ||
} | ||
] | ||
} |