Skip to content

Commit

Permalink
[nanosvg] Update (#36799)
Browse files Browse the repository at this point in the history
plus minor portfile changes.
  • Loading branch information
dg0yt committed Feb 17, 2024
1 parent c823fd3 commit 50e31cc
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
15 changes: 9 additions & 6 deletions ports/nanosvg/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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")
4 changes: 2 additions & 2 deletions ports/nanosvg/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5957,7 +5957,7 @@
"port-version": 3
},
"nanosvg": {
"baseline": "2022-12-04",
"baseline": "2023-12-29",
"port-version": 0
},
"nanovg": {
Expand Down
5 changes: 5 additions & 0 deletions versions/n-/nanosvg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6fbdab7bdd32d0755336f499d49f9a0f31e8fb36",
"version-date": "2023-12-29",
"port-version": 0
},
{
"git-tree": "f7dcf8d5f33ca5e4b44960f697c7b1196a658b89",
"version-date": "2022-12-04",
Expand Down

0 comments on commit 50e31cc

Please sign in to comment.