1 |
commit: b2f8161cd32140be77e415361bc7892d2a5e25f9 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 27 13:55:30 2018 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 27 13:59:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2f8161c |
7 |
|
8 |
app-i18n/ibus-rime: update to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
app-i18n/ibus-rime/ibus-rime-1.2.ebuild | 28 +++++++++++++++++----------- |
13 |
1 file changed, 17 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/app-i18n/ibus-rime/ibus-rime-1.2.ebuild b/app-i18n/ibus-rime/ibus-rime-1.2.ebuild |
16 |
index 81810d970e6..84362d2576b 100644 |
17 |
--- a/app-i18n/ibus-rime/ibus-rime-1.2.ebuild |
18 |
+++ b/app-i18n/ibus-rime/ibus-rime-1.2.ebuild |
19 |
@@ -1,9 +1,9 @@ |
20 |
-# Copyright 1999-2014 Gentoo Foundation |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI="6" |
26 |
|
27 |
-DESCRIPTION="Rime Input Method Engine for IBus Framework" |
28 |
+DESCRIPTION="Rime Input Method Engine for IBus" |
29 |
HOMEPAGE="http://rime.im/" |
30 |
SRC_URI="http://dl.bintray.com/lotem/rime/${P}.tar.gz" |
31 |
|
32 |
@@ -12,17 +12,23 @@ SLOT="0" |
33 |
KEYWORDS="~amd64 ~x86" |
34 |
IUSE="" |
35 |
|
36 |
-COMMON_DEPEND="app-i18n/ibus |
37 |
+CDEPEND="app-i18n/ibus |
38 |
app-i18n/librime |
39 |
x11-libs/libnotify" |
40 |
-DEPEND="${COMMON_DEPEND} |
41 |
- dev-util/cmake" |
42 |
-RDEPEND="${COMMON_DEPEND} |
43 |
+RDEPEND="${CDEPEND} |
44 |
app-i18n/rime-data" |
45 |
- |
46 |
-S=${WORKDIR}/${PN} |
47 |
+DEPEND="${CDEPEND} |
48 |
+ dev-util/cmake |
49 |
+ virtual/pkgconfig" |
50 |
+S="${WORKDIR}/${PN}" |
51 |
|
52 |
src_prepare() { |
53 |
- sed -i -e "/^libexecdir/s:/lib:/libexec:" Makefile || die |
54 |
- sed -i -e "/exec/s:/usr/lib:/usr/libexec:" rime.xml || die |
55 |
+ sed -i \ |
56 |
+ -e "/^libexecdir/s:/lib:/libexec:" \ |
57 |
+ -e "/^[[:space:]]*PREFIX/s:/usr:${EPREFIX}/usr:" \ |
58 |
+ -e "s/ make/ \$(MAKE)/" \ |
59 |
+ Makefile |
60 |
+ sed -i "/exec>/s:/usr/lib:${EPREFIX}/usr/libexec:" rime.xml |
61 |
+ |
62 |
+ default |
63 |
} |