summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-06-05 21:29:36 +0000
committerJeroen Roovers <jer@gentoo.org>2014-06-05 21:29:36 +0000
commite2d62cb7f79dfbd0a1d6fa34983bcefbce0bfacd (patch)
treea394bff74ee042f24bc0424190a9a39c03896d93 /x11-misc
parentVersion bump. (diff)
downloadgentoo-2-e2d62cb7f79dfbd0a1d6fa34983bcefbce0bfacd.tar.gz
gentoo-2-e2d62cb7f79dfbd0a1d6fa34983bcefbce0bfacd.tar.bz2
gentoo-2-e2d62cb7f79dfbd0a1d6fa34983bcefbce0bfacd.zip
Install all linguas when LINGUAS is unset.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/easystroke/ChangeLog5
-rw-r--r--x11-misc/easystroke/easystroke-0.6.0-r1.ebuild16
2 files changed, 13 insertions, 8 deletions
diff --git a/x11-misc/easystroke/ChangeLog b/x11-misc/easystroke/ChangeLog
index 5738a86515ed..f734a55611b6 100644
--- a/x11-misc/easystroke/ChangeLog
+++ b/x11-misc/easystroke/ChangeLog
@@ -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 <jer@gentoo.org> easystroke-0.6.0-r1.ebuild:
+ Install all linguas when LINGUAS is unset.
*easystroke-0.6.0-r1 (04 Jun 2014)
diff --git a/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild b/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild
index f8d2578a5168..7f9b9e8e0aea 100644
--- a/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild
+++ b/x11-misc/easystroke/easystroke-0.6.0-r1.ebuild
@@ -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 @@ src_prepare() {
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() {