summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-09-09 11:56:57 +0000
committerobache <obache@pkgsrc.org>2013-09-09 11:56:57 +0000
commitb9f03638217a49087e2874dec1f5af96d5d38e5a (patch)
treed0f771b95a9d1d3a5beb4bd63981cb508e828055 /inputmethod
parent48edbfa80698c3fd66b122d1cab780de0fa3e7d4 (diff)
downloadpkgsrc-b9f03638217a49087e2874dec1f5af96d5d38e5a.tar.gz
Import ibus-libthai-0.1.0 as inputmethod/ibus-libthai.
IBus-LibThai is a Thai input method engine for IBus, based on the LibThai library. Currently, it provides 3 keyboard layouts internally: - Ketmanee - Pattachote - TIS-820.2538 (Thai XKB symbols are also supported.) The input method also filters out invalid input sequences with 3 levels of strictness: - Passthrough (no check) - Basic Check - Srict Check For applications that support surrounding text retrieval/deletion, it can also correct the invalid input sequences.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/ibus-libthai/DESCR17
-rw-r--r--inputmethod/ibus-libthai/Makefile25
-rw-r--r--inputmethod/ibus-libthai/PLIST6
-rw-r--r--inputmethod/ibus-libthai/distinfo5
4 files changed, 53 insertions, 0 deletions
diff --git a/inputmethod/ibus-libthai/DESCR b/inputmethod/ibus-libthai/DESCR
new file mode 100644
index 00000000000..2f05e43cec1
--- /dev/null
+++ b/inputmethod/ibus-libthai/DESCR
@@ -0,0 +1,17 @@
+IBus-LibThai is a Thai input method engine for IBus, based on the LibThai
+library.
+
+Currently, it provides 3 keyboard layouts internally:
+ - Ketmanee
+ - Pattachote
+ - TIS-820.2538
+(Thai XKB symbols are also supported.)
+
+The input method also filters out invalid input sequences with 3 levels of
+strictness:
+ - Passthrough (no check)
+ - Basic Check
+ - Srict Check
+
+For applications that support surrounding text retrieval/deletion,
+it can also correct the invalid input sequences.
diff --git a/inputmethod/ibus-libthai/Makefile b/inputmethod/ibus-libthai/Makefile
new file mode 100644
index 00000000000..406dfbca7ac
--- /dev/null
+++ b/inputmethod/ibus-libthai/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2013/09/09 11:56:57 obache Exp $
+#
+
+DISTNAME= ibus-libthai-0.1.0
+CATEGORIES= inputmethod
+MASTER_SITES= http://linux.thai.net/pub/thailinux/software/libthai/ \
+ ftp://linux.thai.net/pub/ThaiLinux/software/libthai/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://linux.thai.net/projects/ibus-libthai
+COMMENT= Thai imput method engine for IBus based on libthai library
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= pkg-config
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libthai+= libthai>=0.1.19
+.include "../../devel/libthai/buildlink3.mk"
+.include "../../inputmethod/ibus/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/ibus-libthai/PLIST b/inputmethod/ibus-libthai/PLIST
new file mode 100644
index 00000000000..423f09179d5
--- /dev/null
+++ b/inputmethod/ibus-libthai/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2013/09/09 11:56:57 obache Exp $
+libexec/ibus-engine-libthai
+libexec/ibus-setup-libthai
+share/ibus-libthai/icons/ibus-libthai.svg
+share/ibus/component/libthai.xml
+share/locale/th/LC_MESSAGES/ibus-libthai.mo
diff --git a/inputmethod/ibus-libthai/distinfo b/inputmethod/ibus-libthai/distinfo
new file mode 100644
index 00000000000..8c50309ccaf
--- /dev/null
+++ b/inputmethod/ibus-libthai/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/09/09 11:56:57 obache Exp $
+
+SHA1 (ibus-libthai-0.1.0.tar.xz) = b37b2c4fb01eb600c067218874c9e85a2bce7ba5
+RMD160 (ibus-libthai-0.1.0.tar.xz) = 9f36e633a24a0311194170272e070f853f40fe58
+Size (ibus-libthai-0.1.0.tar.xz) = 145112 bytes