summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2014-10-07 11:14:39 -0500
committerEric Bavier <bavier@member.fsf.org>2014-10-07 16:37:12 -0500
commit5277dbb062913452c78d2ce64f0d4871c864edab (patch)
tree4f9b16e9224642f4ded14aac7d19d0bb30e0f02d
parentee69f85c7dd055eb20e61f188177f8ccd5c0df7a (diff)
downloadguix-5277dbb062913452c78d2ce64f0d4871c864edab.tar.gz
gnu: Add libspiro.
* gnu/packages/fontutils.scm (libspiro): New variable.
-rw-r--r--gnu/packages/fontutils.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 321c6dc516..9f0a79f46c 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -225,3 +225,24 @@ not \"jaggy\" like a bitmap, but smooth.  It can then be rendered at any
 resolution.")
     (license license:gpl2+)
     (home-page "http://potrace.sourceforge.net/")))
+
+(define-public libspiro
+  (package
+    (name "libspiro")
+    (version "20071029")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://sourceforge/libspiro/libspiro/"
+                          version "/libspiro_src-" version ".tar.bz2"))
+      (sha256
+       (base32
+        "1kylz8pvwnb85yya150r9i6mhbpzx38f32qy523qg3ylgd9b3zhy"))))
+    (build-system gnu-build-system)
+    (arguments `(#:tests? #f))          ;no tests
+    (synopsis "Clothoid to bezier conversion library")
+    (description
+     "Raph Levien's Spiro package as a library.  A mechanism for drawing
+smooth contours with constant curvature at the spline joins.")
+    (license license:gpl2+)
+    (home-page "http://libspiro.sourceforge.net/")))