[Buildroot] [PATCH 1/8] package/plutovg: new package

Alsey Coleman Miller <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
plutovg is a standalone 2D vector graphics library providing path
filling and stroking, gradients and text rendering. It is the renderer
plutosvg is built on.

Examples are not built: they are demo programs that are never installed.

Signed-off-by: Alsey Coleman Miller <[email protected]>
---
 DEVELOPERS                   |  1 +
 package/Config.in            |  1 +
 package/plutovg/Config.in    |  7 +++++++
 package/plutovg/plutovg.hash |  3 +++
 package/plutovg/plutovg.mk   | 16 ++++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/plutovg/Config.in
 create mode 100644 package/plutovg/plutovg.hash
 create mode 100644 package/plutovg/plutovg.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 98c9ee55d3..5e39d38fc9 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -170,6 +170,7 @@ F:	package/xen/
 
 N:	Alsey Coleman Miller <[email protected]>
 F:	package/liblc3/
+F:	package/plutovg/
 
 N:	Alvaro G. M <[email protected]>
 F:	package/dcron/
diff --git a/package/Config.in b/package/Config.in
index 6058800682..d98705e981 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -350,6 +350,7 @@ comment "Graphic libraries"
 	source "package/mesa3d-headers/Config.in"
 	source "package/ocrad/Config.in"
 	source "package/ogre/Config.in"
+	source "package/plutovg/Config.in"
 	source "package/psplash/Config.in"
 	source "package/sdl/Config.in"
 	source "package/sdl_gfx/Config.in"
diff --git a/package/plutovg/Config.in b/package/plutovg/Config.in
new file mode 100644
index 0000000000..f452318198
--- /dev/null
+++ b/package/plutovg/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PLUTOVG
+	bool "plutovg"
+	help
+	  plutovg is a standalone 2D vector graphics library, providing
+	  path filling and stroking, gradients, and text rendering.
+
+	  https://github.com/sammycage/plutovg
diff --git a/package/plutovg/plutovg.hash b/package/plutovg/plutovg.hash
new file mode 100644
index 0000000000..95ef84fee3
--- /dev/null
+++ b/package/plutovg/plutovg.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  2b0d17a6e016f47b86f9c00e2cb82600041b1ea1f7d2a00c2d46ae542cbfed3c  plutovg-1.3.3.tar.gz
+sha256  a55d1e78eaf75779c336b4ba061e74aae56a21195d234474fb24a398935d6ce1  LICENSE
diff --git a/package/plutovg/plutovg.mk b/package/plutovg/plutovg.mk
new file mode 100644
index 0000000000..a77fac1c43
--- /dev/null
+++ b/package/plutovg/plutovg.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# plutovg
+#
+################################################################################
+
+PLUTOVG_VERSION = 1.3.3
+PLUTOVG_SITE = $(call github,sammycage,plutovg,v$(PLUTOVG_VERSION))
+PLUTOVG_LICENSE = MIT
+PLUTOVG_LICENSE_FILES = LICENSE
+PLUTOVG_INSTALL_STAGING = YES
+PLUTOVG_DEPENDENCIES = host-pkgconf
+
+PLUTOVG_CONF_OPTS = -DPLUTOVG_BUILD_EXAMPLES=OFF
+
+$(eval $(cmake-package))
-- 
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.