guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

131/334: gnu: Add libthai.


From: guix-commits
Subject: 131/334: gnu: Add libthai.
Date: Sat, 15 Aug 2020 16:26:44 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit 34f02f9e0fc1a75be9bc47f68405b2d00d6b971d
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Sat Jul 11 12:29:32 2020 -0400

    gnu: Add libthai.
    
    * gnu/packages/gtk.scm (libthai): New variable.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 gnu/packages/gtk.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 9b502d1..7aa3284 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -264,6 +264,38 @@ representing trie.  Trie is a kind of digital search 
tree.")
     (home-page "https://linux.thai.net/~thep/datrie/datrie.html";)
     (license license:lgpl2.1+)))
 
+(define-public libthai
+  (package
+    (name "libthai")
+    (version "0.1.28")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://linux.thai.net/pub/thailinux/software/";
+                       "libthai/libthai-" version ".tar.xz"))
+       (sha256
+        (base32 "04g93bgxrcnay9fglpq2lj9nr7x1xh06i60m7haip8as9dxs3q7z"))))
+    (build-system gnu-build-system)
+    (outputs '("out" "doc"))
+    (arguments
+     `(#:configure-flags
+       (list
+        (string-append "--with-html-docdir="
+                       (assoc-ref %outputs "doc")
+                       "/share/doc/libthai/html"))))
+    (native-inputs
+     `(("doxygen" ,doxygen)
+       ("pkg-config" ,pkg-config)))
+    (propagated-inputs
+     `(("datrie" ,libdatrie)))
+    (synopsis "Thai language support library")
+    (description "LibThai is a set of Thai language support routines aimed to
+ease developers’ tasks to incorporate Thai language support in their
+applications.")
+    (home-page "https://linux.thai.net/projects/libthai";)
+    (license license:lgpl2.1+)))
+
 (define-public pango
   (package
    (name "pango")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]