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

[mailio] correct hint #23799

Merged
merged 10 commits into from
Apr 5, 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
8 changes: 3 additions & 5 deletions ports/mailio/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,18 @@ vcpkg_from_github(
HEAD_REF master
)

string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
OPTIONS
-DMAILIO_BUILD_DOCUMENTATION=OFF
-DMAILIO_BUILD_EXAMPLES=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
vcpkg_cmake_config_fixup(
CONFIG_PATH share/mailio/cmake
)

vcpkg_fixup_pkgconfig()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
LilyWangLL marked this conversation as resolved.
Show resolved Hide resolved
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
2 changes: 1 addition & 1 deletion ports/mailio/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mailio",
"version": "0.21.0",
"port-version": 1,
"port-version": 2,
"maintainers": "Tomislav Karastojković <contact@alepho.com>",
"description": "mailio is a cross platform C++ library for MIME format and SMTP, POP3 and IMAP protocols. It is based on the standard C++ 17 and Boost library.",
"homepage": "https://github.com/karastojko/mailio",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4334,7 +4334,7 @@
},
"mailio": {
"baseline": "0.21.0",
"port-version": 1
"port-version": 2
},
"mapbox-geojson-cpp": {
"baseline": "0.5.1",
Expand Down
7 changes: 6 additions & 1 deletion versions/m-/mailio.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"versions": [
{
"git-tree": "80186942edc09cad3c911ebbc6dd77d30af68502",
"git-tree": "a9f20b309b2d9f68c5e10eb193ef19c3c51a3faa",
"version": "0.21.0",
"port-version": 2
},
{
"git-tree": "f0fde0f6599aacd2b890c94326f504bf2af8f642",
"version": "0.21.0",
"port-version": 1
},
Expand Down