1 |
commit: c54389fe2c1aaa51200e558649e0d65f7e873e1c |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 31 09:54:57 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 31 11:13:57 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c54389fe |
7 |
|
8 |
app-i18n/scim-uim: Port to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild | 21 +++++++++++++-------- |
13 |
1 file changed, 13 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild b/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild |
16 |
index ad0fc7d82d8..8b9fe22e071 100644 |
17 |
--- a/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild |
18 |
+++ b/app-i18n/scim-uim/scim-uim-0.2.0-r2.ebuild |
19 |
@@ -1,8 +1,7 @@ |
20 |
# Copyright 1999-2017 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI="2" |
24 |
-inherit eutils |
25 |
+EAPI=6 |
26 |
|
27 |
DESCRIPTION="An input module for Smart Common Input Method (SCIM) which uses uim as backend" |
28 |
HOMEPAGE="http://www.scim-im.org/" |
29 |
@@ -13,20 +12,26 @@ SLOT="0" |
30 |
KEYWORDS="amd64 ppc x86" |
31 |
IUSE="" |
32 |
|
33 |
-RDEPEND=">=app-i18n/uim-1.5.0 |
34 |
+RDEPEND=" |
35 |
+ >=app-i18n/uim-1.5.0 |
36 |
>=app-i18n/scim-1.4.0" |
37 |
DEPEND="${RDEPEND} |
38 |
virtual/pkgconfig" |
39 |
|
40 |
-src_prepare() { |
41 |
- epatch "${FILESDIR}/${P}-gcc43.patch" \ |
42 |
- "${FILESDIR}/${P}-uim-1.5.patch" |
43 |
+PATCHES=( |
44 |
+ "${FILESDIR}"/${P}-gcc43.patch |
45 |
+ "${FILESDIR}"/${P}-uim-1.5.patch |
46 |
+) |
47 |
+ |
48 |
+src_configure() { |
49 |
+ econf --disable-static |
50 |
} |
51 |
|
52 |
src_install() { |
53 |
- emake DESTDIR="${D}" install || die "make install failed" |
54 |
+ default |
55 |
|
56 |
- dodoc AUTHORS ChangeLog README THANKS || die |
57 |
+ # plugin module, no point in .la files |
58 |
+ find "${D}" -name '*.la' -delete || die |
59 |
} |
60 |
|
61 |
pkg_postinst() { |