diff options
Diffstat (limited to 'app-i18n/kinput2/kinput2-3.1-r3.ebuild')
-rw-r--r-- | app-i18n/kinput2/kinput2-3.1-r3.ebuild | 21 |
1 files changed, 9 insertions, 12 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 } |