summaryrefslogtreecommitdiff
path: root/gnu/packages/cpp.scm
diff options
context:
space:
mode:
authorSergio Pastor Pérez <sergio.pastorperez@outlook.es>2025-03-19 18:00:01 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2025-03-26 21:47:28 +0100
commitd1fc0b5840ddd987f8a0941d3888842051070a1c (patch)
tree9c4403201372cc355edf822cd2bdb473fb5ba528 /gnu/packages/cpp.scm
parent3eea6dbebbe41ffd1f6b7355447e427209334e13 (diff)
gnu: Add lunasvg.
* gnu/packages/cpp.scm (lunasvg): New variable. Change-Id: I77b7943e26e4e676a1575e3e33305f6f4476b401 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages/cpp.scm')
-rw-r--r--gnu/packages/cpp.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 7e75bd359ac..30de21a214d 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -547,6 +547,32 @@ strings, configuration, bit streams, threading, translation, and cross-platform
operating system functions.")
(license license:zlib)))
+(define-public lunasvg
+ (package
+ (name "lunasvg")
+ (version "3.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sammycage/lunasvg")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "14ppk3k6sdbf3lwhv2gjqy32vwa7ck9jcj9xfk0fxwfqbvbp6608"))))
+ (build-system cmake-build-system)
+ (inputs (list plutovg))
+ (arguments
+ '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")
+ #:tests? #f)) ;No tests.
+ (home-page "https://github.com/sammycage/lunasvg")
+ (synopsis "SVG rendering and manipulation library in C++")
+ (description
+ "LunaSVG is an SVG rendering library in C++, designed to be
+lightweight and portable, offering efficient rendering and manipulation of
+Scalable Vector Graphics (SVG) files.")
+ (license license:expat)))
+
(define-public rttr
(package
(name "rttr")