Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alsey Coleman Miller <alseycmiller@gmail.com>
To: buildroot@buildroot.org
Cc: Michael Fischer <mf@go-sys.de>,
	Alsey Coleman Miller <alseycmiller@gmail.com>
Subject: [Buildroot] [PATCH 2/8] package/plutosvg: new package
Date: Sun, 16 Aug 2026 15:18:24 -0400	[thread overview]
Message-ID: <20260816191830.533747-3-alseycmiller@gmail.com> (raw)
In-Reply-To: <20260816191830.533747-1-alseycmiller@gmail.com>

plutosvg is a small SVG rendering library built on plutovg.

PLUTOSVG_ENABLE_FREETYPE is on because the FreeType integration is what
provides OpenType-SVG rendering - the hooks FreeType calls for the SVG
glyphs in a colour emoji font - which is what consumers of this library
generally want it for.

Signed-off-by: Alsey Coleman Miller <alseycmiller@gmail.com>
---
 DEVELOPERS                     |  1 +
 package/Config.in              |  1 +
 package/plutosvg/Config.in     | 10 ++++++++++
 package/plutosvg/plutosvg.hash |  3 +++
 package/plutosvg/plutosvg.mk   | 18 ++++++++++++++++++
 5 files changed, 33 insertions(+)
 create mode 100644 package/plutosvg/Config.in
 create mode 100644 package/plutosvg/plutosvg.hash
 create mode 100644 package/plutosvg/plutosvg.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 5e39d38fc9..56b01fa5cc 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -170,6 +170,7 @@ F:	package/xen/
 
 N:	Alsey Coleman Miller <alseycmiller@gmail.com>
 F:	package/liblc3/
+F:	package/plutosvg/
 F:	package/plutovg/
 
 N:	Alvaro G. M <alvaro.gamez@hazent.com>
diff --git a/package/Config.in b/package/Config.in
index d98705e981..5e1601036c 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/plutosvg/Config.in"
 	source "package/plutovg/Config.in"
 	source "package/psplash/Config.in"
 	source "package/sdl/Config.in"
diff --git a/package/plutosvg/Config.in b/package/plutosvg/Config.in
new file mode 100644
index 0000000000..613b1b8ba6
--- /dev/null
+++ b/package/plutosvg/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PLUTOSVG
+	bool "plutosvg"
+	select BR2_PACKAGE_FREETYPE
+	select BR2_PACKAGE_PLUTOVG
+	help
+	  plutosvg is a small SVG rendering library built on plutovg. It
+	  is built with the FreeType integration enabled, which is what
+	  provides OpenType-SVG (colour emoji) rendering.
+
+	  https://github.com/sammycage/plutosvg
diff --git a/package/plutosvg/plutosvg.hash b/package/plutosvg/plutosvg.hash
new file mode 100644
index 0000000000..fb6c210e93
--- /dev/null
+++ b/package/plutosvg/plutosvg.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  49d5cfe772d3aa10cd4879f2f6e189f5083c08e4c8ea01bf3d5b87c97dfca7d2  plutosvg-0.0.8.tar.gz
+sha256  a55d1e78eaf75779c336b4ba061e74aae56a21195d234474fb24a398935d6ce1  LICENSE
diff --git a/package/plutosvg/plutosvg.mk b/package/plutosvg/plutosvg.mk
new file mode 100644
index 0000000000..17142a1eb4
--- /dev/null
+++ b/package/plutosvg/plutosvg.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# plutosvg
+#
+################################################################################
+
+PLUTOSVG_VERSION = 0.0.8
+PLUTOSVG_SITE = $(call github,sammycage,plutosvg,v$(PLUTOSVG_VERSION))
+PLUTOSVG_LICENSE = MIT
+PLUTOSVG_LICENSE_FILES = LICENSE
+PLUTOSVG_INSTALL_STAGING = YES
+PLUTOSVG_DEPENDENCIES = host-pkgconf freetype plutovg
+
+PLUTOSVG_CONF_OPTS = \
+	-DPLUTOSVG_ENABLE_FREETYPE=ON \
+	-DPLUTOSVG_BUILD_EXAMPLES=OFF
+
+$(eval $(cmake-package))
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2026-08-16 19:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-16 19:18 [Buildroot] [PATCH 0/8] package/sdl3*: complete the SDL3 family Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 1/8] package/plutovg: new package Alsey Coleman Miller
2026-08-16 19:18 ` Alsey Coleman Miller [this message]
2026-08-16 19:18 ` [Buildroot] [PATCH 3/8] package/sdl3: add ALSA and test program options, follow dbus Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 4/8] package/sdl3_image: bump to version 3.4.4 Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 5/8] package/sdl3_ttf: do not build the samples or install man pages Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 6/8] package/sdl3_ttf: build plutosvg support when available Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 7/8] package/sdl3_mixer: new package Alsey Coleman Miller
2026-08-16 19:18 ` [Buildroot] [PATCH 8/8] package/sdl3_net: " Alsey Coleman Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260816191830.533747-3-alseycmiller@gmail.com \
    --to=alseycmiller@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=mf@go-sys.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox