1 |
commit: fe3f3f5e4e01d254c3c569ad8a243bd6de073b4e |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 26 08:13:28 2016 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 26 08:13:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe3f3f5e |
7 |
|
8 |
games-rpg/soltys: Migrate from LINGUAS to L10N. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
games-rpg/soltys/soltys-1.0-r1.ebuild | 24 ++++++++++++------------ |
13 |
1 file changed, 12 insertions(+), 12 deletions(-) |
14 |
|
15 |
diff --git a/games-rpg/soltys/soltys-1.0-r1.ebuild b/games-rpg/soltys/soltys-1.0-r1.ebuild |
16 |
index e8b8abe..31bf842 100644 |
17 |
--- a/games-rpg/soltys/soltys-1.0-r1.ebuild |
18 |
+++ b/games-rpg/soltys/soltys-1.0-r1.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2015 Gentoo Foundation |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
@@ -7,16 +7,16 @@ inherit unpacker eutils games |
26 |
|
27 |
DESCRIPTION="Classic adventure game" |
28 |
HOMEPAGE="http://wiki.scummvm.org/index.php/Soltys" |
29 |
-SRC_URI="linguas_en? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip ) |
30 |
- linguas_es? ( mirror://sourceforge/scummvm/${PN}-es-v${PV}.zip ) |
31 |
- linguas_pl? ( mirror://sourceforge/scummvm/${PN}-pl-v${PV}.zip ) |
32 |
- !linguas_en? ( !linguas_es? ( !linguas_pl? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip ) ) ) |
33 |
+SRC_URI="l10n_en? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip ) |
34 |
+ l10n_es? ( mirror://sourceforge/scummvm/${PN}-es-v${PV}.zip ) |
35 |
+ l10n_pl? ( mirror://sourceforge/scummvm/${PN}-pl-v${PV}.zip ) |
36 |
+ !l10n_en? ( !l10n_es? ( !l10n_pl? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip ) ) ) |
37 |
http://www.scummvm.org/images/cat-soltys.png" |
38 |
|
39 |
LICENSE="Soltys" |
40 |
SLOT="0" |
41 |
KEYWORDS="amd64 x86" |
42 |
-IUSE="linguas_en linguas_es linguas_pl" |
43 |
+IUSE="l10n_en l10n_es l10n_pl" |
44 |
|
45 |
RDEPEND=">=games-engines/scummvm-1.5" |
46 |
DEPEND="$(unpacker_src_uri_depends)" |
47 |
@@ -24,17 +24,17 @@ DEPEND="$(unpacker_src_uri_depends)" |
48 |
S=${WORKDIR} |
49 |
|
50 |
src_unpack() { |
51 |
- if use linguas_en || ( ! use linguas_en && ! use linguas_es && ! use linguas_pl ) ; then |
52 |
+ if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then |
53 |
mkdir -p en || die |
54 |
unpacker ${PN}-en-v${PV}.zip |
55 |
mv vol.{cat,dat} en/ || die |
56 |
fi |
57 |
- if use linguas_es ; then |
58 |
+ if use l10n_es ; then |
59 |
mkdir -p es || die |
60 |
unpacker ${PN}-es-v${PV}.zip |
61 |
mv soltys-es-v1-0/vol.{cat,dat} es/ || die |
62 |
fi |
63 |
- if use linguas_pl ; then |
64 |
+ if use l10n_pl ; then |
65 |
mkdir -p pl || die |
66 |
unpacker ${PN}-pl-v${PV}.zip |
67 |
mv vol.{cat,dat} pl/ || die |
68 |
@@ -49,15 +49,15 @@ src_install() { |
69 |
insinto "${GAMES_DATADIR}"/${PN} |
70 |
doins -r * |
71 |
newicon "${DISTDIR}"/cat-soltys.png soltys.png |
72 |
- if use linguas_en || ( ! use linguas_en && ! use linguas_es && ! use linguas_pl ) ; then |
73 |
+ if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then |
74 |
games_make_wrapper soltys-en "scummvm -f -p \"${GAMES_DATADIR}/${PN}/en\" soltys" . |
75 |
make_desktop_entry ${PN}-en "Soltys (English)" soltys |
76 |
fi |
77 |
- if use linguas_es ; then |
78 |
+ if use l10n_es ; then |
79 |
games_make_wrapper soltys-es "scummvm -f -p \"${GAMES_DATADIR}/${PN}/es\" soltys" . |
80 |
make_desktop_entry ${PN}-es "Soltys (Español)" soltys |
81 |
fi |
82 |
- if use linguas_pl ; then |
83 |
+ if use l10n_pl ; then |
84 |
games_make_wrapper soltys-pl "scummvm -f -p \"${GAMES_DATADIR}/${PN}/pl\" soltys" . |
85 |
make_desktop_entry ${PN}-pl "Soltys (Polski)" soltys |
86 |
fi |