From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-i18n/kimera/kimera-2.11-r2.ebuild | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 app-i18n/kimera/kimera-2.11-r2.ebuild (limited to 'app-i18n/kimera/kimera-2.11-r2.ebuild') diff --git a/app-i18n/kimera/kimera-2.11-r2.ebuild b/app-i18n/kimera/kimera-2.11-r2.ebuild new file mode 100644 index 000000000000..2be50304e3ba --- /dev/null +++ b/app-i18n/kimera/kimera-2.11-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit qmake-utils + +DESCRIPTION="A Japanese input method which supports the XIM protocol" +HOMEPAGE="http://kimera.osdn.jp/" +SRC_URI="mirror://sourceforge.jp/${PN}/37271/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+anthy" + +RDEPEND="dev-qt/qt3support:4 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + anthy? ( app-i18n/anthy ) + !anthy? ( app-i18n/canna )" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-underlinking.patch ) + +src_configure() { + local myconf=( + script.path="${EPREFIX}"/usr/bin + target.path="${EPREFIX}"/usr/$(get_libdir)/${P} + no_anthy=$(usex anthy 1 0) + ) + eqmake4 ${PN}.pro "${myconf[@]}" +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs + + insinto /etc/X11/xinit/xinput.d + sed \ + -e "s:@EPREFIX@:${EPREFIX}:g" \ + "${FILESDIR}"/xinput-${PN} > "${T}"/${PN}.conf + doins "${T}"/${PN}.conf +} -- cgit v1.2.3