diff options
Diffstat (limited to 'app-i18n/scim-anthy/scim-anthy-1.2.7-r1.ebuild')
-rw-r--r-- | app-i18n/scim-anthy/scim-anthy-1.2.7-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-i18n/scim-anthy/scim-anthy-1.2.7-r1.ebuild b/app-i18n/scim-anthy/scim-anthy-1.2.7-r1.ebuild new file mode 100644 index 000000000000..d309c2f3be9e --- /dev/null +++ b/app-i18n/scim-anthy/scim-anthy-1.2.7-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils + +DESCRIPTION="Japanese input method Anthy IMEngine for SCIM" +HOMEPAGE="http://scim-imengine.sourceforge.jp/index.cgi?cmd=view;name=SCIMAnthy" +SRC_URI="mirror://sourceforge.jp/scim-imengine/37309/${P}.tar.gz + gtk3? ( https://dev.gentoo.org/~heroxbd/${P}-patches.tar.xz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ppc sparc x86 ~x86-fbsd" +IUSE="+gtk3 nls kasumi" + +DEPEND=">=app-i18n/scim-1.2[gtk3=] + >=app-i18n/anthy-5900 + nls? ( virtual/libintl ) + gtk3? ( x11-libs/gtk+:3 )" +RDEPEND="${DEPEND} + kasumi? ( app-dicts/kasumi )" +DEPEND="${DEPEND} + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +src_prepare() { + if use gtk3; then + EPATCH_SOURCE="${WORKDIR}/patches" EPATCH_SUFFIX="patch" epatch + fi + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + --disable-static \ + --disable-dependency-tracking +} + +src_install() { + default + dodoc AUTHORS ChangeLog NEWS README +} |