summaryrefslogtreecommitdiff
path: root/app-dicts/gwaei
diff options
context:
space:
mode:
Diffstat (limited to 'app-dicts/gwaei')
-rw-r--r--app-dicts/gwaei/Manifest5
-rw-r--r--app-dicts/gwaei/gwaei-3.6.2.ebuild73
-rw-r--r--app-dicts/gwaei/metadata.xml25
3 files changed, 103 insertions, 0 deletions
diff --git a/app-dicts/gwaei/Manifest b/app-dicts/gwaei/Manifest
new file mode 100644
index 000000000000..56dc7c4559bd
--- /dev/null
+++ b/app-dicts/gwaei/Manifest
@@ -0,0 +1,5 @@
+DIST gwaei-3.6.2.tar.xz 547592 SHA256 9904e1755505f9a40cd7368e96e1eeb035c6c2f7ce14029cccb765f5b85986d7 SHA512 96876f7e15ff5e166dcd116e2286294b7b375e55723684e4e3dec31aba46d1c89ccd70007fc01cab97a5fd5e671ec073c3f69525ff7e68126851e587d4f20c3b WHIRLPOOL 9bec5d65af285291a7d916b3e5b75b6c36e438486b942ded402f59e9b59244578157917a5066828fd8e97f20372a02509dedd77d414f7744855fc63feabf8031
+EBUILD gwaei-3.6.2.ebuild 1340 SHA256 417222e83356529c67cc5a96fa2d0b650171f9e83c18fee5cd2e926d82e64525 SHA512 461fb40875e4ee90d69dbe9418c35f7ad123fed878fd32103c7f6810fd02efc5248c631580e9f228b8029206a00f93ca32c1c5a64d0e00e61d596055c00f8261 WHIRLPOOL b031414992fbeb49a901310e3b3104561c6e1cfbc58c796f0bcf0108aa6308d8897e972090dc3c0d9a9b531f6c3d6aaf64e2da70947da82be12807abbc8ab59b
+MISC ChangeLog 2945 SHA256 4b8d056ae594a50a4446287159e4a44a18ed7cfdf378237d3bc5b1206a4fce2c SHA512 7cd52e874d4facc8573a8c685c667ecc564ec9847e3db791d501eb0cd4b5dae54ba8701c49638e221dac56ec3b60effcc8be15a07a3723f518b6df02bebf5a7b WHIRLPOOL 31219464972ff24c378a4dd25c1c54d5234ab56f1e222bd3e4384325e9f5e55ca88246b04c42f153ef70d66748a547089590d8dec7124618d58531d762811d36
+MISC ChangeLog-2015 5433 SHA256 8d574fb8410cce28b77547f3421a1cbd5d68aa067c677205ab929af594559cfe SHA512 53cedac0493a4c5937fdea45eae3d1d8b03b1cc98831340d69a19029d44e45379dc9a59ff7ed604f0d485b6692c730d2f132de9b6ce695bb24ddc956fe2eee1d WHIRLPOOL e13127606617ec668055d1b7ab2ebdac4719cb3a5c973f6be42d50287fc0f6e0458a8b30655e55d236812f9d1b15fb22d6e5e591e20dba4a7b7b0ba8c812ec53
+MISC metadata.xml 783 SHA256 9b55018f36336a0444cf24a31dda902f1f56065ad690434d7c775df0efd4e999 SHA512 600db550412f079696ff032005569047b8701c6dadeb1b825bfa0ed8c3f0babca60faa3e518e38c5c1231498aaefd21d821b6065b7b7d9c79159ce73b208e46f WHIRLPOOL 1190ec99a0d4a89229c878437fedbfc83cf0b945b30a946e4e9922b6aebb12b17ef556811f5426510d2df45bddbacc42a07a0db0e8578b709fdd18af193872b8
diff --git a/app-dicts/gwaei/gwaei-3.6.2.ebuild b/app-dicts/gwaei/gwaei-3.6.2.ebuild
new file mode 100644
index 000000000000..d1e6c6457f68
--- /dev/null
+++ b/app-dicts/gwaei/gwaei-3.6.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit gnome2-utils eutils
+
+DESCRIPTION="Japanese-English Dictionary for GNOME"
+HOMEPAGE="http://gwaei.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gwaei/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk hunspell nls test mecab"
+
+RDEPEND=">=net-misc/curl-7.20.0
+ >=dev-libs/glib-2.31
+ gtk? (
+ x11-libs/gtk+:3
+ >=app-text/gnome-doc-utils-0.14.0
+ )
+ hunspell? ( app-text/hunspell )
+ nls? ( virtual/libintl )
+ mecab? ( app-text/mecab )"
+DEPEND="${RDEPEND}
+ test? (
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/scrollkeeper-dtd
+ )
+ gtk? (
+ x11-themes/gnome-icon-theme-symbolic
+ >=app-text/gnome-doc-utils-0.14.0
+ )
+ nls? ( >=sys-devel/gettext-0.17 )
+ app-text/rarian
+ dev-util/intltool
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_with gtk gnome) \
+ $(use_enable nls) \
+ $(use_with hunspell) \
+ $(use_with mecab) \
+ --disable-static \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ find "${D}" -name '*.la' -delete
+
+ dodoc AUTHORS README
+}
+
+pkg_preinst() {
+ if use gtk ; then
+ gnome2_schemas_savelist
+ fi
+}
+
+pkg_postinst() {
+ if use gtk ; then
+ gnome2_schemas_update
+ fi
+}
+
+pkg_postrm() {
+ if use gtk ; then
+ gnome2_schemas_update
+ fi
+}
diff --git a/app-dicts/gwaei/metadata.xml b/app-dicts/gwaei/metadata.xml
new file mode 100644
index 000000000000..bb2eba8670ea
--- /dev/null
+++ b/app-dicts/gwaei/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <longdescription lang="en">
+ gWaei is a drop-in replacement for Gjiten. The main feature of
+ this dictonary program is regular expression support. For example,
+ you can use periods in place of unknown Kanji of a word to search
+ for it.
+ </longdescription>
+ <use>
+ <flag name="mecab">
+ Enable <pkg>app-text/mecab</pkg> support
+ </flag>
+ <flag name="hunspell">
+ Enable <pkg>app-text/hunspell</pkg> spellchecking and morphological analysis
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">gwaei</remote-id>
+ </upstream>
+</pkgmetadata>