From f05366317baa39d2d65dee6c9ebca15c80c6f6ff Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Mon, 26 Aug 2024 10:04:51 +0200 Subject: [PATCH] [lunasvg] Update to 2.4.1 (#40598) --- ports/lunasvg/portfile.cmake | 7 +++++-- ports/lunasvg/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/l-/lunasvg.json | 5 +++++ 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ports/lunasvg/portfile.cmake b/ports/lunasvg/portfile.cmake index e8a244920c..bfddc37e42 100644 --- a/ports/lunasvg/portfile.cmake +++ b/ports/lunasvg/portfile.cmake @@ -2,7 +2,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO sammycage/lunasvg REF "v${VERSION}" - SHA512 05dec8310e04e6b2eeae265f9605446ce2da134b624951fa1dc4f7d3f16e62f5c5f3bfceae29f09111e2e22003310b6fba063945e75ba97e0cef82f7f31d4cae + SHA512 4c771c292d73d4a1c1498011fe8969b9f04a58853d2977c3ce4895d5ad6c1a282c8bfba5e4f1d045e56e0820e57a3a21d3cc0d178efe6ad73c82121aa75b1cdf HEAD_REF master PATCHES fix-cmake.patch @@ -19,8 +19,11 @@ vcpkg_cmake_install() vcpkg_copy_pdbs() vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-lunasvg) +if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") + vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/lunasvg.h" "defined(LUNASVG_BUILD_STATIC)" "1") +endif() + file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") -# Handle copyright vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/lunasvg/vcpkg.json b/ports/lunasvg/vcpkg.json index 1f1d662dfb..ab5d407ed6 100644 --- a/ports/lunasvg/vcpkg.json +++ b/ports/lunasvg/vcpkg.json @@ -1,6 +1,6 @@ { "name": "lunasvg", - "version": "2.4.0", + "version": "2.4.1", "description": "lunasvg is a standalone SVG rendering library in C++", "homepage": "https://github.com/sammycage/lunasvg", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index 09d2c4ad22..a420a7c256 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5577,7 +5577,7 @@ "port-version": 0 }, "lunasvg": { - "baseline": "2.4.0", + "baseline": "2.4.1", "port-version": 0 }, "luv": { diff --git a/versions/l-/lunasvg.json b/versions/l-/lunasvg.json index 34c0defa0b..96a51f1689 100644 --- a/versions/l-/lunasvg.json +++ b/versions/l-/lunasvg.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "666a55527b76f4e912f24bf671c4f81893f197fc", + "version": "2.4.1", + "port-version": 0 + }, { "git-tree": "e51e231d81dd1109cd6862f2541c62510f7e76a3", "version": "2.4.0",