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-hangul/files/, app-i18n/scim-hangul/
Date: Sun, 31 Dec 2017 11:14:33
Message-Id: 1514718843.b3214cf6db11cdd542cc3db5487e49adc8fad485.soap@gentoo
1 commit: b3214cf6db11cdd542cc3db5487e49adc8fad485
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 31 10:03:03 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 31 11:14:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3214cf6
7
8 app-i18n/scim-hangul: Port to EAPI 6
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 .../scim-hangul/files/scim-hangul-0.4.0+gtk.patch | 4 +--
13 app-i18n/scim-hangul/scim-hangul-0.4.0.ebuild | 31 +++++++++++-----------
14 2 files changed, 17 insertions(+), 18 deletions(-)
15
16 diff --git a/app-i18n/scim-hangul/files/scim-hangul-0.4.0+gtk.patch b/app-i18n/scim-hangul/files/scim-hangul-0.4.0+gtk.patch
17 index bc1fd4b673e..82d9f8ee10b 100644
18 --- a/app-i18n/scim-hangul/files/scim-hangul-0.4.0+gtk.patch
19 +++ b/app-i18n/scim-hangul/files/scim-hangul-0.4.0+gtk.patch
20 @@ -1,5 +1,5 @@
21 ---- src/scim_hangul_imengine_setup.cpp.orig 2012-07-08 07:52:07.000000000 -0400
22 -+++ src/scim_hangul_imengine_setup.cpp 2012-11-02 14:13:14.000000000 -0400
23 +--- a/src/scim_hangul_imengine_setup.cpp
24 ++++ b/src/scim_hangul_imengine_setup.cpp
25 @@ -346,7 +346,7 @@
26 for (i = 0; i < n; i++) {
27 const char* name = hangul_ic_get_keyboard_name(i);
28
29 diff --git a/app-i18n/scim-hangul/scim-hangul-0.4.0.ebuild b/app-i18n/scim-hangul/scim-hangul-0.4.0.ebuild
30 index 13eba035c1c..aa37d7ea868 100644
31 --- a/app-i18n/scim-hangul/scim-hangul-0.4.0.ebuild
32 +++ b/app-i18n/scim-hangul/scim-hangul-0.4.0.ebuild
33 @@ -1,9 +1,7 @@
34 -# Copyright 1999-2013 Gentoo Foundation
35 +# Copyright 1999-2017 Gentoo Foundation
36 # Distributed under the terms of the GNU General Public License v2
37
38 -EAPI=5
39 -
40 -inherit autotools-utils
41 +EAPI=6
42
43 DESCRIPTION="Hangul IMEngine for SCIM ported from imhangul"
44 HOMEPAGE="http://www.scim-im.org/"
45 @@ -14,7 +12,8 @@ SLOT="0"
46 KEYWORDS="amd64 ppc x86"
47 IUSE="nls"
48
49 -RDEPEND="|| ( >=app-i18n/scim-0.99.8 >=app-i18n/scim-cvs-0.99.8 )
50 +RDEPEND="
51 + >=app-i18n/scim-0.99.8
52 >=app-i18n/libhangul-0.0.4
53 nls? ( virtual/libintl )"
54 DEPEND="${RDEPEND}
55 @@ -22,23 +21,23 @@ DEPEND="${RDEPEND}
56 nls? ( sys-devel/gettext )"
57
58 PATCHES=(
59 - "${FILESDIR}/${PN}-0.3.2+gcc-4.3.patch"
60 - "${FILESDIR}/${PN}-0.3.2+gcc-4.7.patch"
61 - "${FILESDIR}/${PN}-0.4.0+gtk.patch" )
62 -
63 -DOCS=(AUTHORS NEWS)
64 + "${FILESDIR}"/${PN}-0.3.2+gcc-4.3.patch
65 + "${FILESDIR}"/${PN}-0.3.2+gcc-4.7.patch
66 + "${FILESDIR}"/${PN}-0.4.0+gtk.patch
67 +)
68
69 src_configure() {
70 - local myeconfargs=(
71 - --disable-skim-support
72 + econf \
73 + --disable-skim-support \
74 $(use_enable nls)
75 - )
76 - autotools-utils_src_configure
77 }
78
79 src_install() {
80 - autotools-utils_src_install
81 - dodoc ChangeLog* README*
82 + default
83 + dodoc ChangeLog*
84 +
85 + # plugin module, no point in .la files
86 + find "${D}" -name '*.la' -delete || die
87 }
88
89 pkg_postinst() {