Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/easystroke: ChangeLog easystroke-0.6.0-r1.ebuild
Date: Thu, 05 Jun 2014 21:29:41
Message-Id: 20140605212937.32F312004E@flycatcher.gentoo.org
1 jer 14/06/05 21:29:37
2
3 Modified: ChangeLog easystroke-0.6.0-r1.ebuild
4 Log:
5 Install all linguas when LINGUAS is unset.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
8
9 Revision Changes Path
10 1.3 x11-misc/easystroke/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/easystroke/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 4 Jun 2014 17:37:08 -0000 1.2
23 +++ ChangeLog 5 Jun 2014 21:29:36 -0000 1.3
24 @@ -1,6 +1,9 @@
25 # ChangeLog for x11-misc/easystroke
26 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/easystroke/ChangeLog,v 1.2 2014/06/04 17:37:08 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/easystroke/ChangeLog,v 1.3 2014/06/05 21:29:36 jer Exp $
29 +
30 + 05 Jun 2014; Jeroen Roovers <jer@g.o> easystroke-0.6.0-r1.ebuild:
31 + Install all linguas when LINGUAS is unset.
32
33 *easystroke-0.6.0-r1 (04 Jun 2014)
34
35
36
37
38 1.2 x11-misc/easystroke/easystroke-0.6.0-r1.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild?r1=1.1&r2=1.2
43
44 Index: easystroke-0.6.0-r1.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- easystroke-0.6.0-r1.ebuild 4 Jun 2014 17:37:08 -0000 1.1
51 +++ easystroke-0.6.0-r1.ebuild 5 Jun 2014 21:29:36 -0000 1.2
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild,v 1.1 2014/06/04 17:37:08 jer Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild,v 1.2 2014/06/05 21:29:36 jer Exp $
57
58 EAPI=5
59 inherit eutils toolchain-funcs
60 @@ -40,13 +40,15 @@
61
62 tc-export CC CXX PKG_CONFIG
63
64 - strip-linguas -i po/
65 + if ! [[ -z ${LINGUAS} ]]; then
66 + strip-linguas -i po/
67
68 - local es_lingua lang
69 - for es_lingua in $( printf "%s\n" po/*.po ); do
70 - lang=${es_lingua/po\/}
71 - has ${lang/.po/} ${LINGUAS} || rm ${es_lingua}
72 - done
73 + local es_lingua lang
74 + for es_lingua in $( printf "%s\n" po/*.po ); do
75 + lang=${es_lingua/po\/}
76 + has ${lang/.po/} ${LINGUAS} || rm ${es_lingua}
77 + done
78 + fi
79 }
80
81 src_compile() {