Date: Wed, 8 Jan 2025 19:29:13 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ff31e477ff37 - main - graphics/plutosvg: New port: Tiny SVG rendering library in C Message-ID: <202501081929.508JTDpv057049@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff31e477ff37005c2af30d71087e80c689e7c019 commit ff31e477ff37005c2af30d71087e80c689e7c019 Author: Älven <alster@vinterdalen.se> AuthorDate: 2025-01-08 14:01:59 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2025-01-08 14:01:59 +0000 graphics/plutosvg: New port: Tiny SVG rendering library in C PR: 283635 --- graphics/Makefile | 1 + graphics/plutosvg/Makefile | 31 +++++++++++++++++++++++++++++++ graphics/plutosvg/distinfo | 3 +++ graphics/plutosvg/pkg-descr | 4 ++++ graphics/plutosvg/pkg-plist | 6 ++++++ 5 files changed, 45 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 974f6dcda946..b895b788c024 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -840,6 +840,7 @@ SUBDIR += plantuml SUBDIR += plasma-kmod SUBDIR += plotutils + SUBDIR += plutosvg SUBDIR += plutovg SUBDIR += png SUBDIR += png++ diff --git a/graphics/plutosvg/Makefile b/graphics/plutosvg/Makefile new file mode 100644 index 000000000000..4a7cdcfe328c --- /dev/null +++ b/graphics/plutosvg/Makefile @@ -0,0 +1,31 @@ +PORTNAME= plutosvg +DISTVERSIONPREFIX= v +DISTVERSION= 0.0.4 +CATEGORIES= graphics + +MAINTAINER= alster@vinterdalen.se +COMMENT= Tiny SVG rendering library in C +WWW= https://github.com/sammycage/plutosvg/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libplutovg.so:graphics/plutovg + +USES= cpe meson pkgconfig +CPE_VENDOR= sammycage +USE_GITHUB= yes +GH_ACCOUNT= sammycage +USE_LDCONFIG= yes + +PLIST_SUB= SOVERSION=${DISTVERSION} + +OPTIONS_DEFINE= FREETYPE STATIC +OPTIONS_DEFAULT= FREETYPE +OPTIONS_SUB= yes + +FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 +FREETYPE_MESON_ENABLED= freetype +STATIC_MESON_ON= -Ddefault_library=both + +.include <bsd.port.mk> diff --git a/graphics/plutosvg/distinfo b/graphics/plutosvg/distinfo new file mode 100644 index 000000000000..d783f3255b14 --- /dev/null +++ b/graphics/plutosvg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736307612 +SHA256 (sammycage-plutosvg-v0.0.4_GH0.tar.gz) = 1fd07a15f701a045afa8cb3d2709709180b0d27edbb8f366322c74084684d215 +SIZE (sammycage-plutosvg-v0.0.4_GH0.tar.gz) = 113695 diff --git a/graphics/plutosvg/pkg-descr b/graphics/plutosvg/pkg-descr new file mode 100644 index 000000000000..77e493791a3f --- /dev/null +++ b/graphics/plutosvg/pkg-descr @@ -0,0 +1,4 @@ +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 000000000000..8440b1e15814 --- /dev/null +++ b/graphics/plutosvg/pkg-plist @@ -0,0 +1,6 @@ +include/plutosvg/plutosvg.h +%%STATIC%%lib/libplutosvg.a +lib/libplutosvg.so +lib/libplutosvg.so.0 +lib/libplutosvg.so.%%SOVERSION%% +libdata/pkgconfig/plutosvg.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501081929.508JTDpv057049>