diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-i18n/anthy | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-i18n/anthy')
-rw-r--r-- | app-i18n/anthy/Manifest | 5 | ||||
-rw-r--r-- | app-i18n/anthy/anthy-9100h-r2.ebuild | 59 | ||||
-rw-r--r-- | app-i18n/anthy/files/50anthy-gentoo.el | 2 | ||||
-rw-r--r-- | app-i18n/anthy/files/anthy-anthy_context_t.patch | 11 | ||||
-rw-r--r-- | app-i18n/anthy/metadata.xml | 24 |
5 files changed, 101 insertions, 0 deletions
diff --git a/app-i18n/anthy/Manifest b/app-i18n/anthy/Manifest new file mode 100644 index 000000000000..a49c0eade00d --- /dev/null +++ b/app-i18n/anthy/Manifest @@ -0,0 +1,5 @@ +AUX 50anthy-gentoo.el 63 BLAKE2B 8680f0a54f0c16a4d869f52d1589c6af39d29c151a5f7e7182f7afb2417aa5ba2fea002d7638271f486f95931036a1e4e4a83af8d796c3b751760d5750adf1d6 SHA512 ca11bd44d092da07278905555513e8b5215413af64c46cfb9213cbd27948727133c06fb1fcfc1a48d67d196c693ed2835e8dbae142a52ff4dbd5ea8d49e6e65a +AUX anthy-anthy_context_t.patch 174 BLAKE2B 0a38c7a467b5a0331762fa1083c2dffef8f4c39c8bfbf7ce0ec431f6f865dc8727fac391ff77a6a1cf5e455ca274c78b7a6ebf7a2326ba90c6cd979f8e3c7a3f SHA512 3f252628f77f53dd96eac50f08a36bb782f0ddc37446c1bdd5bd94fffa3454b9adcaff7118d76fdc7e8bc3f86b1a84e9830da5b67b2b0d281847b26ff62cdee3 +DIST anthy-9100h.tar.gz 4446148 BLAKE2B b07da205694db9223c22ebcf6158158247611be41448457ee112766d1ea5fe72eee3f2292276363245d751eb49bd582c39330cc6df5e52547b6188386439d29a SHA512 315ebd9e1af208f3ecaeaa13620213b35f004e47edb54e60c3e02c2997444cd2326cc58b725dd2d0bd6a723130884d946ea193ea3d92418082256b59ecc8d88b +EBUILD anthy-9100h-r2.ebuild 1265 BLAKE2B ea58ec088edbc1b562e5db32dfe8422279bc17e1e754c690175d558a8cc5ab12fcab521f41de8da055b89bee7a147e1437ea525a226a481c71a58001eb155bb0 SHA512 1a763145c8d998582583e3c64c2025890e002dc65889d031bdc4c474ef2d11e6cd2f1d76b946ef1061f6d984158e1e9ed98520595fe705f91fe5c8af027d9b1c +MISC metadata.xml 903 BLAKE2B 29e0a9ae0eb05a56ce23659a1693e7d118bb5f7803170e4df02a0515adb841a26c66bf652baea4d921f613424863168500ce69b7282f027fd6a9d6cc7a66f9fa SHA512 6fed9f2dd2b723292db8348fa4977659600b2d755f74bdfd7d9007b60d2c505473af01f5277d41155e9cdee6243d6e8faf9254c9e6963787509ea4a3f37117c9 diff --git a/app-i18n/anthy/anthy-9100h-r2.ebuild b/app-i18n/anthy/anthy-9100h-r2.ebuild new file mode 100644 index 000000000000..45d7ba0deb52 --- /dev/null +++ b/app-i18n/anthy/anthy-9100h-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit elisp-common ltprune + +DESCRIPTION="Anthy -- free and secure Japanese input system" +HOMEPAGE="http://anthy.osdn.jp/" +SRC_URI="mirror://sourceforge.jp/${PN}/37536/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="canna-2ch emacs static-libs" + +RDEPEND="canna-2ch? ( app-dicts/canna-2ch ) + emacs? ( virtual/emacs )" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-anthy_context_t.patch ) +DOCS=( AUTHORS ChangeLog DIARY NEWS README ) + +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + default + + if use canna-2ch; then + einfo "Adding nichan.ctd to anthy.dic." + sed -i "/set_input_encoding eucjp/aread ${EPREFIX}/var/lib/canna/dic/canna/nichan.ctd" mkworddic/dict.args.in + fi +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + EMACS=$(usex emacs "${EMACS}") +} + +src_install() { + default + prune_libtool_files + + if use emacs; then + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + fi + + rm -f doc/Makefile* + dodoc -r doc +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/app-i18n/anthy/files/50anthy-gentoo.el b/app-i18n/anthy/files/50anthy-gentoo.el new file mode 100644 index 000000000000..ab154f8d4eff --- /dev/null +++ b/app-i18n/anthy/files/50anthy-gentoo.el @@ -0,0 +1,2 @@ +(set-language-info "Japanese" 'input-method "japanese-anthy") + diff --git a/app-i18n/anthy/files/anthy-anthy_context_t.patch b/app-i18n/anthy/files/anthy-anthy_context_t.patch new file mode 100644 index 000000000000..aab4ab749ea0 --- /dev/null +++ b/app-i18n/anthy/files/anthy-anthy_context_t.patch @@ -0,0 +1,11 @@ +--- a/anthy/input.h ++++ b/anthy/input.h +@@ -10,6 +10,8 @@ + #ifndef INPUT_H_INCLUDE + #define INPUT_H_INCLUDE + ++#include "anthy.h" ++ + #ifdef __cplusplus + extern "C" { + #endif diff --git a/app-i18n/anthy/metadata.xml b/app-i18n/anthy/metadata.xml new file mode 100644 index 000000000000..0b8350b78af9 --- /dev/null +++ b/app-i18n/anthy/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hattya@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <longdescription> + Anthy is a free and secure Japanese kana-kanji server. This ebuild includes + cannadic as a server-side dictionary, so you don't need any extra package to + run it. You can use anthy with <pkg>app-i18n/uim</pkg> (XIM, GTK+ immodule) + and <pkg>virtual/emacs</pkg> (to enable Anthy support for emacs, build this + package with emacs USE flag). + </longdescription> + <use> + <flag name="canna-2ch">Enable support for <pkg>app-dicts/canna-2ch</pkg></flag> + </use> + <upstream> + <remote-id type="sourceforge-jp">anthy</remote-id> + </upstream> +</pkgmetadata> |