summaryrefslogtreecommitdiff
path: root/gnu/packages/cpp.scm
diff options
context:
space:
mode:
authorAndrew Wong <wongandj@runbox.com>2025-11-02 19:09:39 -0500
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2025-11-03 17:35:07 +0100
commit084df2fae0f5e30dcbb4b66fad5262df779deba2 (patch)
tree768a2b7320a2e92b5015885df74dc32a0543522d /gnu/packages/cpp.scm
parent4c6e437777ba5ebe5c5fbc6db48289075d9bbf98 (diff)
gnu: Add plutosvg.
* gnu/packages/cpp.scm (plutosvg): New variable. Change-Id: I1c74a7a62605bd4b7b859fd4e7f33141a2e39012 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages/cpp.scm')
-rw-r--r--gnu/packages/cpp.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 410542ab4f5..3474d4b5c5f 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -700,6 +700,33 @@ the name of the library itself, which is written in C++.")
(description "PlutoVG is a standalone 2D vector graphics library in C.")
(license license:expat)))
+(define-public plutosvg
+ (package
+ (name "plutosvg")
+ (version "0.0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sammycage/plutosvg")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0vj21y4sr98mb337sr2yrgzs8ipgrnhd23qk3c1gykdxwgiy94p0"))))
+ (build-system cmake-build-system)
+ (native-inputs (list plutovg))
+ (arguments
+ '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")
+ #:tests? #f)) ;No tests.
+ (home-page "https://github.com/sammycage/plutovg")
+ (synopsis "Tiny SVG rendering library in C")
+ (description
+ "PlutoSVG is a compact and efficient SVG rendering library written in C.
+It is specifically designed for parsing and rendering SVG documents embedded
+in OpenType fonts, providing an optimal balance between speed and minimal
+memory usage. It is also suitable for rendering scalable icons.")
+ (license license:expat)))
+
(define-public pystring
(package
(name "pystring")