summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2016-06-26 10:05:56 +0200
committerUlrich Müller <ulm@gentoo.org>2016-06-26 10:05:56 +0200
commitbaa28f8b07296c6c112e7583e4dde3c87ecd2222 (patch)
tree6c8f94e5f0aa160d982c3460830a64a5b2396327 /games-rpg/queen
parentgames-rpg/drascula: Migrate from LINGUAS to L10N. (diff)
downloadgentoo-baa28f8b07296c6c112e7583e4dde3c87ecd2222.tar.gz
gentoo-baa28f8b07296c6c112e7583e4dde3c87ecd2222.tar.bz2
gentoo-baa28f8b07296c6c112e7583e4dde3c87ecd2222.zip
games-rpg/queen: Migrate from LINGUAS to L10N.
Package-Manager: portage-2.3.0
Diffstat (limited to 'games-rpg/queen')
-rw-r--r--games-rpg/queen/queen-1.ebuild56
1 files changed, 28 insertions, 28 deletions
diff --git a/games-rpg/queen/queen-1.ebuild b/games-rpg/queen/queen-1.ebuild
index 5be3b64d47da..d1d544f59855 100644
--- a/games-rpg/queen/queen-1.ebuild
+++ b/games-rpg/queen/queen-1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -15,58 +15,58 @@ FILE_FR="FOTAQ_Fr_Talkie_1.0.zip"
FILE_HE="FOTAQ_Heb_talkie.zip"
FILE_IT="FOTAQ_It_Talkie_1.0.zip"
SRC_URI="
- linguas_de? (
+ l10n_de? (
${SF_BASE_URL}${FILE_DE}
${LYS_BASE_URL}readme.txt -> queen-readme.txt
)
- linguas_en? (
+ l10n_en? (
mp3? ( ${SF_BASE_URL}${FILE_EN} )
!mp3? (
${LYS_BASE_URL}queen.1.bz2
${LYS_BASE_URL}readme.txt -> queen-readme.txt
)
)
- linguas_fr? ( ${SF_BASE_URL}${FILE_FR} )
- linguas_he? (
+ l10n_fr? ( ${SF_BASE_URL}${FILE_FR} )
+ l10n_he? (
${SF_BASE_URL}${FILE_HE}
${LYS_BASE_URL}readme.txt -> queen-readme.txt
)
- linguas_it? ( ${SF_BASE_URL}${FILE_IT} )
+ l10n_it? ( ${SF_BASE_URL}${FILE_IT} )
http://www.scummvm.org/images/cat-queen.png
"
LICENSE="queen"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
-IUSE="mp3 linguas_de +linguas_en linguas_fr linguas_he linguas_it"
-REQUIRED_USE="|| ( linguas_de linguas_en linguas_fr linguas_he linguas_it )"
+IUSE="mp3 l10n_de +l10n_en l10n_fr l10n_he l10n_it"
+REQUIRED_USE="|| ( l10n_de l10n_en l10n_fr l10n_he l10n_it )"
RDEPEND="
- linguas_de? ( games-engines/scummvm[vorbis] )
- linguas_en? ( games-engines/scummvm[mp3?] )
- linguas_fr? ( games-engines/scummvm[vorbis] )
- linguas_he? ( games-engines/scummvm[vorbis] )
- linguas_it? ( games-engines/scummvm[vorbis] )
+ l10n_de? ( games-engines/scummvm[vorbis] )
+ l10n_en? ( games-engines/scummvm[mp3?] )
+ l10n_fr? ( games-engines/scummvm[vorbis] )
+ l10n_he? ( games-engines/scummvm[vorbis] )
+ l10n_it? ( games-engines/scummvm[vorbis] )
"
DEPEND="${RDEPEND}
- linguas_de? ( app-arch/unzip )
- linguas_en? ( mp3? ( app-arch/unzip ) )
- linguas_fr? ( app-arch/unzip )
- linguas_he? ( app-arch/unzip )
- linguas_it? ( app-arch/unzip )
+ l10n_de? ( app-arch/unzip )
+ l10n_en? ( mp3? ( app-arch/unzip ) )
+ l10n_fr? ( app-arch/unzip )
+ l10n_he? ( app-arch/unzip )
+ l10n_it? ( app-arch/unzip )
"
S=${WORKDIR}
src_unpack() {
- if use linguas_de ; then
+ if use l10n_de ; then
mkdir de
unpack ${FILE_DE}
mv queen.1c de/queen.1c
rm COPYING
cp "${DISTDIR}"/queen-readme.txt de/readme.txt
fi
- if use linguas_en ; then
+ if use l10n_en ; then
mkdir en
if use mp3 ; then
unpack ${FILE_EN}
@@ -78,20 +78,20 @@ src_unpack() {
cp "${DISTDIR}"/queen-readme.txt en/readme.txt
fi
fi
- if use linguas_fr ; then
+ if use l10n_fr ; then
mkdir fr
unpack ${FILE_FR}
mv queen.1c fr/queen.1c
mv readme.txt fr/readme.txt
fi
- if use linguas_he ; then
+ if use l10n_he ; then
mkdir he
unpack ${FILE_HE}
mv queen.1c he/queen.1c
rm COPYING
cp "${DISTDIR}"/queen-readme.txt he/readme.txt
fi
- if use linguas_it ; then
+ if use l10n_it ; then
mkdir it
unpack ${FILE_IT}
mv queen.1c it/queen.1c
@@ -103,23 +103,23 @@ src_install() {
insinto "${GAMES_DATADIR}"/${PN}
doins -r *
newicon "${DISTDIR}"/cat-queen.png queen.png
- if use linguas_de ; then
+ if use l10n_de ; then
games_make_wrapper queen-de "scummvm -f -p \"${GAMES_DATADIR}/${PN}/de\" queen" .
make_desktop_entry ${PN}-de "Flight of the Amazon Queen (German)" queen
fi
- if use linguas_en ; then
+ if use l10n_en ; then
games_make_wrapper queen-en "scummvm -f -p \"${GAMES_DATADIR}/${PN}/en\" queen" .
make_desktop_entry ${PN}-en "Flight of the Amazon Queen (English)" queen
fi
- if use linguas_fr ; then
+ if use l10n_fr ; then
games_make_wrapper queen-fr "scummvm -f -p \"${GAMES_DATADIR}/${PN}/fr\" queen" .
make_desktop_entry ${PN}-fr "Flight of the Amazon Queen (French)" queen
fi
- if use linguas_he ; then
+ if use l10n_he ; then
games_make_wrapper queen-he "scummvm -f -p \"${GAMES_DATADIR}/${PN}/he\" queen" .
make_desktop_entry ${PN}-he "Flight of the Amazon Queen (Hebrew)" queen
fi
- if use linguas_it ; then
+ if use l10n_it ; then
games_make_wrapper queen-it "scummvm -f -p \"${GAMES_DATADIR}/${PN}/it\" queen" .
make_desktop_entry ${PN}-it "Flight of the Amazon Queen (Italian)" queen
fi