Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2025 19:15: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: 42814ac3bdbe - main - graphics/plutovg: New port: Tiny 2D vector graphics library in C
Message-ID:  <202501081915.508JFMnZ036957@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=42814ac3bdbe475075083886b572ba022884b456

commit 42814ac3bdbe475075083886b572ba022884b456
Author:     Älven <alster@vinterdalen.se>
AuthorDate: 2025-01-08 14:01:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-08 19:15:19 +0000

    graphics/plutovg: New port: Tiny 2D vector graphics library in C
    
    PR:             283629
---
 graphics/Makefile          |  1 +
 graphics/plutovg/Makefile  | 26 ++++++++++++++++++++++++++
 graphics/plutovg/distinfo  |  3 +++
 graphics/plutovg/pkg-descr | 10 ++++++++++
 graphics/plutovg/pkg-plist |  6 ++++++
 5 files changed, 46 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 0fe7405bbbd3..974f6dcda946 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -840,6 +840,7 @@
     SUBDIR += plantuml
     SUBDIR += plasma-kmod
     SUBDIR += plotutils
+    SUBDIR += plutovg
     SUBDIR += png
     SUBDIR += png++
     SUBDIR += png2html
diff --git a/graphics/plutovg/Makefile b/graphics/plutovg/Makefile
new file mode 100644
index 000000000000..06d88bbeda0c
--- /dev/null
+++ b/graphics/plutovg/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	plutovg
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.0.11
+CATEGORIES=	graphics
+
+MAINTAINER=	alster@vinterdalen.se
+COMMENT=	Tiny 2D vector graphics library in C
+WWW=		https://github.com/sammycage/plutovg/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=	cpe meson
+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/plutovg/distinfo b/graphics/plutovg/distinfo
new file mode 100644
index 000000000000..8f353997fa1a
--- /dev/null
+++ b/graphics/plutovg/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736306237
+SHA256 (sammycage-plutovg-v0.0.11_GH0.tar.gz) = f6c34ff2594566e1e7698098653b853cdbc77fafe96021300e65be9d16764f64
+SIZE (sammycage-plutovg-v0.0.11_GH0.tar.gz) = 228043
diff --git a/graphics/plutovg/pkg-descr b/graphics/plutovg/pkg-descr
new file mode 100644
index 000000000000..974385b694c7
--- /dev/null
+++ b/graphics/plutovg/pkg-descr
@@ -0,0 +1,10 @@
+PlutoVG is a standalone 2D vector graphics library in C.
+
+Features:
+
+- Path Filling, Stroking and Dashing
+- Soild, Gradient and Texture Paints
+- Fonts and Texts
+- Clipping and Compositing
+- Transformations
+- Images
diff --git a/graphics/plutovg/pkg-plist b/graphics/plutovg/pkg-plist
new file mode 100644
index 000000000000..a234f2577dbe
--- /dev/null
+++ b/graphics/plutovg/pkg-plist
@@ -0,0 +1,6 @@
+include/plutovg/plutovg.h
+%%STATIC%%lib/libplutovg.a
+lib/libplutovg.so
+lib/libplutovg.so.0
+lib/libplutovg.so.%%SOVERSION%%
+libdata/pkgconfig/plutovg.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501081915.508JFMnZ036957>