jer         14/06/05 21:29:37

  Modified:             ChangeLog easystroke-0.6.0-r1.ebuild
  Log:
  Install all linguas when LINGUAS is unset.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.3                  x11-misc/easystroke/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/ChangeLog?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/ChangeLog?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/easystroke/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog   4 Jun 2014 17:37:08 -0000       1.2
+++ ChangeLog   5 Jun 2014 21:29:36 -0000       1.3
@@ -1,6 +1,9 @@
 # ChangeLog for x11-misc/easystroke
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/easystroke/ChangeLog,v 1.2 
2014/06/04 17:37:08 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/easystroke/ChangeLog,v 1.3 
2014/06/05 21:29:36 jer Exp $
+
+  05 Jun 2014; Jeroen Roovers <[email protected]> easystroke-0.6.0-r1.ebuild:
+  Install all linguas when LINGUAS is unset.
 
 *easystroke-0.6.0-r1 (04 Jun 2014)
 



1.2                  x11-misc/easystroke/easystroke-0.6.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild?rev=1.2&view=markup
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
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild?r1=1.1&r2=1.2

Index: easystroke-0.6.0-r1.ebuild
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- easystroke-0.6.0-r1.ebuild  4 Jun 2014 17:37:08 -0000       1.1
+++ easystroke-0.6.0-r1.ebuild  5 Jun 2014 21:29:36 -0000       1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $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 $
+# $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 $
 
 EAPI=5
 inherit eutils toolchain-funcs
@@ -40,13 +40,15 @@
 
        tc-export CC CXX PKG_CONFIG
 
-       strip-linguas -i po/
+       if ! [[ -z ${LINGUAS} ]]; then
+               strip-linguas -i po/
 
-       local es_lingua lang
-       for es_lingua in $( printf "%s\n" po/*.po ); do
-               lang=${es_lingua/po\/}
-               has ${lang/.po/} ${LINGUAS} || rm ${es_lingua}
-       done
+               local es_lingua lang
+               for es_lingua in $( printf "%s\n" po/*.po ); do
+                       lang=${es_lingua/po\/}
+                       has ${lang/.po/} ${LINGUAS} || rm ${es_lingua}
+               done
+       fi
 }
 
 src_compile() {




Reply via email to