From 59681d99322c54992daf2fda406ea45c8a0c27db Mon Sep 17 00:00:00 2001 From: Jinwoo Sung <123284056+jwsung91@users.noreply.github.com> Date: Wed, 8 Jul 2026 04:56:02 +0900 Subject: [PATCH] [jwsung91-unilink] Update to v0.8.8 (#52743) --- ports/jwsung91-unilink/portfile.cmake | 15 ++++++++++++++- ports/jwsung91-unilink/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/j-/jwsung91-unilink.json | 5 +++++ 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ports/jwsung91-unilink/portfile.cmake b/ports/jwsung91-unilink/portfile.cmake index 8dc62cf805..7d0f57db7a 100644 --- a/ports/jwsung91-unilink/portfile.cmake +++ b/ports/jwsung91-unilink/portfile.cmake @@ -2,7 +2,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO jwsung91/unilink REF v${VERSION} - SHA512 76f6030ab4f3098d532ee6749c9164fd833ac1c18f8ffd52be937d29f25129745eefdd7e3b817221f251c8c056a18d8dbd5a8fc838d54dc7ad73f9a5fee2af42 + SHA512 9bab9e551955caf916349c554aea91fa64c75c8928bbf89947b9e47f162698373318aff42deefdb4169f8e47d794014317c5108e7416747b38f1e60fd01a75e0 ) string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" UNILINK_BUILD_SHARED) @@ -25,6 +25,19 @@ vcpkg_cmake_config_fixup( vcpkg_fixup_pkgconfig() +if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static") + foreach(_pc_file IN ITEMS + "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/unilink.pc" + "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/unilink.pc") + if(EXISTS "${_pc_file}") + file(READ "${_pc_file}" _unilink_pc_contents) + string(REGEX REPLACE "([ \\t]+)-lboost_system" "\\1" _unilink_pc_contents "${_unilink_pc_contents}") + string(REPLACE "-lboost_system" "" _unilink_pc_contents "${_unilink_pc_contents}") + file(WRITE "${_pc_file}" "${_unilink_pc_contents}") + endif() + endforeach() +endif() + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") diff --git a/ports/jwsung91-unilink/vcpkg.json b/ports/jwsung91-unilink/vcpkg.json index b13f9e39a9..b16029233d 100644 --- a/ports/jwsung91-unilink/vcpkg.json +++ b/ports/jwsung91-unilink/vcpkg.json @@ -1,6 +1,6 @@ { "name": "jwsung91-unilink", - "version": "0.8.2", + "version": "0.8.8", "description": "Unified, cross-platform async C++ library for Serial, TCP, UDP, and UDS", "homepage": "https://github.com/jwsung91/unilink", "license": "Apache-2.0", diff --git a/versions/baseline.json b/versions/baseline.json index f0d548d9f8..27ec3c0c3c 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4241,7 +4241,7 @@ "port-version": 0 }, "jwsung91-unilink": { - "baseline": "0.8.2", + "baseline": "0.8.8", "port-version": 0 }, "jwt-cpp": { diff --git a/versions/j-/jwsung91-unilink.json b/versions/j-/jwsung91-unilink.json index 8805600168..def5584f95 100644 --- a/versions/j-/jwsung91-unilink.json +++ b/versions/j-/jwsung91-unilink.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "cf620c818ac72767bda1abb183312a20560995d9", + "version": "0.8.8", + "port-version": 0 + }, { "git-tree": "5a1d1b70c7c61c9889939e8d70ed2c373fb3b208", "version": "0.8.2",