Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/kimera/
Date: Tue, 18 Jul 2017 15:53:06
Message-Id: 1500392852.844ad57d33a92b08bfc5ea5611ebfb4d31b0d162.hattya@gentoo
1 commit: 844ad57d33a92b08bfc5ea5611ebfb4d31b0d162
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 18 15:47:32 2017 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 18 15:47:32 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844ad57d
7
8 app-i18n/kimera: update to EAPI 6
9
10 Gentoo-Bug: 621944
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.1
13
14 app-i18n/kimera/kimera-2.11-r1.ebuild | 29 +++++++++++++++++------------
15 app-i18n/kimera/metadata.xml | 8 ++++----
16 2 files changed, 21 insertions(+), 16 deletions(-)
17
18 diff --git a/app-i18n/kimera/kimera-2.11-r1.ebuild b/app-i18n/kimera/kimera-2.11-r1.ebuild
19 index 74936958a42..289f4b79a7b 100644
20 --- a/app-i18n/kimera/kimera-2.11-r1.ebuild
21 +++ b/app-i18n/kimera/kimera-2.11-r1.ebuild
22 @@ -1,8 +1,9 @@
23 # Copyright 1999-2017 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=3
27 -inherit qt4-r2 eutils multilib
28 +EAPI="6"
29 +
30 +inherit qmake-utils
31
32 DESCRIPTION="A Japanese input method which supports the XIM protocol"
33 HOMEPAGE="http://kimera.osdn.jp/"
34 @@ -13,21 +14,25 @@ SLOT="0"
35 KEYWORDS="amd64 x86"
36 IUSE="+anthy"
37
38 -DEPEND="dev-qt/qtcore:4
39 +RDEPEND="dev-qt/qt3support:4
40 + dev-qt/qtcore:4
41 dev-qt/qtgui:4
42 - dev-qt/qt3support:4
43 anthy? ( app-i18n/anthy )
44 !anthy? ( app-i18n/canna )"
45 -RDEPEND="${DEPEND}"
46 +DEPEND="${RDEPEND}"
47
48 -DOCS="AUTHORS README*"
49 +PATCHES=( "${FILESDIR}"/${PN}-underlinking.patch )
50
51 -src_prepare() {
52 - epatch "${FILESDIR}"/${PN}-underlinking.patch
53 +src_configure() {
54 + local myconf=(
55 + script.path="${EPREFIX}"/usr/bin
56 + target.path="${EPREFIX}"/usr/$(get_libdir)/${P}
57 + no_anthy=$(usex anthy 1 0)
58 + )
59 + eqmake4 ${PN}.pro "${myconf[@]}"
60 }
61
62 -src_configure() {
63 - local myconf="target.path=/usr/$(get_libdir)/${P}"
64 - use anthy || myconf="${myconf} no_anthy=1"
65 - eqmake4 kimera.pro ${myconf}
66 +src_install() {
67 + emake INSTALL_ROOT="${D}" install
68 + einstalldocs
69 }
70
71 diff --git a/app-i18n/kimera/metadata.xml b/app-i18n/kimera/metadata.xml
72 index d9263b15bbe..6a876a223eb 100644
73 --- a/app-i18n/kimera/metadata.xml
74 +++ b/app-i18n/kimera/metadata.xml
75 @@ -6,11 +6,11 @@
76 <name>Cjk</name>
77 </maintainer>
78 <longdescription>
79 -Kimera is a Qt-based Japanese input method bridge.
80 -Currently it supports Canna and Anthy.
81 -</longdescription>
82 + Kimera is a Qt-based Japanese input method bridge.
83 + Currently it supports Canna and Anthy.
84 + </longdescription>
85 <use>
86 - <flag name="anthy">Support for Anthy input method</flag>
87 + <flag name="anthy">Enable support for <pkg>app-i18n/anthy</pkg></flag>
88 </use>
89 <upstream>
90 <remote-id type="sourceforge-jp">kimera</remote-id>