Gentoo Archives: gentoo-commits

From: Christian Schmitt <chris@××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-simulation/kerbal-space-program/
Date: Sun, 09 Sep 2018 07:01:23
Message-Id: 1536476406.c4bf54dcf5d6ce68622a493fa51c35c3f3fc215a.christian@gentoo
1 commit: c4bf54dcf5d6ce68622a493fa51c35c3f3fc215a
2 Author: Christian Schmitt <chris <AT> ilovelinux <DOT> de>
3 AuthorDate: Sun Sep 9 06:59:10 2018 +0000
4 Commit: Christian Schmitt <chris <AT> ilovelinux <DOT> de>
5 CommitDate: Sun Sep 9 07:00:06 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=c4bf54dc
7
8 [games-simulation/kerbal-space-program] Version bump
9
10 ...ild => kerbal-space-program-1.4.5.02243.ebuild} | 22 +++++++++++++++-------
11 1 file changed, 15 insertions(+), 7 deletions(-)
12
13 diff --git a/games-simulation/kerbal-space-program/kerbal-space-program-1.3.1.1891.ebuild b/games-simulation/kerbal-space-program/kerbal-space-program-1.4.5.02243.ebuild
14 similarity index 69%
15 rename from games-simulation/kerbal-space-program/kerbal-space-program-1.3.1.1891.ebuild
16 rename to games-simulation/kerbal-space-program/kerbal-space-program-1.4.5.02243.ebuild
17 index 8bcfab3..e61c442 100644
18 --- a/games-simulation/kerbal-space-program/kerbal-space-program-1.3.1.1891.ebuild
19 +++ b/games-simulation/kerbal-space-program/kerbal-space-program-1.4.5.02243.ebuild
20 @@ -8,13 +8,17 @@ inherit eutils
21 DESCRIPTION="A space flight simulation"
22 HOMEPAGE="http://kerbalspaceprogram.com/"
23
24 -GOG_MAGIC="1_3_1_15547"
25 +GOG_MAGIC="22594"
26
27 -SRC_PH="${PN//-/_}@PH@_${GOG_MAGIC}.sh"
28 +SRC_PH="${PN//-/_}@PH@_${PV//./_}_${GOG_MAGIC}.sh"
29 SRC_URI="
30 + l10n_de? ( ${SRC_PH//@PH@/_de} )
31 l10n_en? ( ${SRC_PH//@PH@/_en} )
32 l10n_es? ( ${SRC_PH//@PH@/_es} )
33 + l10n_fr? ( ${SRC_PH//@PH@/_fr} )
34 + l10n_it? ( ${SRC_PH//@PH@/_it} )
35 l10n_ja? ( ${SRC_PH//@PH@/_ja} )
36 + l10n_pt-BR? ( ${SRC_PH//@PH@/_pt} )
37 l10n_ru? ( ${SRC_PH//@PH@/_ru} )
38 l10n_zh-CN? ( ${SRC_PH//@PH@/_zh} )
39 "
40 @@ -25,7 +29,7 @@ LICENSE="EULA"
41 SLOT="0"
42 KEYWORDS="amd64 x86"
43
44 -L10NS="l10n_en l10n_es l10n_ja l10n_ru l10n_zh-CN"
45 +L10NS="l10n_de l10n_en l10n_es l10n_fr l10n_it l10n_ja l10n_pt-BR l10n_ru l10n_zh-CN"
46 IUSE="${L10NS}"
47 REQUIRED_USE="^^ ( ${L10NS} )"
48
49 @@ -65,10 +69,14 @@ src_unpack() {
50
51 cd "${S}"
52
53 - use l10n_es && unzip -oq KSP-LANG-ES-ES.zip && rm KSP-LANG-ES-ES.zip
54 - use l10n_ja && unzip -oq KSP-LANG-JA.zip && rm KSP-LANG-JA.zip
55 - use l10n_ru && unzip -oq KSP-LANG-RU.zip && rm KSP-LANG-RU.zip
56 - use l10n_zh-CN && unzip -oq KSP-LANG-ZH-CN.zip && rm KSP-LANG-ZH-CN.zip
57 + use l10n_de && unzip -oq ksp-lang-de-de.zip && rm ksp-lang-de-de.zip
58 + use l10n_es && unzip -oq ksp-lang-es-es.zip && rm ksp-lang-es-es.zip
59 + use l10n_fr && unzip -oq ksp-lang-fr-fr.zip && rm ksp-lang-fr-fr.zip
60 + use l10n_it && unzip -oq ksp-lang-it-it.zip && rm ksp-lang-it-it.zip
61 + use l10n_ja && unzip -oq ksp-lang-ja.zip && rm ksp-lang-ja.zip
62 + use l10n_pt-BR && unzip -oq ksp-lang-pt-br.zip && rm ksp-lang-pt-br.zip
63 + use l10n_ru && unzip -oq ksp-lang-ru.zip && rm ksp-lang-ru.zip
64 + use l10n_zh-CN && unzip -oq ksp-lang-zh-cn.zip && rm ksp-lang-zh-cn.zip
65
66 rm -r "${WORKDIR}/tmp"