Date: Wed, 8 Jan 2025 19:53:22 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: b6ab2130b39d - main - graphics/lunasvg: New port: SVG rendering and manipulation library in C++ Message-ID: <202501081953.508JrMus010993@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=b6ab2130b39d286f2613aa6df0a07d1922998265 commit b6ab2130b39d286f2613aa6df0a07d1922998265 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/lunasvg: New port: SVG rendering and manipulation library in C++ PR: 256553 --- graphics/Makefile | 1 + graphics/lunasvg/Makefile | 28 ++++++++++++++++++++++++++++ graphics/lunasvg/distinfo | 3 +++ graphics/lunasvg/pkg-descr | 13 +++++++++++++ graphics/lunasvg/pkg-plist | 6 ++++++ 5 files changed, 51 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index b895b788c024..5afffe672f1c 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -568,6 +568,7 @@ SUBDIR += linux-rl9-webp SUBDIR += lua-gd SUBDIR += luminance-qt5 + SUBDIR += lunasvg SUBDIR += lux SUBDIR += lximage-qt SUBDIR += magnum diff --git a/graphics/lunasvg/Makefile b/graphics/lunasvg/Makefile new file mode 100644 index 000000000000..d7269743f852 --- /dev/null +++ b/graphics/lunasvg/Makefile @@ -0,0 +1,28 @@ +PORTNAME= lunasvg +DISTVERSIONPREFIX= v +DISTVERSION= 3.1.0 +CATEGORIES= graphics + +MAINTAINER= alster@vinterdalen.se +COMMENT= SVG rendering and manipulation library in C++ +WWW= https://github.com/sammycage/lunasvg/ + +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= STATIC +OPTIONS_SUB= yes + +STATIC_MESON_ON= -Ddefault_library=both + +.include <bsd.port.mk> diff --git a/graphics/lunasvg/distinfo b/graphics/lunasvg/distinfo new file mode 100644 index 000000000000..ed9057697ca5 --- /dev/null +++ b/graphics/lunasvg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1735247370 +SHA256 (sammycage-lunasvg-v3.1.0_GH0.tar.gz) = 2e05791bcc7c30c77efc4fee23557c5c4c9ccd4cf626a3167c0b4a4a316ae2b6 +SIZE (sammycage-lunasvg-v3.1.0_GH0.tar.gz) = 53671 diff --git a/graphics/lunasvg/pkg-descr b/graphics/lunasvg/pkg-descr new file mode 100644 index 000000000000..885d5b3a4cff --- /dev/null +++ b/graphics/lunasvg/pkg-descr @@ -0,0 +1,13 @@ +LunaSVG is an SVG rendering library in C++, designed to be lightweight and +portable, offering efficient rendering and manipulation of Scalable Vector +Graphics (SVG) files. + +LunaSVG supports nearly all graphical features outlined in the SVG 1.1 and SVG +1.2 Tiny specifications. The primary exceptions are animation, filters, and +scripts. As LunaSVG is designed for static rendering, animation is unlikely to +be supported in the future. However, support for filters may be added. It +currently handles a wide variety of elements, including: + +<a> <circle> <clipPath> <defs> <ellipse> <g> <image> <line> <linearGradient> +<marker> <mask> <path> <pattern> <polygon> <polyline> <radialGradient> <rect> +<stop> <style> <svg> <symbol> <text> <tspan> <use> diff --git a/graphics/lunasvg/pkg-plist b/graphics/lunasvg/pkg-plist new file mode 100644 index 000000000000..d5444cb5e084 --- /dev/null +++ b/graphics/lunasvg/pkg-plist @@ -0,0 +1,6 @@ +include/lunasvg/lunasvg.h +%%STATIC%%lib/liblunasvg.a +lib/liblunasvg.so +lib/liblunasvg.so.3 +lib/liblunasvg.so.%%SOVERSION%% +libdata/pkgconfig/lunasvg.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501081953.508JrMus010993>