summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2016-06-26 09:43:27 +0200
committerUlrich Müller <ulm@gentoo.org>2016-06-26 09:43:27 +0200
commitac96f4a459f493d6b6e67eeafa1412fc19df2ab6 (patch)
tree83e3185efeb4e8207ca1c29a2ae21d049fc06d20 /games-rpg/dreamweb
parentnet-misc/youtube-dl: Old. (diff)
downloadgentoo-ac96f4a459f493d6b6e67eeafa1412fc19df2ab6.tar.gz
gentoo-ac96f4a459f493d6b6e67eeafa1412fc19df2ab6.tar.bz2
gentoo-ac96f4a459f493d6b6e67eeafa1412fc19df2ab6.zip
games-rpg/dreamweb: Migrate from LINGUAS to L10N.
Package-Manager: portage-2.3.0
Diffstat (limited to 'games-rpg/dreamweb')
-rw-r--r--games-rpg/dreamweb/dreamweb-1.1.ebuild49
1 files changed, 24 insertions, 25 deletions
diff --git a/games-rpg/dreamweb/dreamweb-1.1.ebuild b/games-rpg/dreamweb/dreamweb-1.1.ebuild
index b7dc6e810684..b7ab5c2aed21 100644
--- a/games-rpg/dreamweb/dreamweb-1.1.ebuild
+++ b/games-rpg/dreamweb/dreamweb-1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -8,21 +8,20 @@ inherit unpacker eutils games
DESCRIPTION="Top-down adventure game set in a gritty futuristic/dystopian city"
HOMEPAGE="http://wiki.scummvm.org/index.php/Dreamweb"
SRC_URI="doc? ( mirror://sourceforge/scummvm/${PN}-manuals-en-highres.zip )
- linguas_de? ( mirror://sourceforge/scummvm/${PN}-cd-de-${PV}.zip )
- linguas_en? ( mirror://sourceforge/scummvm/${PN}-cd-us-${PV}.zip )
- linguas_en_GB? ( mirror://sourceforge/scummvm/${PN}-cd-uk-${PV}.zip )
- linguas_en_US? ( mirror://sourceforge/scummvm/${PN}-cd-us-${PV}.zip )
- linguas_es? ( mirror://sourceforge/scummvm/${PN}-cd-es-${PV}.zip )
- linguas_fr? ( mirror://sourceforge/scummvm/${PN}-cd-fr-${PV}.zip )
- linguas_it? ( mirror://sourceforge/scummvm/${PN}-cd-it-${PV}.zip )
- !linguas_de? ( !linguas_en? ( !linguas_en_GB? ( !linguas_en_US? ( !linguas_es? ( !linguas_fr? ( !linguas_it? \
- ( mirror://sourceforge/scummvm/${PN}-cd-us-${PV}.zip ) ) ) ) ) ) )
+ l10n_de? ( mirror://sourceforge/scummvm/${PN}-cd-de-${PV}.zip )
+ l10n_en? ( mirror://sourceforge/scummvm/${PN}-cd-us-${PV}.zip )
+ l10n_en-GB? ( mirror://sourceforge/scummvm/${PN}-cd-uk-${PV}.zip )
+ l10n_es? ( mirror://sourceforge/scummvm/${PN}-cd-es-${PV}.zip )
+ l10n_fr? ( mirror://sourceforge/scummvm/${PN}-cd-fr-${PV}.zip )
+ l10n_it? ( mirror://sourceforge/scummvm/${PN}-cd-it-${PV}.zip )
+ !l10n_de? ( !l10n_en? ( !l10n_en-GB? ( !l10n_es? ( !l10n_fr? ( !l10n_it? \
+ ( mirror://sourceforge/scummvm/${PN}-cd-us-${PV}.zip ) ) ) ) ) )
http://www.scummvm.org/images/cat-dreamweb.png"
LICENSE="Dreamweb"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="doc linguas_de linguas_en linguas_en_GB linguas_en_US linguas_es linguas_fr linguas_it"
+IUSE="doc l10n_de l10n_en l10n_en-GB l10n_es l10n_fr l10n_it"
RDEPEND=">=games-engines/scummvm-1.7[flac]"
DEPEND="$(unpacker_src_uri_depends)"
@@ -30,33 +29,33 @@ DEPEND="$(unpacker_src_uri_depends)"
S=${WORKDIR}
src_unpack() {
- if use linguas_de ; then
+ if use l10n_de ; then
mkdir -p "${S}"/de || die
cd "${S}"/de || die
unpacker ${PN}-cd-de-${PV}.zip
fi
- if use linguas_en || use linguas_en_US || ( ! use linguas_de && ! use linguas_en && ! use linguas_en_GB && \
- ! use linguas_en_US && ! use linguas_es && ! use linguas_fr && ! use linguas_it ) ; then
+ if use l10n_en || ( ! use l10n_de && ! use l10n_en && ! use l10n_en-GB && \
+ ! use l10n_es && ! use l10n_fr && ! use l10n_it ) ; then
mkdir -p "${S}"/en_US || die
cd "${S}"/en_US || die
unpacker ${PN}-cd-us-${PV}.zip
fi
- if use linguas_en_GB ; then
+ if use l10n_en-GB ; then
mkdir -p "${S}"/en_GB || die
cd "${S}"/en_GB || die
unpacker ${PN}-cd-uk-${PV}.zip
fi
- if use linguas_es ; then
+ if use l10n_es ; then
mkdir -p "${S}"/es || die
cd "${S}"/es || die
unpacker ${PN}-cd-es-${PV}.zip
fi
- if use linguas_fr ; then
+ if use l10n_fr ; then
mkdir -p "${S}"/fr || die
cd "${S}"/fr || die
unpacker ${PN}-cd-fr-${PV}.zip
fi
- if use linguas_it ; then
+ if use l10n_it ; then
mkdir -p "${S}"/it || die
cd "${S}"/it || die
unpacker ${PN}-cd-it-${PV}.zip
@@ -75,33 +74,33 @@ src_prepare() {
src_install() {
insinto "${GAMES_DATADIR}"/${PN}
newicon "${DISTDIR}"/cat-dreamweb.png dreamweb.png
- if use linguas_de ; then
+ if use l10n_de ; then
doins -r de
games_make_wrapper dreamweb-de "scummvm -f -p \"${GAMES_DATADIR}/${PN}/de\" dreamweb" .
make_desktop_entry ${PN}-de "Dreamweb (Deutsch)" dreamweb
fi
- if use linguas_en || use linguas_en_US || ( ! use linguas_de && ! use linguas_en && ! use linguas_en_GB && \
- ! use linguas_en_US && ! use linguas_es && ! use linguas_fr && ! use linguas_it ) ; then
+ if use l10n_en || ( ! use l10n_de && ! use l10n_en && ! use l10n_en-GB && \
+ ! use l10n_es && ! use l10n_fr && ! use l10n_it ) ; then
doins -r en_US
games_make_wrapper dreamweb-en_US "scummvm -f -p \"${GAMES_DATADIR}/${PN}/en_US\" dreamweb" .
make_desktop_entry ${PN}-en_US "Dreamweb (US English)" dreamweb
fi
- if use linguas_en_GB ; then
+ if use l10n_en-GB ; then
doins -r en_GB
games_make_wrapper dreamweb-en_GB "scummvm -f -p \"${GAMES_DATADIR}/${PN}/en_GB\" dreamweb" .
make_desktop_entry ${PN}-en_GB "Dreamweb (UK English)" dreamweb
fi
- if use linguas_es ; then
+ if use l10n_es ; then
doins -r es
games_make_wrapper dreamweb-es "scummvm -f -p \"${GAMES_DATADIR}/${PN}/es\" dreamweb" .
make_desktop_entry ${PN}-es "Dreamweb (Español)" dreamweb
fi
- if use linguas_fr ; then
+ if use l10n_fr ; then
doins -r fr
games_make_wrapper dreamweb-fr "scummvm -f -p \"${GAMES_DATADIR}/${PN}/fr\" dreamweb" .
make_desktop_entry ${PN}-fr "Dreamweb (Français)" dreamweb
fi
- if use linguas_it ; then
+ if use l10n_it ; then
doins -r it
games_make_wrapper dreamweb-it "scummvm -f -p \"${GAMES_DATADIR}/${PN}/it\" dreamweb" .
make_desktop_entry ${PN}-it "Dreamweb (Italiano)" dreamweb