diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-08-13 01:00:15 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-08-13 01:00:15 +0900 |
commit | bcad7f0bcea8f20982b023f03db4d76bd712e206 (patch) | |
tree | b113346008a386bac995d5c688eadbd0841decde /app-i18n/ibus-handwrite | |
parent | app-i18n/ibus-handwrite: update patch (diff) | |
download | gentoo-bcad7f0bcea8f20982b023f03db4d76bd712e206.tar.gz gentoo-bcad7f0bcea8f20982b023f03db4d76bd712e206.tar.bz2 gentoo-bcad7f0bcea8f20982b023f03db4d76bd712e206.zip |
app-i18n/ibus-handwrite: update to EAPI 6
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/ibus-handwrite')
-rw-r--r-- | app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild | 35 | ||||
-rw-r--r-- | app-i18n/ibus-handwrite/metadata.xml | 14 |
2 files changed, 25 insertions, 24 deletions
diff --git a/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild b/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild index c06ecaed54b8..2f77a8b03ab1 100644 --- a/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild +++ b/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild @@ -1,12 +1,11 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI="6" -PYTHON_COMPAT=( python2_7 ) -inherit eutils python-single-r1 autotools-utils multilib +inherit autotools -DESCRIPTION="hand write recognition/input using ibus IM engine" +DESCRIPTION="Hand write recognition/input for IBus" HOMEPAGE="https://code.google.com/p/ibus-handwrite/" SRC_URI="https://ibus-handwrite.googlecode.com/files/${P}.tar.bz2" @@ -14,27 +13,29 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" IUSE="nls +zinnia" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RDEPEND="zinnia? ( app-i18n/zinnia app-i18n/zinnia-tomoe ) - >=app-i18n/ibus-1.3.0 - >=x11-libs/gtk+-2.10:2 +RDEPEND="app-i18n/ibus + x11-libs/gtk+:2 x11-libs/gtkglext - ${PYTHON_DEPS}" + nls? ( virtual/libintl ) + zinnia? ( + app-i18n/zinnia + app-i18n/zinnia-tomoe + )" DEPEND="${RDEPEND} - virtual/pkgconfig" + virtual/pkgconfig + nls? ( sys-devel/gettext )" -DOCS=( AUTHORS ChangeLog NEWS README ) +PATCHES=( "${FILESDIR}"/${PN}-link.patch ) src_prepare() { - epatch "${FILESDIR}"/${PN}-link.patch #bug #501954 + default + eautoreconf } src_configure() { - local myeconfargs=( - $(use_enable nls) - $(use_enable zinnia) + econf \ + $(use_enable nls) \ + $(use_enable zinnia) \ $(use_with zinnia zinnia-tomoe "${EPREFIX}"/usr/$(get_libdir)/zinnia/model/tomoe) - ) - autotools-utils_src_configure } diff --git a/app-i18n/ibus-handwrite/metadata.xml b/app-i18n/ibus-handwrite/metadata.xml index 37f9895979f2..23f5c6be388a 100644 --- a/app-i18n/ibus-handwrite/metadata.xml +++ b/app-i18n/ibus-handwrite/metadata.xml @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>cjk@gentoo.org</email> - <name>Cjk</name> - </maintainer> -<use> - <flag name="zinnia">Build with <pkg>app-i18n/zinnia</pkg> engine.</flag> -</use> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <use> + <flag name="zinnia">Enable support for <pkg>app-i18n/zinnia</pkg></flag> + </use> </pkgmetadata> |