summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-03-05 08:07:59 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-03-05 08:07:59 +0000
commitcc0b497fd35fb5b4d6a81744e86a80dfd937f854 (patch)
treeea54accc475843a48ecc9cd829a77ac3a36d947b /games-arcade/performous
parent2.2.0_alpha90 version bump. This fixes bug #399863 (autounmask message (diff)
downloadgentoo-2-cc0b497fd35fb5b4d6a81744e86a80dfd937f854.tar.gz
gentoo-2-cc0b497fd35fb5b4d6a81744e86a80dfd937f854.tar.bz2
gentoo-2-cc0b497fd35fb5b4d6a81744e86a80dfd937f854.zip
Respect LINGUAS settings. Bug #406551
(Portage version: 2.1.10.49/cvs/Linux i686)
Diffstat (limited to 'games-arcade/performous')
-rw-r--r--games-arcade/performous/ChangeLog5
-rw-r--r--games-arcade/performous/performous-0.6.1.ebuild11
2 files changed, 14 insertions, 2 deletions
diff --git a/games-arcade/performous/ChangeLog b/games-arcade/performous/ChangeLog
index 4815d1afd673..7f7d18939592 100644
--- a/games-arcade/performous/ChangeLog
+++ b/games-arcade/performous/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/performous
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/ChangeLog,v 1.2 2012/02/27 09:15:27 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/ChangeLog,v 1.3 2012/03/05 08:07:59 tupone Exp $
+
+ 05 Mar 2012; Tupone Alfredo <tupone@gentoo.org> performous-0.6.1.ebuild:
+ Respect LINGUAS settings. Bug #406551 by Piotr Szymaniak
27 Feb 2012; Tupone Alfredo <tupone@gentoo.org> performous-0.6.1.ebuild:
Fixing dodoc. Bug #405925 by Dennis Schridde
diff --git a/games-arcade/performous/performous-0.6.1.ebuild b/games-arcade/performous/performous-0.6.1.ebuild
index e95f845f6a17..da0165fc165c 100644
--- a/games-arcade/performous/performous-0.6.1.ebuild
+++ b/games-arcade/performous/performous-0.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/performous-0.6.1.ebuild,v 1.2 2012/02/27 09:15:27 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/performous-0.6.1.ebuild,v 1.3 2012/03/05 08:07:59 tupone Exp $
EAPI=3
@@ -28,6 +28,10 @@ LICENSE="GPL-2
SLOT="0"
KEYWORDS="~x86"
IUSE="songs tools"
+LANGS="da de es fi fr hu it ja nl sv"
+for X in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${X}"
+done
RDEPEND="dev-cpp/glibmm
dev-cpp/libxmlpp
@@ -67,6 +71,11 @@ src_prepare() {
-e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \
game/CMakeLists.txt \
|| die "sed failed"
+ cd lang
+ for X in $LANGS
+ do
+ use linguas_$X || rm $X.po
+ done
}
src_configure() {