gnu: Add plutosvg.

* gnu/packages/cpp.scm (plutosvg): New variable.

Change-Id: I1c74a7a62605bd4b7b859fd4e7f33141a2e39012
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Andrew Wong 2025-11-02 19:09:39 -05:00 committed by Liliana Marie Prikler
parent 4c6e437777
commit 084df2fae0
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -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")