Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/drascula/
Date: Sun, 26 Jun 2016 08:37:31
Message-Id: 1466927822.7276e13a91ee1f7a233734db1af7d6371215fa89.ulm@gentoo
1 commit: 7276e13a91ee1f7a233734db1af7d6371215fa89
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 07:57:02 2016 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 07:57:02 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7276e13a
7
8 games-rpg/drascula: Migrate from LINGUAS to L10N.
9
10 Package-Manager: portage-2.3.0
11
12 games-rpg/drascula/drascula-1.0-r2.ebuild | 16 ++++++++--------
13 1 file changed, 8 insertions(+), 8 deletions(-)
14
15 diff --git a/games-rpg/drascula/drascula-1.0-r2.ebuild b/games-rpg/drascula/drascula-1.0-r2.ebuild
16 index 3eda74a..2a6bcfc 100644
17 --- a/games-rpg/drascula/drascula-1.0-r2.ebuild
18 +++ b/games-rpg/drascula/drascula-1.0-r2.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2014 Gentoo Foundation
21 +# Copyright 1999-2016 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 @@ -14,15 +14,15 @@ HOMEPAGE="http://www.alcachofasoft.com/"
26 SRC_URI="mirror://sourceforge/scummvm/drascula-${PV}.zip
27 https://github.com/scummvm/scummvm/raw/v1.5.0/dists/engine-data/drascula.dat -> drascula-${DAT_PV}.dat
28 sound? ( mirror://sourceforge/scummvm/drascula-audio-${AUD_PV}.zip )
29 - linguas_es? ( ${INT_URI} )
30 - linguas_de? ( ${INT_URI} )
31 - linguas_fr? ( ${INT_URI} )
32 - linguas_it? ( ${INT_URI} )"
33 + l10n_es? ( ${INT_URI} )
34 + l10n_de? ( ${INT_URI} )
35 + l10n_fr? ( ${INT_URI} )
36 + l10n_it? ( ${INT_URI} )"
37
38 LICENSE="drascula"
39 SLOT="0"
40 KEYWORDS="amd64 x86"
41 -IUSE="linguas_es linguas_de linguas_fr linguas_it +sound"
42 +IUSE="l10n_es l10n_de l10n_fr l10n_it +sound"
43 RESTRICT="mirror"
44
45 RDEPEND=">=games-engines/scummvm-0.13.1"
46 @@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
47 S=${WORKDIR}
48
49 src_unpack() {
50 - if use linguas_es || use linguas_de || use linguas_fr || use linguas_it; then
51 + if use l10n_es || use l10n_de || use l10n_fr || use l10n_it; then
52 unpack drascula-int-${INT_PV}.zip
53 fi
54 if use sound; then
55 @@ -47,7 +47,7 @@ src_install() {
56 games_make_wrapper ${PN} "scummvm -f -p \"${GAMES_DATADIR}/${PN}\" drascula" .
57 for lang in es de fr it
58 do
59 - if use linguas_${lang} ; then
60 + if use l10n_${lang} ; then
61 games_make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"${GAMES_DATADIR}/${PN}\" drascula" .
62 make_desktop_entry ${PN}-${lang} "Drascula: The Vampire Strikes Back (${lang})" ${PN}
63 fi