app-emacs/ddskk - 17.2 (gentoo)

Search

Install

Install this version:

emerge -a =app-emacs/ddskk-17.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-emacs/ddskk-17.2

Or alternatively:

emerge --autounmask-write -a =app-emacs/ddskk-17.2

Package Information

Description:
One Japanese input methods on Emacs
Homepage:
http://openlab.ring.gr.jp/skk/
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
17.2 8 ~amd64 ~ppc ~ppc64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"

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}_Mena.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
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
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-emacs/ddskk | euse -E <flag> -p app-emacs/ddskk | euse -D <flag> -p app-emacs/ddskk

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

|| (
		app-i18n/skk-jisyo
		virtual/skkserv
	)
	ruby? ( ${RUBY_DEPS} )

Manifest for 17.2

Type File Size Source URLs
DIST ddskk-17.2.tar.gz 962372 bytes https://github.com/skk-dev/ddskk/archive/ddskk-17.2_Mena.tar.gz