diff options
author | Akinori Hattori <hattya@gentoo.org> | 2021-11-18 21:55:23 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2021-11-18 21:55:23 +0900 |
commit | 04b851f1d74d82a6f518c410c7b42511864cc77a (patch) | |
tree | 81d9edaa8119c4522ac2ef682bc12e14d39893c4 /app-i18n/kinput2 | |
parent | dev-scheme/gauche-mecab: amd64/x86 stable (diff) | |
download | gentoo-04b851f1d74d82a6f518c410c7b42511864cc77a.tar.gz gentoo-04b851f1d74d82a6f518c410c7b42511864cc77a.tar.bz2 gentoo-04b851f1d74d82a6f518c410c7b42511864cc77a.zip |
app-i18n/kinput2: update to EAPI 8
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n/kinput2')
-rw-r--r-- | app-i18n/kinput2/kinput2-3.1-r3.ebuild | 21 | ||||
-rw-r--r-- | app-i18n/kinput2/metadata.xml | 8 |
2 files changed, 13 insertions, 16 deletions
diff --git a/app-i18n/kinput2/kinput2-3.1-r3.ebuild b/app-i18n/kinput2/kinput2-3.1-r3.ebuild index 98694463da46..87035d98354a 100644 --- a/app-i18n/kinput2/kinput2-3.1-r3.ebuild +++ b/app-i18n/kinput2/kinput2-3.1-r3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI="8" inherit toolchain-funcs @@ -10,14 +10,13 @@ MY_P="${PN}-v${PV}" DESCRIPTION="A Japanese input server which supports the XIM protocol" HOMEPAGE="http://www.nec.co.jp/canna" SRC_URI="ftp://ftp.sra.co.jp/pub/x11/${PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" LICENSE="HPND" SLOT="0" KEYWORDS="amd64 ppc ppc64 sparc x86" +IUSE="" -RDEPEND=" - app-i18n/freewnn +RDEPEND="app-i18n/freewnn x11-libs/libICE x11-libs/libSM x11-libs/libX11 @@ -27,9 +26,9 @@ RDEPEND=" x11-libs/libXpm x11-libs/libXt" DEPEND="${RDEPEND}" -BDEPEND=" - x11-misc/gccmakedep +BDEPEND="x11-misc/gccmakedep >=x11-misc/imake-1.0.8-r1" +S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch @@ -38,6 +37,7 @@ PATCHES=( "${FILESDIR}"/${PN}-segfault.patch "${FILESDIR}"/${PN}-wnn.patch ) +DOCS=( README NEWS doc/. ) src_prepare() { default @@ -45,8 +45,7 @@ src_prepare() { } src_configure() { - CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ - IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die } src_compile() { @@ -64,17 +63,15 @@ src_install() { XAPPLOADDIR="${EPREFIX}/usr/share/X11/app-defaults" \ DESTDIR="${D}" \ install - einstalldocs - dodoc -r doc/. newman cmd/${PN}.man ${PN}.1 - rm -rf "${ED}"/usr/$(get_libdir)/X11 || die + rm -rf "${ED}"/usr/$(get_libdir)/X11 insinto /etc/X11/xinit/xinput.d sed \ -e "s:@EPREFIX@:${EPREFIX}:g" \ -e "s:@SERVER@:wnn:g" \ - "${FILESDIR}"/xinput-${PN} > "${T}"/${PN}.conf || die + "${FILESDIR}"/xinput-${PN} >"${T}"/${PN}.conf || die doins "${T}"/${PN}.conf } diff --git a/app-i18n/kinput2/metadata.xml b/app-i18n/kinput2/metadata.xml index 491c88b3a31f..a94766977fa6 100644 --- a/app-i18n/kinput2/metadata.xml +++ b/app-i18n/kinput2/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>cjk@gentoo.org</email> - <name>Cjk</name> - </maintainer> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> </pkgmetadata> |