[lunasvg] Update to 2.4.1 (#40598)

This commit is contained in:
Kai Pastor 2024-08-26 10:04:51 +02:00 committed by GitHub
parent 7d425a3502
commit f05366317b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 4 deletions

View File

@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO sammycage/lunasvg REPO sammycage/lunasvg
REF "v${VERSION}" REF "v${VERSION}"
SHA512 05dec8310e04e6b2eeae265f9605446ce2da134b624951fa1dc4f7d3f16e62f5c5f3bfceae29f09111e2e22003310b6fba063945e75ba97e0cef82f7f31d4cae SHA512 4c771c292d73d4a1c1498011fe8969b9f04a58853d2977c3ce4895d5ad6c1a282c8bfba5e4f1d045e56e0820e57a3a21d3cc0d178efe6ad73c82121aa75b1cdf
HEAD_REF master HEAD_REF master
PATCHES PATCHES
fix-cmake.patch fix-cmake.patch
@ -19,8 +19,11 @@ vcpkg_cmake_install()
vcpkg_copy_pdbs() vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-lunasvg) 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/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,6 +1,6 @@
{ {
"name": "lunasvg", "name": "lunasvg",
"version": "2.4.0", "version": "2.4.1",
"description": "lunasvg is a standalone SVG rendering library in C++", "description": "lunasvg is a standalone SVG rendering library in C++",
"homepage": "https://github.com/sammycage/lunasvg", "homepage": "https://github.com/sammycage/lunasvg",
"license": "MIT", "license": "MIT",

View File

@ -5577,7 +5577,7 @@
"port-version": 0 "port-version": 0
}, },
"lunasvg": { "lunasvg": {
"baseline": "2.4.0", "baseline": "2.4.1",
"port-version": 0 "port-version": 0
}, },
"luv": { "luv": {

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "666a55527b76f4e912f24bf671c4f81893f197fc",
"version": "2.4.1",
"port-version": 0
},
{ {
"git-tree": "e51e231d81dd1109cd6862f2541c62510f7e76a3", "git-tree": "e51e231d81dd1109cd6862f2541c62510f7e76a3",
"version": "2.4.0", "version": "2.4.0",