[nanosvg] Update (#36799)

plus minor portfile changes.
This commit is contained in:
Kai Pastor 2024-02-17 10:18:24 +01:00 committed by GitHub
parent c823fd3e57
commit 50e31cc20e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 17 additions and 9 deletions

View File

@ -1,18 +1,21 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO memononen/nanosvg
REF 9da543e8329fdd81b64eb48742d8ccb09377aed1
SHA512 9c91df8ac67dbd1a920d5287c6d267c6163d28b6ff75899452ca49097bbe881655799d4b003e667422062d0b7e6aa6bd6bf4c3d941d0301cbc23c6459d8d25d7
REF 93ce879dc4c04a3ef1758428ec80083c38610b1f
SHA512 14ecaf11efd2f0b983847ded557557a2919cc04fc5e9748118cc0bd33fccae2688afc0dc182ebb8c0deb4b599c697f140185644a087c702fba1e6368f5a5b89c
HEAD_REF master
PATCHES fltk.patch # from fltk/nanosvg
PATCHES
fltk.patch # from fltk/nanosvg
)
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/NanoSVG PACKAGE_NAME NanoSVG)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/NanoSVG)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")

View File

@ -1,7 +1,7 @@
{
"name": "nanosvg",
"version-date": "2022-12-04",
"description": "NanoSVG is a simple stupid single-header-file SVG parse. The output of the parser is a list of cubic bezier shapes..",
"version-date": "2023-12-29",
"description": "NanoSVG is a simple stupid single-header-file SVG parser. It is accompanied by a simple SVG rasterizer.",
"homepage": "https://github.com/memononen/nanosvg",
"license": "Zlib",
"dependencies": [

View File

@ -5957,7 +5957,7 @@
"port-version": 3
},
"nanosvg": {
"baseline": "2022-12-04",
"baseline": "2023-12-29",
"port-version": 0
},
"nanovg": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6fbdab7bdd32d0755336f499d49f9a0f31e8fb36",
"version-date": "2023-12-29",
"port-version": 0
},
{
"git-tree": "f7dcf8d5f33ca5e4b44960f697c7b1196a658b89",
"version-date": "2022-12-04",