public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/dreamweb/
@ 2016-06-26  8:37 Ulrich Müller
  0 siblings, 0 replies; 6+ messages in thread
From: Ulrich Müller @ 2016-06-26  8:37 UTC (permalink / raw
  To: gentoo-commits

commit:     ac96f4a459f493d6b6e67eeafa1412fc19df2ab6
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 07:43:27 2016 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 07:43:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac96f4a4

games-rpg/dreamweb: Migrate from LINGUAS to L10N.

Package-Manager: portage-2.3.0

 games-rpg/dreamweb/dreamweb-1.1.ebuild | 49 +++++++++++++++++-----------------
 1 file changed, 24 insertions(+), 25 deletions(-)

diff --git a/games-rpg/dreamweb/dreamweb-1.1.ebuild b/games-rpg/dreamweb/dreamweb-1.1.ebuild
index b7dc6e8..b7ab5c2 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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/dreamweb/
@ 2018-05-01 19:37 Pacho Ramos
  0 siblings, 0 replies; 6+ messages in thread
From: Pacho Ramos @ 2018-05-01 19:37 UTC (permalink / raw
  To: gentoo-commits

commit:     e9f3dc101bb54fd18acb06250a82645596fded4c
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue May  1 17:38:24 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue May  1 19:35:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9f3dc10

games-rpg/dreamweb: Drop old

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-rpg/dreamweb/dreamweb-1.1.ebuild | 109 ---------------------------------
 1 file changed, 109 deletions(-)

diff --git a/games-rpg/dreamweb/dreamweb-1.1.ebuild b/games-rpg/dreamweb/dreamweb-1.1.ebuild
deleted file mode 100644
index 60c9c8118bf..00000000000
--- a/games-rpg/dreamweb/dreamweb-1.1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-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 )
-	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 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)"
-
-S=${WORKDIR}
-
-src_unpack() {
-	if use l10n_de ; then
-		mkdir -p "${S}"/de || die
-		cd "${S}"/de || die
-		unpacker ${PN}-cd-de-${PV}.zip
-	fi
-	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 l10n_en-GB ; then
-		mkdir -p "${S}"/en_GB || die
-		cd "${S}"/en_GB || die
-		unpacker ${PN}-cd-uk-${PV}.zip
-	fi
-	if use l10n_es ; then
-		mkdir -p "${S}"/es || die
-		cd "${S}"/es || die
-		unpacker ${PN}-cd-es-${PV}.zip
-	fi
-	if use l10n_fr ; then
-		mkdir -p "${S}"/fr || die
-		cd "${S}"/fr || die
-		unpacker ${PN}-cd-fr-${PV}.zip
-	fi
-	if use l10n_it ; then
-		mkdir -p "${S}"/it || die
-		cd "${S}"/it || die
-		unpacker ${PN}-cd-it-${PV}.zip
-	fi
-	if use doc ; then
-		mkdir -p "${S}"/doc || die
-		cd "${S}"/doc || die
-		unpacker ${PN}-manuals-en-highres.zip
-	fi
-}
-
-src_prepare() {
-	rm -rf */license.txt */*.EXE || die
-}
-
-src_install() {
-	insinto "${GAMES_DATADIR}"/${PN}
-	newicon "${DISTDIR}"/cat-dreamweb.png dreamweb.png
-	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 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 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 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 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 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
-	fi
-	use doc && dodoc -r doc/*
-	prepgamesdirs
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/dreamweb/
@ 2018-05-01 19:37 Pacho Ramos
  0 siblings, 0 replies; 6+ messages in thread
From: Pacho Ramos @ 2018-05-01 19:37 UTC (permalink / raw
  To: gentoo-commits

commit:     43e3381cc493af7f158a11251f442118845aae8b
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue May  1 17:38:04 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue May  1 19:35:19 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e3381c

games-rpg/dreamweb: Stop using games.eclass

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-rpg/dreamweb/dreamweb-1.1-r1.ebuild | 109 ++++++++++++++++++++++++++++++
 1 file changed, 109 insertions(+)

diff --git a/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
new file mode 100644
index 00000000000..c685cb39ad4
--- /dev/null
+++ b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit unpacker eutils
+
+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 )
+	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 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)"
+
+S="${WORKDIR}"
+
+src_unpack() {
+	if use l10n_de ; then
+		mkdir -p "${S}"/de || die
+		cd "${S}"/de || die
+		unpacker ${PN}-cd-de-${PV}.zip
+	fi
+	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 l10n_en-GB ; then
+		mkdir -p "${S}"/en_GB || die
+		cd "${S}"/en_GB || die
+		unpacker ${PN}-cd-uk-${PV}.zip
+	fi
+	if use l10n_es ; then
+		mkdir -p "${S}"/es || die
+		cd "${S}"/es || die
+		unpacker ${PN}-cd-es-${PV}.zip
+	fi
+	if use l10n_fr ; then
+		mkdir -p "${S}"/fr || die
+		cd "${S}"/fr || die
+		unpacker ${PN}-cd-fr-${PV}.zip
+	fi
+	if use l10n_it ; then
+		mkdir -p "${S}"/it || die
+		cd "${S}"/it || die
+		unpacker ${PN}-cd-it-${PV}.zip
+	fi
+	if use doc ; then
+		mkdir -p "${S}"/doc || die
+		cd "${S}"/doc || die
+		unpacker ${PN}-manuals-en-highres.zip
+	fi
+}
+
+src_prepare() {
+	default
+	rm -rf */license.txt */*.EXE || die
+}
+
+src_install() {
+	insinto /usr/share/${PN}
+	newicon "${DISTDIR}"/cat-dreamweb.png dreamweb.png
+	if use l10n_de ; then
+		doins -r de
+		make_wrapper dreamweb-de "scummvm -f -p \"/usr/share/${PN}/de\" dreamweb" .
+		make_desktop_entry ${PN}-de "Dreamweb (Deutsch)" dreamweb
+	fi
+	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
+		make_wrapper dreamweb-en_US "scummvm -f -p \"/usr/share/${PN}/en_US\" dreamweb" .
+		make_desktop_entry ${PN}-en_US "Dreamweb (US English)" dreamweb
+	fi
+	if use l10n_en-GB ; then
+		doins -r en_GB
+		make_wrapper dreamweb-en_GB "scummvm -f -p \"/usr/share/${PN}/en_GB\" dreamweb" .
+		make_desktop_entry ${PN}-en_GB "Dreamweb (UK English)" dreamweb
+	fi
+	if use l10n_es ; then
+		doins -r es
+		make_wrapper dreamweb-es "scummvm -f -p \"/usr/share/${PN}/es\" dreamweb" .
+		make_desktop_entry ${PN}-es "Dreamweb (Español)" dreamweb
+	fi
+	if use l10n_fr ; then
+		doins -r fr
+		make_wrapper dreamweb-fr "scummvm -f -p \"/usr/share/${PN}/fr\" dreamweb" .
+		make_desktop_entry ${PN}-fr "Dreamweb (Français)" dreamweb
+	fi
+	if use l10n_it ; then
+		doins -r it
+		make_wrapper dreamweb-it "scummvm -f -p \"/usr/share/${PN}/it\" dreamweb" .
+		make_desktop_entry ${PN}-it "Dreamweb (Italiano)" dreamweb
+	fi
+	use doc && dodoc -r doc/*
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/dreamweb/
@ 2018-05-07  7:42 Michał Górny
  0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2018-05-07  7:42 UTC (permalink / raw
  To: gentoo-commits

commit:     f5cdca8b4c793e67ba63c6f435c90e14276913d7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May  6 20:31:09 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May  7 07:41:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5cdca8b

games-rpg/dreamweb: Remove unnecessary use of unpacker

Replace the unnecessary use of unpacker.eclass with built-in EAPI
unpacking.  This also fixes missing dependency on app-arch/unzip
due to unpacker.eclass being broken with complex SRC_URIs in EAPI 6.

 games-rpg/dreamweb/dreamweb-1.1-r1.ebuild | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
index c685cb39ad4..6fd1f4a55ba 100644
--- a/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
+++ b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit unpacker eutils
+inherit eutils
 
 DESCRIPTION="Top-down adventure game set in a gritty futuristic/dystopian city"
 HOMEPAGE="http://wiki.scummvm.org/index.php/Dreamweb"
@@ -23,7 +23,7 @@ KEYWORDS="~amd64 ~x86"
 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)"
+DEPEND="app-arch/unzip"
 
 S="${WORKDIR}"
 
@@ -31,38 +31,38 @@ src_unpack() {
 	if use l10n_de ; then
 		mkdir -p "${S}"/de || die
 		cd "${S}"/de || die
-		unpacker ${PN}-cd-de-${PV}.zip
+		unpack ${PN}-cd-de-${PV}.zip
 	fi
 	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
+		unpack ${PN}-cd-us-${PV}.zip
 	fi
 	if use l10n_en-GB ; then
 		mkdir -p "${S}"/en_GB || die
 		cd "${S}"/en_GB || die
-		unpacker ${PN}-cd-uk-${PV}.zip
+		unpack ${PN}-cd-uk-${PV}.zip
 	fi
 	if use l10n_es ; then
 		mkdir -p "${S}"/es || die
 		cd "${S}"/es || die
-		unpacker ${PN}-cd-es-${PV}.zip
+		unpack ${PN}-cd-es-${PV}.zip
 	fi
 	if use l10n_fr ; then
 		mkdir -p "${S}"/fr || die
 		cd "${S}"/fr || die
-		unpacker ${PN}-cd-fr-${PV}.zip
+		unpack ${PN}-cd-fr-${PV}.zip
 	fi
 	if use l10n_it ; then
 		mkdir -p "${S}"/it || die
 		cd "${S}"/it || die
-		unpacker ${PN}-cd-it-${PV}.zip
+		unpack ${PN}-cd-it-${PV}.zip
 	fi
 	if use doc ; then
 		mkdir -p "${S}"/doc || die
 		cd "${S}"/doc || die
-		unpacker ${PN}-manuals-en-highres.zip
+		unpack ${PN}-manuals-en-highres.zip
 	fi
 }
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/dreamweb/
@ 2019-02-27 20:45 James Le Cuirot
  0 siblings, 0 replies; 6+ messages in thread
From: James Le Cuirot @ 2019-02-27 20:45 UTC (permalink / raw
  To: gentoo-commits

commit:     6d16a353b47679e2690bcf5c2ff975a176f2057a
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Feb 27 18:45:15 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Feb 27 20:44:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d16a353

games-rpg/dreamweb: use HTTPS

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-rpg/dreamweb/dreamweb-1.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
index 6fd1f4a55ba..b041a158412 100644
--- a/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
+++ b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 inherit eutils
 
 DESCRIPTION="Top-down adventure game set in a gritty futuristic/dystopian city"
-HOMEPAGE="http://wiki.scummvm.org/index.php/Dreamweb"
+HOMEPAGE="https://wiki.scummvm.org/index.php/Dreamweb"
 SRC_URI="doc? ( mirror://sourceforge/scummvm/${PN}-manuals-en-highres.zip )
 	l10n_de? ( mirror://sourceforge/scummvm/${PN}-cd-de-${PV}.zip )
 	l10n_en? ( mirror://sourceforge/scummvm/${PN}-cd-us-${PV}.zip )


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/dreamweb/
@ 2021-07-05 22:53 Ionen Wolkens
  0 siblings, 0 replies; 6+ messages in thread
From: Ionen Wolkens @ 2021-07-05 22:53 UTC (permalink / raw
  To: gentoo-commits

commit:     4d9aa3476285e1caa3930da9acbeb7d45b1c1846
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Jun 26 17:43:10 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jul  5 22:51:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d9aa347

games-rpg/dreamweb: EAPI8, ebuild improvements

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-rpg/dreamweb/dreamweb-1.1-r1.ebuild | 106 +++++++++---------------------
 1 file changed, 31 insertions(+), 75 deletions(-)

diff --git a/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
index b041a158412..8e0173c49ea 100644
--- a/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
+++ b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit eutils
+EAPI=8
+
+inherit desktop wrapper
 
 DESCRIPTION="Top-down adventure game set in a gritty futuristic/dystopian city"
 HOMEPAGE="https://wiki.scummvm.org/index.php/Dreamweb"
@@ -16,51 +17,30 @@ SRC_URI="doc? ( mirror://sourceforge/scummvm/${PN}-manuals-en-highres.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"
+S="${WORKDIR}"
 
 LICENSE="Dreamweb"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc l10n_de l10n_en l10n_en-GB l10n_es l10n_fr l10n_it"
+IUSE="doc l10n_de +l10n_en l10n_en-GB l10n_es l10n_fr l10n_it"
 
-RDEPEND=">=games-engines/scummvm-1.7[flac]"
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
+RDEPEND="games-engines/scummvm[flac]"
+BDEPEND="app-arch/unzip"
 
 src_unpack() {
-	if use l10n_de ; then
-		mkdir -p "${S}"/de || die
-		cd "${S}"/de || die
-		unpack ${PN}-cd-de-${PV}.zip
-	fi
-	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
-		unpack ${PN}-cd-us-${PV}.zip
-	fi
-	if use l10n_en-GB ; then
-		mkdir -p "${S}"/en_GB || die
-		cd "${S}"/en_GB || die
-		unpack ${PN}-cd-uk-${PV}.zip
-	fi
-	if use l10n_es ; then
-		mkdir -p "${S}"/es || die
-		cd "${S}"/es || die
-		unpack ${PN}-cd-es-${PV}.zip
-	fi
-	if use l10n_fr ; then
-		mkdir -p "${S}"/fr || die
-		cd "${S}"/fr || die
-		unpack ${PN}-cd-fr-${PV}.zip
-	fi
-	if use l10n_it ; then
-		mkdir -p "${S}"/it || die
-		cd "${S}"/it || die
-		unpack ${PN}-cd-it-${PV}.zip
-	fi
-	if use doc ; then
-		mkdir -p "${S}"/doc || die
+	MY_L10N=( $(usev l10n_de) $(usev l10n_es) $(usev l10n_fr) $(usev l10n_it) )
+	MY_L10N+=( $(usev l10n_{en,us}) $(usev l10n_{en-GB,uk}) )
+	[[ ${MY_L10N} ]] || MY_L10N=( l10n_us )
+
+	local lang
+	for lang in "${MY_L10N[@]//l10n_/}"; do
+		mkdir "${S}"/${lang} || die
+		cd "${S}"/${lang} || die
+		unpack ${PN}-cd-${lang}-${PV}.zip
+	done
+
+	if use doc; then
+		mkdir "${S}"/doc || die
 		cd "${S}"/doc || die
 		unpack ${PN}-manuals-en-highres.zip
 	fi
@@ -68,42 +48,18 @@ src_unpack() {
 
 src_prepare() {
 	default
-	rm -rf */license.txt */*.EXE || die
+	rm -f */license.txt */*.EXE || die
 }
 
 src_install() {
 	insinto /usr/share/${PN}
-	newicon "${DISTDIR}"/cat-dreamweb.png dreamweb.png
-	if use l10n_de ; then
-		doins -r de
-		make_wrapper dreamweb-de "scummvm -f -p \"/usr/share/${PN}/de\" dreamweb" .
-		make_desktop_entry ${PN}-de "Dreamweb (Deutsch)" dreamweb
-	fi
-	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
-		make_wrapper dreamweb-en_US "scummvm -f -p \"/usr/share/${PN}/en_US\" dreamweb" .
-		make_desktop_entry ${PN}-en_US "Dreamweb (US English)" dreamweb
-	fi
-	if use l10n_en-GB ; then
-		doins -r en_GB
-		make_wrapper dreamweb-en_GB "scummvm -f -p \"/usr/share/${PN}/en_GB\" dreamweb" .
-		make_desktop_entry ${PN}-en_GB "Dreamweb (UK English)" dreamweb
-	fi
-	if use l10n_es ; then
-		doins -r es
-		make_wrapper dreamweb-es "scummvm -f -p \"/usr/share/${PN}/es\" dreamweb" .
-		make_desktop_entry ${PN}-es "Dreamweb (Español)" dreamweb
-	fi
-	if use l10n_fr ; then
-		doins -r fr
-		make_wrapper dreamweb-fr "scummvm -f -p \"/usr/share/${PN}/fr\" dreamweb" .
-		make_desktop_entry ${PN}-fr "Dreamweb (Français)" dreamweb
-	fi
-	if use l10n_it ; then
-		doins -r it
-		make_wrapper dreamweb-it "scummvm -f -p \"/usr/share/${PN}/it\" dreamweb" .
-		make_desktop_entry ${PN}-it "Dreamweb (Italiano)" dreamweb
-	fi
-	use doc && dodoc -r doc/*
+	local lang
+	for lang in "${MY_L10N[@]//l10n_/}"; do
+		doins -r ${lang}
+		make_wrapper ${PN}-${lang} "scummvm -f -p \"${EPREFIX}/usr/share/${PN}/${lang}\" ${PN}"
+		make_desktop_entry ${PN}-${lang} "Dreamweb (${lang})"
+	done
+
+	newicon "${DISTDIR}"/cat-${PN}.png ${PN}.png
+	use doc && dodoc -r doc/.
 }


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-05 22:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-26  8:37 [gentoo-commits] repo/gentoo:master commit in: games-rpg/dreamweb/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2018-05-01 19:37 Pacho Ramos
2018-05-01 19:37 Pacho Ramos
2018-05-07  7:42 Michał Górny
2019-02-27 20:45 James Le Cuirot
2021-07-05 22:53 Ionen Wolkens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox