pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add nanosvg, a simple SVG parser, as a new dependency of wip/prusaslicer.
Module Name: pkgsrc-wip
Committed By: Paul Ripke <stix%stix.id.au@localhost>
Pushed By: stix
Date: Sun Jun 4 16:48:05 2023 +1000
Changeset: 96cacfbea75a51ea8456e6f2d34106f60eea4f06
Modified Files:
Makefile
Added Files:
nanosvg/DESCR
nanosvg/Makefile
nanosvg/PLIST
nanosvg/buildlink3.mk
nanosvg/distinfo
Log Message:
Add nanosvg, a simple SVG parser, as a new dependency of wip/prusaslicer.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=96cacfbea75a51ea8456e6f2d34106f60eea4f06
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
nanosvg/DESCR | 2 ++
nanosvg/Makefile | 18 ++++++++++++++++++
nanosvg/PLIST | 9 +++++++++
nanosvg/buildlink3.mk | 14 ++++++++++++++
nanosvg/distinfo | 5 +++++
6 files changed, 49 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 5b0b451077..3aaff64c13 100644
--- a/Makefile
+++ b/Makefile
@@ -2508,6 +2508,7 @@ SUBDIR+= nanomath
SUBDIR+= nanopack
SUBDIR+= nanoplot
SUBDIR+= nanostat
+SUBDIR+= nanosvg
SUBDIR+= naqsh-ttf
SUBDIR+= nary
SUBDIR+= natali
diff --git a/nanosvg/DESCR b/nanosvg/DESCR
new file mode 100644
index 0000000000..5b3a45093a
--- /dev/null
+++ b/nanosvg/DESCR
@@ -0,0 +1,2 @@
+NanoSVG is a simple stupid single-header-file SVG parser. The output of the
+parser is a list of cubic bezier shapes.
diff --git a/nanosvg/Makefile b/nanosvg/Makefile
new file mode 100644
index 0000000000..041fc7c936
--- /dev/null
+++ b/nanosvg/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME= nanosvg-20221222
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=fltk/}
+GITHUB_PROJECT= nanosvg
+GITHUB_TAG= fltk_2022-12-22
+
+MAINTAINER= stix%stix.id.au@localhost
+HOMEPAGE= https://github.com/fltk/nanosvg/
+COMMENT= Simple stupid single-header-file SVG parser
+LICENSE= zlib
+
+USE_LANGUAGES= c
+USE_TOOLS+= cmake
+USE_CMAKE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/nanosvg/PLIST b/nanosvg/PLIST
new file mode 100644
index 0000000000..ee0c0ffc5d
--- /dev/null
+++ b/nanosvg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+include/nanosvg/nanosvg.h
+include/nanosvg/nanosvgrast.h
+lib/cmake/NanoSVG/NanoSVGConfig.cmake
+lib/cmake/NanoSVG/NanoSVGConfigVersion.cmake
+lib/cmake/NanoSVG/NanoSVGTargets-noconfig.cmake
+lib/cmake/NanoSVG/NanoSVGTargets.cmake
+lib/libnanosvg.a
+lib/libnanosvgrast.a
diff --git a/nanosvg/buildlink3.mk b/nanosvg/buildlink3.mk
new file mode 100644
index 0000000000..0f225bfd93
--- /dev/null
+++ b/nanosvg/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= nanosvg
+
+.if !defined(NANOSVG_BUILDLINK3_MK)
+NANOSVG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.nanosvg+= nanosvg>=20221222
+BUILDLINK_DEPMETHOD.nanosvg?= build
+BUILDLINK_PKGSRCDIR.nanosvg?= ../../wip/nanosvg
+
+.endif # NANOSVG_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -nanosvg
diff --git a/nanosvg/distinfo b/nanosvg/distinfo
new file mode 100644
index 0000000000..af73112543
--- /dev/null
+++ b/nanosvg/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (nanosvg-20221222.tar.gz) = 06bb25af51f760cd77a08d263b8d7197e1a76a1ab17465df3d5dd9453d14b646
+SHA512 (nanosvg-20221222.tar.gz) = a9b62cdc54c1803907da8d3553a71451a5a19588b951c32e3765e9d620a1dacb618d768e4df8f3dbf507518a6ce8fcfde5d8e8f5edcfccc975c1ad57e3e7f22c
+Size (nanosvg-20221222.tar.gz) = 298209 bytes
Home |
Main Index |
Thread Index |
Old Index