[lunasvg] update to 3.3.0 (#45585)

This commit is contained in:
toge 2025-05-22 18:23:49 +09:00 committed by GitHub
parent 03211abc2a
commit 9ce77a3e5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 11 additions and 21 deletions

View File

@ -1,13 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 08cee28..b72d704 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ set(LUNASVG_VERSION_MICRO 1)
project(lunasvg LANGUAGES CXX VERSION ${LUNASVG_VERSION_MAJOR}.${LUNASVG_VERSION_MINOR}.${LUNASVG_VERSION_MICRO})
-find_package(plutovg 0.0.4 QUIET)
+find_package(plutovg 1.0.0 QUIET)
if(NOT plutovg_FOUND)
add_subdirectory(plutovg)
endif()

View File

@ -2,23 +2,22 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sammycage/lunasvg
REF "v${VERSION}"
SHA512 6ea8ef74a18047e2714aacc6c162c42519246c38061290053461e7c5c0922234534a031bdb84eaff7bea46da4d8edd1e3cdd00d710c066600c9024fa2a134a03
SHA512 8a6516968cb725655cb1e8f162057a711261d20d6a090e47bf0983f961e73e215d8869817d3815f76a73c5cde72bb5fed8abea1da3fd45ed9c9a672a42c5a85a
HEAD_REF master
PATCHES
# temporary patch. It should be removed once the new version of lunasvg is released.
fix-plutovg.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCMAKE_REQUIRE_FIND_PACKAGE_plutovg=1
-DUSE_SYSTEM_PLUTOVG=ON
-DLUNASVG_BUILD_EXAMPLES=OFF
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/lunasvg)
vcpkg_fixup_pkgconfig()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/lunasvg/lunasvg.h" "defined(LUNASVG_BUILD_STATIC)" "1")

View File

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

View File

@ -5873,8 +5873,8 @@
"port-version": 0
},
"lunasvg": {
"baseline": "3.2.1",
"port-version": 1
"baseline": "3.3.0",
"port-version": 0
},
"luv": {
"baseline": "1.44.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "90fbeb062f5f43a4fdfd76d80b16495084f5e2b4",
"version": "3.3.0",
"port-version": 0
},
{
"git-tree": "e1e6ef5c64dc868a851d9d110d4daac385c97a8f",
"version": "3.2.1",