[libsigcpp] Update to 3.8.1 (#51988)

This commit is contained in:
Weihang Ding 2026-05-27 03:33:10 +08:00 committed by GitHub
parent 7042102514
commit 00efbd2d33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 35 additions and 30 deletions

View File

@ -1,28 +1,28 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libsigcplusplus/libsigcplusplus
REF "${VERSION}"
SHA512 8fc90594fe161a4fd82b88fe4b0cb5b667d61712dae47982ba569775b4a855e03d4b30d3ba232f96e6a98f87473f7c9d4948b7a17a3f9ca2da547f95b6f91a40
HEAD_REF master
PATCHES
disable_tests_enable_static_build.patch
fix-shared-windows-build.patch
fix_include_path.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()
vcpkg_cmake_config_fixup(PACKAGE_NAME sigc++-3 CONFIG_PATH lib/cmake/sigc++-3)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/sigc++config.h" "#ifdef SIGC_DLL" "#if 1")
else()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/sigc++config.h" "#ifdef SIGC_DLL" "#if 0")
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libsigcplusplus/libsigcplusplus
REF "${VERSION}"
SHA512 39c63131fdde701c08accc0bc318435fba65a01593f97d6fa61ad356a6a3441610810107fb7aded7b3ef48e34a603e513a43cf8c36a57d2286f54d41ead412c6
HEAD_REF master
PATCHES
disable_tests_enable_static_build.patch
fix-shared-windows-build.patch
fix_include_path.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()
vcpkg_cmake_config_fixup(PACKAGE_NAME sigc++-3 CONFIG_PATH lib/cmake/sigc++-3)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/sigc++config.h" "#ifdef SIGC_DLL" "#if 1")
else()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/sigc++config.h" "#ifdef SIGC_DLL" "#if 0")
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,6 @@
{
"name": "libsigcpp",
"version": "3.8.0",
"version": "3.8.1",
"description": "Typesafe callback framework for C++",
"homepage": "https://libsigcplusplus.github.io/libsigcplusplus/",
"license": "LGPL-3.0-or-later",

View File

@ -5609,7 +5609,7 @@
"port-version": 0
},
"libsigcpp": {
"baseline": "3.8.0",
"baseline": "3.8.1",
"port-version": 0
},
"libslirp": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "123e064e4cdd79ba500422c0117971bcf812edb3",
"version": "3.8.1",
"port-version": 0
},
{
"git-tree": "ba1c1f9f00c4a0051889a9584c442251c2134dd0",
"version": "3.8.0",