From c9a99fd89a30d092bd2fd23755ef322181c929b7 Mon Sep 17 00:00:00 2001 From: bentley Date: Mon, 1 Jun 2026 10:07:29 +0000 Subject: [PATCH] Import plutosvg-0.0.8. PlutoSVG is a compact and efficient SVG rendering library written in C. It is specifically designed for parsing and rendering SVG documents embedded in OpenType fonts, providing an optimal balance between speed and minimal memory usage. It is also suitable for rendering scalable icons. from Matthew/"fiddle"; thanks! previous version ok jtt@ --- graphics/plutosvg/Makefile | 22 ++++++++++++++++++++++ graphics/plutosvg/distinfo | 2 ++ graphics/plutosvg/pkg/DESCR | 5 +++++ graphics/plutosvg/pkg/PLIST | 10 ++++++++++ 4 files changed, 39 insertions(+) create mode 100644 graphics/plutosvg/Makefile create mode 100644 graphics/plutosvg/distinfo create mode 100644 graphics/plutosvg/pkg/DESCR create mode 100644 graphics/plutosvg/pkg/PLIST diff --git a/graphics/plutosvg/Makefile b/graphics/plutosvg/Makefile new file mode 100644 index 00000000000..9716500097b --- /dev/null +++ b/graphics/plutosvg/Makefile @@ -0,0 +1,22 @@ +COMMENT = tiny SVG rendering library in C + +GH_ACCOUNT = sammycage +GH_PROJECT = plutosvg +GH_TAGNAME = v0.0.8 + +CATEGORIES = devel graphics + +SHARED_LIBS += plutosvg 0.0 # 0.0 + +# MIT +PERMIT_PACKAGE = Yes + +MODULES = devel/cmake + +WANTLIB = m plutovg + +LIB_DEPENDS = graphics/lunasvg + +CONFIGURE_ARGS = -DBUILD_SHARED_LIBS=ON + +.include diff --git a/graphics/plutosvg/distinfo b/graphics/plutosvg/distinfo new file mode 100644 index 00000000000..d79cadfe7fa --- /dev/null +++ b/graphics/plutosvg/distinfo @@ -0,0 +1,2 @@ +SHA256 (plutosvg-0.0.8.tar.gz) = SdXP53LTqhDNSHny9uGJ9Qg8COTI6gG/PVuHyX38p9I= +SIZE (plutosvg-0.0.8.tar.gz) = 116898 diff --git a/graphics/plutosvg/pkg/DESCR b/graphics/plutosvg/pkg/DESCR new file mode 100644 index 00000000000..1685f4f4617 --- /dev/null +++ b/graphics/plutosvg/pkg/DESCR @@ -0,0 +1,5 @@ +PlutoSVG is a compact and efficient SVG rendering library written +in C. It is specifically designed for parsing and rendering SVG +documents embedded in OpenType fonts, providing an optimal balance +between speed and minimal memory usage. It is also suitable for +rendering scalable icons. diff --git a/graphics/plutosvg/pkg/PLIST b/graphics/plutosvg/pkg/PLIST new file mode 100644 index 00000000000..2b1dd18fef6 --- /dev/null +++ b/graphics/plutosvg/pkg/PLIST @@ -0,0 +1,10 @@ +include/plutosvg/ +include/plutosvg/plutosvg-ft.h +include/plutosvg/plutosvg.h +lib/cmake/plutosvg/ +lib/cmake/plutosvg/plutosvgConfig.cmake +lib/cmake/plutosvg/plutosvgConfigVersion.cmake +lib/cmake/plutosvg/plutosvgTargets${MODCMAKE_BUILD_SUFFIX} +lib/cmake/plutosvg/plutosvgTargets.cmake +@lib lib/libplutosvg.so.${LIBplutosvg_VERSION} +lib/pkgconfig/plutosvg.pc