diff options
Diffstat (limited to 'app-i18n/anthy')
-rw-r--r-- | app-i18n/anthy/Manifest | 2 | ||||
-rw-r--r-- | app-i18n/anthy/anthy-9100h-r2.ebuild | 32 |
2 files changed, 19 insertions, 15 deletions
diff --git a/app-i18n/anthy/Manifest b/app-i18n/anthy/Manifest index a49c0eade00d..7cf8f5c90886 100644 --- a/app-i18n/anthy/Manifest +++ b/app-i18n/anthy/Manifest @@ -1,5 +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 +EBUILD anthy-9100h-r2.ebuild 1308 BLAKE2B 65a5aaee9b07d75cd7a047ed5492cb6b3b59c2881e4ca98fd713c325f329f1230cc2431821d615ea1abf9b3426c7e69aeb41e87f9ea6a39faa93cfaf402c5b8c SHA512 9824f69db445997eb75d6fc7b7fbae3779439c8616858e78bd0895b17d14d65663545fa3c98a1bc05e2a92b294fb01fee66907a88b5ae71ad1d5a9db7fa2d409 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 index 45d7ba0deb52..2ae79f831a70 100644 --- a/app-i18n/anthy/anthy-9100h-r2.ebuild +++ b/app-i18n/anthy/anthy-9100h-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 2003-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI="7" -inherit elisp-common ltprune +inherit elisp-common DESCRIPTION="Anthy -- free and secure Japanese input system" HOMEPAGE="http://anthy.osdn.jp/" @@ -14,12 +14,16 @@ 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 ) +BDEPEND="canna-2ch? ( app-dicts/canna-2ch ) emacs? ( virtual/emacs )" -DEPEND="${RDEPEND}" +DEPEND="" +RDEPEND="${BDEPEND}" -PATCHES=( "${FILESDIR}"/${PN}-anthy_context_t.patch ) -DOCS=( AUTHORS ChangeLog DIARY NEWS README ) +PATCHES=( + "${FILESDIR}/${PN}-anthy_context_t.patch" +) + +DOCS=(AUTHORS ChangeLog DIARY NEWS README) SITEFILE="50${PN}-gentoo.el" @@ -27,27 +31,27 @@ 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 + einfo "Adding nichan.ctd to anthy.dic" + sed -e "/set_input_encoding eucjp/aread ${EPREFIX}/var/lib/canna/dic/canna/nichan.ctd" -i mkworddic/dict.args.in || die fi } src_configure() { econf \ $(use_enable static-libs static) \ - EMACS=$(usex emacs "${EMACS}") + EMACS="$(usex emacs "${EMACS}")" } src_install() { default - prune_libtool_files + find "${D}" -name "*.la" -type f -delete || die + + rm doc/Makefile* || die + dodoc -r doc if use emacs; then elisp-site-file-install "${FILESDIR}"/${SITEFILE} fi - - rm -f doc/Makefile* - dodoc -r doc } pkg_postinst() { |