Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/nabi/
Date: Wed, 29 Aug 2018 13:02:06
Message-Id: 1535547714.be2425c1fcee50d8fe6b574ac0485883d08809b4.hattya@gentoo
1 commit: be2425c1fcee50d8fe6b574ac0485883d08809b4
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 29 12:54:21 2018 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 29 13:01:54 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be2425c1
7
8 app-i18n/nabi: tidy
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-i18n/nabi/nabi-1.0.0.ebuild | 23 +++++++++--------------
13 1 file changed, 9 insertions(+), 14 deletions(-)
14
15 diff --git a/app-i18n/nabi/nabi-1.0.0.ebuild b/app-i18n/nabi/nabi-1.0.0.ebuild
16 index b9c453f5272..180520556c4 100644
17 --- a/app-i18n/nabi/nabi-1.0.0.ebuild
18 +++ b/app-i18n/nabi/nabi-1.0.0.ebuild
19 @@ -1,7 +1,7 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 +EAPI="6"
26
27 inherit autotools
28
29 @@ -14,43 +14,38 @@ SLOT="0"
30 IUSE="debug nls"
31 KEYWORDS="~amd64 ~ppc ~x86"
32
33 -RDEPEND=">=app-i18n/libhangul-0.1.0
34 +RDEPEND=">=app-i18n/libhangul-0.1
35 dev-libs/glib:2
36 - x11-libs/gdk-pixbuf:2
37 - >=x11-libs/gtk+-2.4:2
38 + x11-libs/gtk+:2
39 x11-libs/libICE
40 x11-libs/libSM
41 x11-libs/libX11
42 - x11-libs/pango
43 virtual/libintl"
44 DEPEND="${RDEPEND}
45 virtual/pkgconfig
46 sys-devel/gettext"
47 +S="${WORKDIR}/${PN}-${P}"
48
49 DOCS=( AUTHORS ChangeLog.0 NEWS README TODO )
50
51 -S="${WORKDIR}"/${PN}-${P}
52 -
53 src_prepare() {
54 default
55 eautoreconf
56 }
57
58 src_configure() {
59 - local myconf=
60 -
61 + local myconf=()
62 # Broken configure: --disable-debug also enables debug
63 - use debug && \
64 - myconf="${myconf} --enable-debug"
65 + use debug && myconf+=( --enable-debug )
66
67 - econf ${myconf}
68 + econf "${myconf[@]}"
69 }
70
71 src_install() {
72 default
73
74 insinto /etc/X11/xinit/xinput.d
75 - sed -e "s:@EPREFIX@:${EPREFIX}:g" "${FILESDIR}/xinput-${PN}" | newins - "${PN}.conf"
76 + sed -e "s:@EPREFIX@:${EPREFIX}:g" "${FILESDIR}"/xinput-${PN} | newins - ${PN}.conf
77 }
78
79 pkg_postinst() {