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

[oatpp-sqlite] port added #14107

Merged
merged 22 commits into from
Oct 30, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
2 changes: 1 addition & 1 deletion ports/oatpp-consul/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: oatpp-consul
Version: 1.1.0
Version: 1.2.0
Description: OAT++ Modern web framework consul module
Build-Depends: oatpp
Homepage: https://github.com/oatpp/oatpp-consul
6 changes: 3 additions & 3 deletions ports/oatpp-consul/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
set(OATPP_VERSION "1.1.0")
set(OATPP_VERSION "1.2.0")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO oatpp/oatpp-consul
REF e8da386f8f21bc416329aa1f72507ba710ac8d94 # 1.1.0
SHA512 69d159a8fb3887fdc0654598d14b3320d04bb91baff7113f7cf95394f28e29a3e78014c42d135825c17ecbaab456784b36983527161f8f694ee8b6f62aefee4e
REF c54ad810f245681dc25ba5e0ec48f19e7c85e1bd # 1.2.0
SHA512 5cf886b52af915bda0728ae9721adb155b5147c5b428ff02f5cbe932038d43e75fe5a221b16e3103ecffaed5fcdf39bf0e13157f79d8d4f2d7c74532b70566a2
HEAD_REF master
)

Expand Down
2 changes: 1 addition & 1 deletion ports/oatpp-curl/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: oatpp-curl
Version: 1.1.0
Version: 1.2.0
Description: Oat++ Modern web framework curl module to use libcurl as a RequestExecutor on the oatpp's ApiClient
Build-Depends: curl,oatpp
Homepage: https://github.com/oatpp/oatpp-curl
6 changes: 3 additions & 3 deletions ports/oatpp-curl/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
set(OATPP_VERSION "1.1.0")
set(OATPP_VERSION "1.2.0")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO oatpp/oatpp-curl
REF 7cf7a5acf7e79612598f38f4d7966ddbe498b846 # 1.1.0
SHA512 77f02e53c4a2d28c689169b1d0aad9f8e7f28c03c31e0512624cd51a6f2ddd3f863a6a48631fc560311015108263bcd31d6e1a7e092e8c45595ea50b00d51df3
REF b7c0507e286fbc55ccbbb4a2604f6c46d3a86525 # 1.2.0
SHA512 274aaf34733ab70b148182332db493157ed8c87e093d09bf7dcbd9c89034dab9a97f05ba0887459a8a0ed80b2c2248c253b1ff8c933e196a6ecee11546a4488b
HEAD_REF master
PATCHES "curl-submodule-no-pkg-config-in-vcpkg.patch"
)
Expand Down
2 changes: 1 addition & 1 deletion ports/oatpp-libressl/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: oatpp-libressl
Version: 1.1.0
Version: 1.2.0
Build-Depends: libressl, oatpp
Description: Oat++ libressl module providing secure server and client connection providers
Homepage: https://github.com/oatpp/oatpp-libressl
4 changes: 2 additions & 2 deletions ports/oatpp-libressl/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
set(OATPP_VERSION "1.1.0")
set(OATPP_VERSION "1.2.0")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

# get the source
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO oatpp/oatpp-libressl
REF 8a7f0f4449b9dbf63fb60fb892bd16a2f5fb0fab # 1.1.0
REF cd2e9a515131e5e7dc043c591e952e12cd63db2c # 1.2.0
SHA512 f6400e3d3976de1ab0d220f4c7bd84cbeafa6263671511a7ac113f855ad6a63470cab0571320d37ccd55a768ef9f3ca61adfa9066aadfd61bd00f5020c90777c
HEAD_REF master
PATCHES "libress-submodule-downgrade-required-libressl-version.patch"
Expand Down
2 changes: 1 addition & 1 deletion ports/oatpp-mbedtls/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: oatpp-mbedtls
Version: 1.1.0
Version: 1.2.0
Build-Depends: mbedtls, oatpp
Description: Oat++ Mbed TLS submodule providing secure server and client connection providers
Homepage: https://github.com/oatpp/oatpp-mbedtls
6 changes: 3 additions & 3 deletions ports/oatpp-mbedtls/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
set(OATPP_VERSION "1.1.0")
set(OATPP_VERSION "1.2.0")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO oatpp/oatpp-mbedtls
REF 847b9562ddcd40f1d2b340177028b3519fb1f58a # 1.1.0
SHA512 70559a33fb7a827714c353b158af8ef90fc5cd792e7f59bcf833ebd203874370e6f8f5b7a531497ea44d406cc515c42bfbef8d4f98e5e8074a141ba2ba78890b
REF b415a88d652cbb1f1cbbd9093345c961cbac4ec1 # 1.2.0
SHA512 08864932b20bc9c569eed052137d0eacafb2acd975d0ebacaa7430ae23a6e9ef7c4afb45d88178531a1f0af1a1d488087e9bc26a866f9a656c695d55b0c85ad3
HEAD_REF master
PATCHES find-mbedtls.patch
)
Expand Down
5 changes: 5 additions & 0 deletions ports/oatpp-sqlite/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Source: oatpp-sqlite
Version: 1.2.0
Description: OAT++ Modern web framework sqlite module
Build-Depends: oatpp
Homepage: https://github.com/oatpp/oatpp-sqlite
32 changes: 32 additions & 0 deletions ports/oatpp-sqlite/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
set(OATPP_VERSION "1.2.0")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO oatpp/oatpp-sqlite
REF 932a79f1db5a0dfd6955c8fd84dc7bd2e5962be1 # 1.2.0
SHA512 12004d9339d6debc86513f78d17f9a41bf29a60d41c084e0698044b49c549b10bd3ddea35a6b2eabf8de06da54394695797bb7972888f57fc2938f1596fe03a0
HEAD_REF master
)

if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
set(OATPP_BUILD_SHARED_LIBRARIES_OPTION "ON")
else()
set(OATPP_BUILD_SHARED_LIBRARIES_OPTION "OFF")
endif()
NancyLi1013 marked this conversation as resolved.
Show resolved Hide resolved

NancyLi1013 marked this conversation as resolved.
Show resolved Hide resolved
vcpkg_configure_cmake(
SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
OPTIONS
"-DOATPP_BUILD_TESTS:BOOL=OFF"
"-DCMAKE_CXX_FLAGS=-D_CRT_SECURE_NO_WARNINGS"
"-DBUILD_SHARED_LIBS:BOOL=${OATPP_BUILD_SHARED_LIBRARIES_OPTION}"
NancyLi1013 marked this conversation as resolved.
Show resolved Hide resolved
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/oatpp-sqlite-${OATPP_VERSION})
vcpkg_copy_pdbs()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
2 changes: 1 addition & 1 deletion ports/oatpp-swagger/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: oatpp-swagger
Version: 1.1.0
Version: 1.2.0
Description: Oat++ OpenApi (Swagger) UI submodule
Build-Depends: oatpp
Homepage: https://github.com/oatpp/oatpp-swagger
6 changes: 3 additions & 3 deletions ports/oatpp-swagger/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
set(OATPP_VERSION "1.1.0")
set(OATPP_VERSION "1.2.0")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO oatpp/oatpp-swagger
REF 7aa5ecb07bfbf9931aa7906247d8c8f59f35a4b4 # 1.1.0
SHA512 df1f61e69ad2a7a533bc2b2a78342edb6954ba77980cf941d22f09e86d2fe85073863061aec44ccd80f15b8ea70d5fc70024c806f85cddc6790331ee718ad8bc
REF d0495421914cc2f9ed0a4c625d215c3d140a339f # 1.2.0
SHA512 d6e7e495c5a9c8cefc8703758cbbd69767373edccaf8040963e950a033525af0491c950f5fa85b7fea03b0a2901d295368a2d67f9d7069f1bad856c8c1652bd4
HEAD_REF master
)

Expand Down
2 changes: 1 addition & 1 deletion ports/oatpp-websocket/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: oatpp-websocket
Version: 1.1.0
Version: 1.2.0
Description: Oat++ websocket module
Build-Depends: oatpp
Homepage: https://github.com/oatpp/oatpp-websocket
6 changes: 3 additions & 3 deletions ports/oatpp-websocket/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
set(OATPP_VERSION "1.1.0")
set(OATPP_VERSION "1.2.0")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO oatpp/oatpp-websocket
REF 41a0480fdd4cf8a076c9fbd79959be1156ecb204 # 1.1.0
SHA512 7237e6d94ebc4873ee9a3350b01f2a841f419dc8fbc917a51aebd2dcd89927e1a58816dc83040bb7da1cee36d81aba6cf17833c58831c8693fd1454021610908
REF 1ac81a1ae2588e9b21e4b9ecb93f7f30739fdcfe # 1.2.0
SHA512 db70052f4399300e2fd75f6dc7fb85b3084cc7ad4fba09340707c8465cfa3ea7f63f629581722912009d450d7951c0e0b04ffec9c24fa4dcdf0aaf429cff5593
HEAD_REF master
)

Expand Down
2 changes: 1 addition & 1 deletion ports/oatpp/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: oatpp
Version: 1.1.0
Version: 1.2.0
Description: Modern web framework
Homepage: https://github.com/oatpp/oatpp
6 changes: 3 additions & 3 deletions ports/oatpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
set(OATPP_VERSION "1.1.0")
set(OATPP_VERSION "1.2.0")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO oatpp/oatpp
REF 4427123bb3608a78806ebce654cfe74605a389bf # 1.0.0
SHA512 91f3b66d573b918836bb2190fbaa5579da0f5b93b4905ed44ec63db2e947c64fa1be00f14f4ce85ff1103ab59f79506abf6dfbfe7edf7176f2365613e7aef825
REF 2d8711307e23e9f022cbe2758c07ce4e44e8d31f # 1.2.0
SHA512 ae99467034360a4eb20a8a49e8ccd5e39ed9d71f9cd07d5b9bf2be0db7a7bff65415b0086de4ae267701c09f7b48fdf5d4d8ccb22f05fd41805232894b39b06c
HEAD_REF master
)

Expand Down