summaryrefslogtreecommitdiff
path: root/app-dicts/gwaei
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-dicts/gwaei
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-dicts/gwaei')
-rw-r--r--app-dicts/gwaei/Manifest3
-rw-r--r--app-dicts/gwaei/gwaei-3.6.2.ebuild73
-rw-r--r--app-dicts/gwaei/metadata.xml21
3 files changed, 97 insertions, 0 deletions
diff --git a/app-dicts/gwaei/Manifest b/app-dicts/gwaei/Manifest
new file mode 100644
index 000000000000..d90afc29dada
--- /dev/null
+++ b/app-dicts/gwaei/Manifest
@@ -0,0 +1,3 @@
+DIST gwaei-3.6.2.tar.xz 547592 BLAKE2B 0a0f90639b81158ef6bfc69f0f74ad70af65ae9462c93f6e507d6a1087c424da9689f2308300c5d4b8090143d8d9e2f7fe183719e37fa463ffe2b937714b7463 SHA512 96876f7e15ff5e166dcd116e2286294b7b375e55723684e4e3dec31aba46d1c89ccd70007fc01cab97a5fd5e671ec073c3f69525ff7e68126851e587d4f20c3b
+EBUILD gwaei-3.6.2.ebuild 1340 BLAKE2B 75ce0f16f3c9a35bacdf00140aa99cfc37275563d760c9a27ba9ecb4b9bfb54ee64850a70b25feafb15d1f74cfb010a10ad661842415e8357dbcda8e0dc5dc2a SHA512 461fb40875e4ee90d69dbe9418c35f7ad123fed878fd32103c7f6810fd02efc5248c631580e9f228b8029206a00f93ca32c1c5a64d0e00e61d596055c00f8261
+MISC metadata.xml 762 BLAKE2B 96509839f9438ea2d387e73790629af5db6f7307dd7dc009489ee9aac1520ac53efb6cf855ceaa3a272cb128b60e2bd068f61e0375c104985d30198c10a1995a SHA512 2fade949182ab7d2a48a98f24c45f806cc84fdb481c8357c282fffc44c7a02a36dcb58f3c7ec586ee87c7a98b04522c33cc01135bfddeb49044ee2791b8b820b
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..1f08d05dc89b
--- /dev/null
+++ b/app-dicts/gwaei/metadata.xml
@@ -0,0 +1,21 @@
+<?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>