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-emacs/ddskk | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/ddskk')
-rw-r--r-- | app-emacs/ddskk/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/ddskk/ddskk-16.2.ebuild | 68 | ||||
-rw-r--r-- | app-emacs/ddskk/files/50ddskk-gentoo.el | 4 | ||||
-rw-r--r-- | app-emacs/ddskk/metadata.xml | 15 |
4 files changed, 91 insertions, 0 deletions
diff --git a/app-emacs/ddskk/Manifest b/app-emacs/ddskk/Manifest new file mode 100644 index 000000000000..d6990a793c96 --- /dev/null +++ b/app-emacs/ddskk/Manifest @@ -0,0 +1,4 @@ +AUX 50ddskk-gentoo.el 112 BLAKE2B 090925d25ada70386b13c259fa0ac6eae72f45c7bcb9272b65f8332eddc384d52d473a33296ef0af27e6b55e85ad5eb6cb5a64d53eb15de8b4cb770461ff1472 SHA512 7d7212bb6da992a3bad619d4def98acbe31c4b7226de59c223825e49dbd202d378eb04e386d6087ba5608e4bf1ede8847e2d73d068a6fe147322da7b5329fe09 +DIST ddskk-16.2.tar.gz 886618 BLAKE2B 854b9d57993e8f69af4035df49511ec110a1afd83ee290be8934283fc5f2a1a648b80f80811396083fa019d9eb12469998ff26b692296dd770c21da81c3cad3e SHA512 591d66e2d217a289ce8273ed7da10c0ed72029e961efde0537044f7ad3f5f46943cf5c71ec1d97a27743fcea91a9fab81c86e2772047892f53e2852bf58ef45c +EBUILD ddskk-16.2.ebuild 1495 BLAKE2B bc16dbebf4a48dd75767065018240d5013a916ce71fa158b6a8a8666d82a6aa8b20b6f8c2bc337b13f4856c8ee925ad0bdc08dc5ad7edef7209b9f410907827d SHA512 e1edfb53fdc5497d44a9e519eca699c773dfb1e997ee6369a5deb95e91d27c222ba8c65df0371d22970cdc49fea26d2c4a3980eb94c96ba726890181a7f16e49 +MISC metadata.xml 450 BLAKE2B 5458defeba3a265354c3a885106a590beb379c83bee36af2859e604a2ae19c108962a6400a614443dfb3a6391088c98474cae996e60bd02d320d9f44de990bf9 SHA512 8a7b366ada5366e2713e3850421729b395862f662476225f3a7ae24dcc0067ff51c4a8ce8408c2ce2082722f0649b0ad8c047230a0223c03e2ef8b416c7e65fe diff --git a/app-emacs/ddskk/ddskk-16.2.ebuild b/app-emacs/ddskk/ddskk-16.2.ebuild new file mode 100644 index 000000000000..ec56dd3838d2 --- /dev/null +++ b/app-emacs/ddskk/ddskk-16.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +USE_RUBY="ruby23 ruby24 ruby25" +NEED_EMACS="24" + +inherit elisp ruby-single + +DESCRIPTION="One Japanese input methods on Emacs" +HOMEPAGE="http://openlab.ring.gr.jp/skk/" +SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="ruby" + +DEPEND="" +RDEPEND="|| ( + app-i18n/skk-jisyo + virtual/skkserv + ) + ruby? ( ${RUBY_DEPS} )" + +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + echo "(setq PREFIX \"${ED}/usr\")" >>SKK-CFG + echo "(setq SKK_LISPDIR \"${ED}/${SITELISP}/${PN}\")" >>SKK-CFG + + echo "(add-to-list 'load-path (expand-file-name \"..\"))" >> nicola/NICOLA-DDSKK-CFG + + default + + rm -f skk-lookup.el + mv {bayesian,tut-code}/*.el . +} + +src_compile() { + emake elc info + + emake -C nicola +} + +src_install () { + local lispdir=${SITELISP}/${PN} + emake install-elc + elisp-compile "${ED}"/${lispdir}/skk-setup.el + rm -f "${ED}"/${lispdir}/leim-list.el + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + + dodoc ChangeLog* README.md READMEs/{AUTHORS,CODENAME,Contributors,FAQ,NEWS,PROPOSAL,TODO}* + doinfo doc/skk.info + + local exts=( nicola tut-code ) d f + elisp-install ${PN} nicola/*.{el,elc} + if use ruby; then + dobin bayesian/bskk + exts+=( bayesian ) + fi + for d in ${exts[@]}; do + docinto ${d} + for f in ${d}/{ChangeLog,README}*; do + [[ -s ${f} ]] && dodoc ${f} + done + done +} diff --git a/app-emacs/ddskk/files/50ddskk-gentoo.el b/app-emacs/ddskk/files/50ddskk-gentoo.el new file mode 100644 index 000000000000..66b1e15fa86b --- /dev/null +++ b/app-emacs/ddskk/files/50ddskk-gentoo.el @@ -0,0 +1,4 @@ +(add-to-list 'load-path "@SITELISP@") +(require 'skk-setup) + +(setq skk-large-jisyo "/usr/share/skk/SKK-JISYO.L") diff --git a/app-emacs/ddskk/metadata.xml b/app-emacs/ddskk/metadata.xml new file mode 100644 index 000000000000..686eb3809d5c --- /dev/null +++ b/app-emacs/ddskk/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <upstream> + <remote-id type="github">skk-dev/ddskk</remote-id> + </upstream> +</pkgmetadata> |