1 |
commit: 5814f48149b1c297f5b5647c40fb84660b3e97c8 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 26 07:55:24 2016 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 26 07:55:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5814f481 |
7 |
|
8 |
games-rpg/draci-historie: Migrate from LINGUAS to L10N. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
.../draci-historie/draci-historie-2012.ebuild | 30 +++++++++++----------- |
13 |
1 file changed, 15 insertions(+), 15 deletions(-) |
14 |
|
15 |
diff --git a/games-rpg/draci-historie/draci-historie-2012.ebuild b/games-rpg/draci-historie/draci-historie-2012.ebuild |
16 |
index c0f53b5..3aea076 100644 |
17 |
--- a/games-rpg/draci-historie/draci-historie-2012.ebuild |
18 |
+++ b/games-rpg/draci-historie/draci-historie-2012.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 |
@@ -8,16 +8,16 @@ inherit unpacker eutils games |
26 |
DESCRIPTION="Bert the little dragon searches for his father" |
27 |
HOMEPAGE="http://www.ucw.cz/draci-historie/index-en.html" |
28 |
BASE_URL="http://www.ucw.cz/draci-historie/binary/dh" |
29 |
-SRC_URI="linguas_cs? ( ${BASE_URL}-cz-${PV}.zip ) |
30 |
- linguas_de? ( ${BASE_URL}-de-${PV}.zip ) |
31 |
- linguas_en? ( ${BASE_URL}-en-${PV}.zip ) |
32 |
- linguas_pl? ( ${BASE_URL}-pl-${PV}.zip ) |
33 |
- !linguas_cs? ( !linguas_de? ( !linguas_en? ( !linguas_pl? ( ${BASE_URL}-en-${PV}.zip ) ) ) )" |
34 |
+SRC_URI="l10n_cs? ( ${BASE_URL}-cz-${PV}.zip ) |
35 |
+ l10n_de? ( ${BASE_URL}-de-${PV}.zip ) |
36 |
+ l10n_en? ( ${BASE_URL}-en-${PV}.zip ) |
37 |
+ l10n_pl? ( ${BASE_URL}-pl-${PV}.zip ) |
38 |
+ !l10n_cs? ( !l10n_de? ( !l10n_en? ( !l10n_pl? ( ${BASE_URL}-en-${PV}.zip ) ) ) )" |
39 |
|
40 |
LICENSE="GPL-2" |
41 |
SLOT="0" |
42 |
KEYWORDS="amd64 x86" |
43 |
-IUSE="linguas_cs linguas_de linguas_en linguas_pl" |
44 |
+IUSE="l10n_cs l10n_de l10n_en l10n_pl" |
45 |
|
46 |
RDEPEND=">=games-engines/scummvm-1.1" |
47 |
DEPEND="$(unpacker_src_uri_depends)" |
48 |
@@ -25,22 +25,22 @@ DEPEND="$(unpacker_src_uri_depends)" |
49 |
S=${WORKDIR} |
50 |
|
51 |
src_unpack() { |
52 |
- if use linguas_en || ( ! use linguas_cs && ! use linguas_de && ! use linguas_en && ! use linguas_pl ) ; then |
53 |
+ if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then |
54 |
mkdir en || die |
55 |
unpacker dh-en-${PV}.zip |
56 |
mv *.{dfw,fon,mid,sam} en/ || die |
57 |
fi |
58 |
- if use linguas_cs ; then |
59 |
+ if use l10n_cs ; then |
60 |
mkdir cs || die |
61 |
unpacker dh-cz-${PV}.zip |
62 |
mv *.{dfw,fon,mid,sam,zzz} cs/ || die |
63 |
fi |
64 |
- if use linguas_de ; then |
65 |
+ if use l10n_de ; then |
66 |
mkdir de || die |
67 |
unpacker dh-de-${PV}.zip |
68 |
mv *.{dfw,fon,mid,sam} de/ || die |
69 |
fi |
70 |
- if use linguas_pl ; then |
71 |
+ if use l10n_pl ; then |
72 |
mkdir pl || die |
73 |
unpacker dh-pl-${PV}.zip |
74 |
mv *.{dfw,fon,mid,sam,zzz} pl/ || die |
75 |
@@ -57,19 +57,19 @@ src_install() { |
76 |
for lingua in $(find * -type d); do |
77 |
doins -r ${lingua} |
78 |
done |
79 |
- if use linguas_en || ( ! use linguas_cs && ! use linguas_de && ! use linguas_en && ! use linguas_pl ) ; then |
80 |
+ if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then |
81 |
games_make_wrapper draci-historie-en "scummvm -f -p \"${GAMES_DATADIR}/${PN}/en\" draci" . |
82 |
make_desktop_entry ${PN}-en "Dračí Historie (English)" /usr/share/pixmaps/draci-historie.ico |
83 |
fi |
84 |
- if use linguas_cs ; then |
85 |
+ if use l10n_cs ; then |
86 |
games_make_wrapper draci-historie-cs "scummvm -f -p \"${GAMES_DATADIR}/${PN}/cs\" draci" . |
87 |
make_desktop_entry ${PN}-cs "Dračí Historie (Čeština)" /usr/share/pixmaps/draci-historie.ico |
88 |
fi |
89 |
- if use linguas_de ; then |
90 |
+ if use l10n_de ; then |
91 |
games_make_wrapper draci-historie-de "scummvm -f -p \"${GAMES_DATADIR}/${PN}/de\" draci" . |
92 |
make_desktop_entry ${PN}-de "Dračí Historie (Deutsch)" /usr/share/pixmaps/draci-historie.ico |
93 |
fi |
94 |
- if use linguas_pl ; then |
95 |
+ if use l10n_pl ; then |
96 |
games_make_wrapper draci-historie-pl "scummvm -f -p \"${GAMES_DATADIR}/${PN}/pl\" draci" . |
97 |
make_desktop_entry ${PN}-pl "Dračí Historie (Polski)" /usr/share/pixmaps/draci-historie.ico |
98 |
fi |