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-pinyin/
Date: Sat, 29 Aug 2020 16:32:33
Message-Id: 1598718691.f325ef8d53d8dd6a3fe12b168e5b7bef88984a3b.soap@gentoo
1 commit: f325ef8d53d8dd6a3fe12b168e5b7bef88984a3b
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 29 16:31:31 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 29 16:31:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f325ef8d
7
8 app-i18n/scim-pinyin: Port to EAPI 7
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 app-i18n/scim-pinyin/scim-pinyin-0.5.92.ebuild | 42 +++++++++++++++-----------
14 1 file changed, 25 insertions(+), 17 deletions(-)
15
16 diff --git a/app-i18n/scim-pinyin/scim-pinyin-0.5.92.ebuild b/app-i18n/scim-pinyin/scim-pinyin-0.5.92.ebuild
17 index b0faa6aeb72..48730fbcfdc 100644
18 --- a/app-i18n/scim-pinyin/scim-pinyin-0.5.92.ebuild
19 +++ b/app-i18n/scim-pinyin/scim-pinyin-0.5.92.ebuild
20 @@ -1,9 +1,9 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=4
26 +EAPI=7
27
28 -inherit autotools-utils
29 +inherit autotools
30
31 DESCRIPTION="Smart Common Input Method (SCIM) Smart Pinyin Input Method"
32 HOMEPAGE="http://www.scim-im.org/"
33 @@ -14,25 +14,33 @@ SLOT="0"
34 KEYWORDS="amd64 ppc ppc64 x86"
35 IUSE="nls"
36
37 -RDEPEND="x11-libs/libXt
38 +RDEPEND="
39 >=app-i18n/scim-1.1
40 + x11-libs/libXt
41 nls? ( virtual/libintl )"
42 -DEPEND="${RDEPEND}
43 +DEPEND="${RDEPEND}"
44 +BDEPEND="
45 virtual/pkgconfig
46 nls? ( sys-devel/gettext )"
47 -AUTOTOOLS_AUTORECONF=1
48 -PATCHES=(
49 - "${FILESDIR}/${PN}-0.5.91-fixconfigure.patch"
50 -)
51 -DOCS=( AUTHORS NEWS README ChangeLog )
52 +
53 +PATCHES=( "${FILESDIR}"/${PN}-0.5.91-fixconfigure.patch )
54 +
55 +src_prepare() {
56 + default
57 + eautoreconf
58 +}
59
60 src_configure() {
61 - local myeconfargs=(
62 + econf \
63 + --disable-skim-support \
64 + --disable-static \
65 + --without-arts \
66 $(use_enable nls)
67 - --disable-skim-support
68 - --without-arts
69 - --disable-static
70 - --disable-depedency-tracking
71 - )
72 - autotools-utils_src_configure
73 +}
74 +
75 +src_install() {
76 + default
77 +
78 + # only plugins
79 + find "${ED}" -name '*.la' -delete || die
80 }