summaryrefslogtreecommitdiff
path: root/app-emacs/ddskk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-02 13:30:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-02 13:30:14 +0000
commitdd3e3c9214bc18697f6f656e8d645d3218a26d76 (patch)
treea8865ccf62a196361b531d263f081165078af583 /app-emacs/ddskk
parent4c91fc4c0d1da2829c584bd0517280eb4daf33d5 (diff)
gentoo auto-resync : 02:03:2023 - 13:30:13
Diffstat (limited to 'app-emacs/ddskk')
-rw-r--r--app-emacs/ddskk/Manifest1
-rw-r--r--app-emacs/ddskk/ddskk-17.1-r1.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/app-emacs/ddskk/Manifest b/app-emacs/ddskk/Manifest
index a3c989d6d146..394cd67c4c2a 100644
--- a/app-emacs/ddskk/Manifest
+++ b/app-emacs/ddskk/Manifest
@@ -1,4 +1,5 @@
AUX 50ddskk-gentoo.el 112 BLAKE2B 090925d25ada70386b13c259fa0ac6eae72f45c7bcb9272b65f8332eddc384d52d473a33296ef0af27e6b55e85ad5eb6cb5a64d53eb15de8b4cb770461ff1472 SHA512 7d7212bb6da992a3bad619d4def98acbe31c4b7226de59c223825e49dbd202d378eb04e386d6087ba5608e4bf1ede8847e2d73d068a6fe147322da7b5329fe09
DIST ddskk-17.1.tar.gz 952635 BLAKE2B fae34e37f972250d5e48f316fb90418b4b902684431c6ed18f44f3b5155556ceac1b04c8f8542c5651233e36085f864bac41381069dd70e841fdd9eedf7273ed SHA512 e0b924111a6289acd29ee5a5d94ea70730fe8f4e1dd5ed279520263efab0c69a6940e5b1b6182e45ed30c0b1ddca9e44ff75b7b3fdab5c8a3e1b2b9f82cc20fa
+EBUILD ddskk-17.1-r1.ebuild 1616 BLAKE2B 9180b17318d6ff8c4ed2e65d763683e11757d0f0ea94d0d884be814186e30d0a190e717b7da90953c4122fc1057a2de09c9997709716f34d90d54c02fcb464d8 SHA512 1a3ae2d32d17cd13a7d8308d5fe6934f90610f61980f75136cd23bcc31807c7b5a4810eb9a2676dfe6caddf39a75d194fd1202b3f1b7b904f8612f5d5e43c379
EBUILD ddskk-17.1.ebuild 1585 BLAKE2B d6022a5ce5a07a086f1e17dacdc52c0f1396bc9d5e46d8c20873f2fcc4119647f560f03ce2a21557f005a39a88ebe924c03e4e1d4720e658428c6418fb70c793 SHA512 d988b6c3863e7f99e3dc8483a2ed27fb078dc1d4599ba6026c21930701a1d7dd131ab53281bb8f86438b69663f64ce3e478ab9f7ba0dcf3e598416b980ebca57
MISC metadata.xml 451 BLAKE2B 14a7b69794890a92e6e81d00adcea5d65e6f688c5148bf139cee0a72c83c8a2827d45f4291415366ec127671d5c145984c176c35c7926b6e7b49222bea208cc7 SHA512 06cee2183783d6632d2db9b2e28a7b32419f2ba409cc0b03fdb00da93698736d349be1a439b3c4c5ba220c64e4b0d41ed590847c3f15df6ff16fa222607e5d29
diff --git a/app-emacs/ddskk/ddskk-17.1-r1.ebuild b/app-emacs/ddskk/ddskk-17.1-r1.ebuild
new file mode 100644
index 000000000000..42c352b2f1f7
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-17.1-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+NEED_EMACS="24.3"
+
+inherit elisp ruby-single vcs-snapshot
+
+DESCRIPTION="One Japanese input methods on Emacs"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/"
+SRC_URI="https://github.com/skk-dev/${PN}/archive/${P}_Neppu.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="ruby"
+RESTRICT="test"
+
+RDEPEND="|| (
+ app-i18n/skk-jisyo
+ virtual/skkserv
+ )
+ ruby? ( ${RUBY_DEPS} )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ echo "(add-to-list 'load-path (expand-file-name \"..\"))" \
+ >>nicola/NICOLA-DDSKK-CFG || die
+
+ default
+
+ rm -f skk-lookup.el || die
+ if use ruby; then
+ cp bayesian/*.el . || die
+ fi
+ cp tut-code/*.el . || die
+}
+
+src_compile() {
+ emake elc info
+ emake -C nicola
+}
+
+src_install() {
+ local lispdir="${SITELISP}/${PN}"
+
+ echo "(setq PREFIX \"${ED}/usr\")" >>SKK-CFG || die
+ echo "(setq SKK_LISPDIR \"${ED}${lispdir}\")" >>SKK-CFG || die
+
+ emake install-elc
+ elisp-compile "${ED}${lispdir}"/skk-setup.el
+ rm -f "${ED}${lispdir}"/leim-list.el || die
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+ doinfo doc/skk.info
+ dodoc ChangeLog* README.md \
+ READMEs/{AUTHORS,CODENAME,Contributors,FAQ,NEWS,PROPOSAL,TODO}*
+
+ 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
+}