Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/scim-sayura/, app-i18n/scim-sayura/files/
Date: Sun, 31 Dec 2017 11:14:33
Message-Id: 1514718853.35d66aa45c16bdc3a500cc272b648f5eb3b089ce.soap@gentoo
1 commit: 35d66aa45c16bdc3a500cc272b648f5eb3b089ce
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 31 10:48:10 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 31 11:14:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d66aa4
7
8 app-i18n/scim-sayura: Port to EAPI 6
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 .../scim-sayura/files/scim-sayura-0.3.3-gcc45.patch | 4 ++--
13 app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild | 20 +++++++++++---------
14 2 files changed, 13 insertions(+), 11 deletions(-)
15
16 diff --git a/app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch b/app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch
17 index 64ee8741601..d80f654b6f6 100644
18 --- a/app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch
19 +++ b/app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch
20 @@ -2,8 +2,8 @@ Fixing build with gcc 4.5
21
22 http://bugs.gentoo.org/show_bug.cgi?id=320879
23
24 ---- src/scim_sinhala_imengine.cpp
25 -+++ src/scim_sinhala_imengine.cpp
26 +--- a/src/scim_sinhala_imengine.cpp
27 ++++ b/src/scim_sinhala_imengine.cpp
28 @@ -233,7 +233,7 @@
29
30 void SinhalaInstance::backspace()
31
32 diff --git a/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild b/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild
33 index 77044b6d632..f04f5993a8e 100644
34 --- a/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild
35 +++ b/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild
36 @@ -1,9 +1,7 @@
37 -# Copyright 1999-2012 Gentoo Foundation
38 +# Copyright 1999-2017 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40
41 -EAPI="2"
42 -
43 -inherit eutils
44 +EAPI=6
45
46 DESCRIPTION="Sayura Sinhala input method for SCIM"
47 HOMEPAGE="http://www.sayura.net/im/"
48 @@ -18,14 +16,18 @@ RDEPEND=">=app-i18n/scim-0.99.8"
49 DEPEND="${RDEPEND}
50 virtual/pkgconfig"
51
52 -src_prepare() {
53 - epatch "${FILESDIR}"/scim-sayura-0.3.3-gcc45.patch
54 +PATCHES=( "${FILESDIR}"/scim-sayura-0.3.3-gcc45.patch )
55 +
56 +src_configure() {
57 + econf --disable-static
58 }
59
60 src_install() {
61 - emake DESTDIR="${D}" install || die "emake install failed"
62 + HTML_DOCS=( doc/{index.html,style.css} )
63 + default
64
65 - dodoc AUTHORS ChangeLog NEWS README
66 - dohtml doc/index.html doc/style.css
67 use doc && dodoc doc/sayura.pdf
68 +
69 + # plugin module, no point in .la files
70 + find "${D}" -name '*.la' -delete || die
71 }