Gentoo Archives: gentoo-commits

From: "Vadim A. Misbakh-Soloviov" <mva@×××.name>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-arcade/capsized/
Date: Fri, 31 May 2013 21:45:30
Message-Id: 1370036712.219856b204725ab7f7a05cd455cb5e7079928fa5.mva@gentoo
commit:     219856b204725ab7f7a05cd455cb5e7079928fa5
Author:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Fri May 31 21:45:12 2013 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Fri May 31 21:45:12 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=219856b2

[games-arcade/capsized] linguas-related fix

Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>

---
 games-arcade/capsized/capsized-05302013.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/games-arcade/capsized/capsized-05302013.ebuild b/games-arcade/capsized/capsized-05302013.ebuild
index 45b0328..eef8689 100644
--- a/games-arcade/capsized/capsized-05302013.ebuild
+++ b/games-arcade/capsized/capsized-05302013.ebuild
@@ -13,7 +13,7 @@ SRC_URI="${PN}-${PV}-bin"
 LICENSE="as-is"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
+IUSE="linguas_de linguas_es linguas_fr linguas_it"
 
 RESTRICT="fetch"
 
@@ -61,12 +61,15 @@ src_install() {
 		mono \
 		"${MY_PN}.bmp" \
 		NePlusUltra.exe \
-		fr it es de \
 		*.dll *.config
 
+	for lang in fr it es de; do
+		use "linguas_${lang}" && doins "${lang}"
+	done
+
+	# Installing bundled sdl2-mixer, since it is still not released [hg only]
 	insinto "${GAMEDIR}/$(get_libdir)"
 	doins "$(get_libdir)/libSDL2_mixer-2.0.so.0"
-#	doins "$(get_libdir)/libtheoraplay.so"
 
 	exeinto "${GAMEDIR}"
 	doexe "NePlusUltra.bin.${arch}"