* [gentoo-commits] repo/gentoo:master commit in: games-rpg/soltys/
@ 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: fe3f3f5e4e01d254c3c569ad8a243bd6de073b4e
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 08:13:28 2016 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 08:13:28 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe3f3f5e
games-rpg/soltys: Migrate from LINGUAS to L10N.
Package-Manager: portage-2.3.0
games-rpg/soltys/soltys-1.0-r1.ebuild | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/games-rpg/soltys/soltys-1.0-r1.ebuild b/games-rpg/soltys/soltys-1.0-r1.ebuild
index e8b8abe..31bf842 100644
--- a/games-rpg/soltys/soltys-1.0-r1.ebuild
+++ b/games-rpg/soltys/soltys-1.0-r1.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$
@@ -7,16 +7,16 @@ inherit unpacker eutils games
DESCRIPTION="Classic adventure game"
HOMEPAGE="http://wiki.scummvm.org/index.php/Soltys"
-SRC_URI="linguas_en? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip )
- linguas_es? ( mirror://sourceforge/scummvm/${PN}-es-v${PV}.zip )
- linguas_pl? ( mirror://sourceforge/scummvm/${PN}-pl-v${PV}.zip )
- !linguas_en? ( !linguas_es? ( !linguas_pl? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip ) ) )
+SRC_URI="l10n_en? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip )
+ l10n_es? ( mirror://sourceforge/scummvm/${PN}-es-v${PV}.zip )
+ l10n_pl? ( mirror://sourceforge/scummvm/${PN}-pl-v${PV}.zip )
+ !l10n_en? ( !l10n_es? ( !l10n_pl? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip ) ) )
http://www.scummvm.org/images/cat-soltys.png"
LICENSE="Soltys"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="linguas_en linguas_es linguas_pl"
+IUSE="l10n_en l10n_es l10n_pl"
RDEPEND=">=games-engines/scummvm-1.5"
DEPEND="$(unpacker_src_uri_depends)"
@@ -24,17 +24,17 @@ DEPEND="$(unpacker_src_uri_depends)"
S=${WORKDIR}
src_unpack() {
- if use linguas_en || ( ! use linguas_en && ! use linguas_es && ! use linguas_pl ) ; then
+ if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then
mkdir -p en || die
unpacker ${PN}-en-v${PV}.zip
mv vol.{cat,dat} en/ || die
fi
- if use linguas_es ; then
+ if use l10n_es ; then
mkdir -p es || die
unpacker ${PN}-es-v${PV}.zip
mv soltys-es-v1-0/vol.{cat,dat} es/ || die
fi
- if use linguas_pl ; then
+ if use l10n_pl ; then
mkdir -p pl || die
unpacker ${PN}-pl-v${PV}.zip
mv vol.{cat,dat} pl/ || die
@@ -49,15 +49,15 @@ src_install() {
insinto "${GAMES_DATADIR}"/${PN}
doins -r *
newicon "${DISTDIR}"/cat-soltys.png soltys.png
- if use linguas_en || ( ! use linguas_en && ! use linguas_es && ! use linguas_pl ) ; then
+ if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then
games_make_wrapper soltys-en "scummvm -f -p \"${GAMES_DATADIR}/${PN}/en\" soltys" .
make_desktop_entry ${PN}-en "Soltys (English)" soltys
fi
- if use linguas_es ; then
+ if use l10n_es ; then
games_make_wrapper soltys-es "scummvm -f -p \"${GAMES_DATADIR}/${PN}/es\" soltys" .
make_desktop_entry ${PN}-es "Soltys (Español)" soltys
fi
- if use linguas_pl ; then
+ if use l10n_pl ; then
games_make_wrapper soltys-pl "scummvm -f -p \"${GAMES_DATADIR}/${PN}/pl\" soltys" .
make_desktop_entry ${PN}-pl "Soltys (Polski)" soltys
fi
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/soltys/
@ 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: 0978860847e3d937a8fd112b20e0be635f111d49
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue May 1 17:51:04 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue May 1 19:35:30 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09788608
games-rpg/soltys: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
games-rpg/soltys/Manifest | 4 ---
games-rpg/soltys/soltys-1.0-r1.ebuild | 64 -----------------------------------
2 files changed, 68 deletions(-)
diff --git a/games-rpg/soltys/Manifest b/games-rpg/soltys/Manifest
deleted file mode 100644
index a559d66c7ad..00000000000
--- a/games-rpg/soltys/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST cat-soltys.png 1917 BLAKE2B c33be51239b1df521b117c44ad2a6e427c26b64a37a1c72331aacfa797913e6d9a83b87689cccaa1e28fef44f47f7ffbc5f712a47b7488f4a237eb121f8297e1 SHA512 c2df23275372582300d3d87d2b629548dabf61ad9d031cb352f4167d956d5126926efee41b24f48040390177b6f28e1b432ff5049bb66858316cce37106aaca8
-DIST soltys-en-v1.0.zip 3484518 BLAKE2B 04d49de79af0d18a5e35ee618de18c0c70b0d9670f9533ce29759aae34542038d31d9b096b25f7d7ee830bea6d0933df9d782b705b7dcaa46144023b9d88a037 SHA512 92637d760033c044b3979dfe21f617db0b2cf98c48587e058910f877b38e0887fed8102782f1dfac85bc8eefa68d3791d7ff2d6074396bea2728a128e37cee1d
-DIST soltys-es-v1.0.zip 3527349 BLAKE2B ac567c7727c8150b75d681e8f416aab859725a665c8e0b6ec628c7a0f101b0ffcf9fb2822d0dafbbd252c1a92f01bcb43f05c8f39447ef8dcf4a591afa441b8a SHA512 eac3aa60e274720f65504ffe5bc18f99401a24c5775c3bc6eb893aef2af7e02055eb52e3da162f124babe5b611f93ff5444aca6e2ea26e5baa98a2131dd49da0
-DIST soltys-pl-v1.0.zip 3483638 BLAKE2B 35269130a2d4699cd709deaeaf96cd95786dcb3b4ceb77b00682f865ab796245e7830805ff4989d4298e54bcc963c45ef8e58ef2200376b41722df33a82b41b5 SHA512 b8c04366d360eb4b7f296718ae46a2e417b676f9bddd6fb8555069d8972ae2ff1706c67fc473a52a5009cb433ff58db377e5f02ff6b27e68e35d2a89c8108f24
diff --git a/games-rpg/soltys/soltys-1.0-r1.ebuild b/games-rpg/soltys/soltys-1.0-r1.ebuild
deleted file mode 100644
index 1a8baca43ff..00000000000
--- a/games-rpg/soltys/soltys-1.0-r1.ebuild
+++ /dev/null
@@ -1,64 +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="Classic adventure game"
-HOMEPAGE="http://wiki.scummvm.org/index.php/Soltys"
-SRC_URI="l10n_en? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip )
- l10n_es? ( mirror://sourceforge/scummvm/${PN}-es-v${PV}.zip )
- l10n_pl? ( mirror://sourceforge/scummvm/${PN}-pl-v${PV}.zip )
- !l10n_en? ( !l10n_es? ( !l10n_pl? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip ) ) )
- http://www.scummvm.org/images/cat-soltys.png"
-
-LICENSE="Soltys"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="l10n_en l10n_es l10n_pl"
-
-RDEPEND=">=games-engines/scummvm-1.5"
-DEPEND="$(unpacker_src_uri_depends)"
-
-S=${WORKDIR}
-
-src_unpack() {
- if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then
- mkdir -p en || die
- unpacker ${PN}-en-v${PV}.zip
- mv vol.{cat,dat} en/ || die
- fi
- if use l10n_es ; then
- mkdir -p es || die
- unpacker ${PN}-es-v${PV}.zip
- mv soltys-es-v1-0/vol.{cat,dat} es/ || die
- fi
- if use l10n_pl ; then
- mkdir -p pl || die
- unpacker ${PN}-pl-v${PV}.zip
- mv vol.{cat,dat} pl/ || die
- fi
-}
-
-src_prepare() {
- rm -rf license.txt soltys-es-v1-0
-}
-
-src_install() {
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r *
- newicon "${DISTDIR}"/cat-soltys.png soltys.png
- if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then
- games_make_wrapper soltys-en "scummvm -f -p \"${GAMES_DATADIR}/${PN}/en\" soltys" .
- make_desktop_entry ${PN}-en "Soltys (English)" soltys
- fi
- if use l10n_es ; then
- games_make_wrapper soltys-es "scummvm -f -p \"${GAMES_DATADIR}/${PN}/es\" soltys" .
- make_desktop_entry ${PN}-es "Soltys (Español)" soltys
- fi
- if use l10n_pl ; then
- games_make_wrapper soltys-pl "scummvm -f -p \"${GAMES_DATADIR}/${PN}/pl\" soltys" .
- make_desktop_entry ${PN}-pl "Soltys (Polski)" soltys
- fi
- prepgamesdirs
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/soltys/
@ 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: 8453870246e8c1b3656511f11c2e89069fd212c2
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue May 1 17:51:24 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue May 1 19:35:32 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84538702
games-rpg/soltys: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
games-rpg/soltys/Manifest | 4 +++
games-rpg/soltys/soltys-1.0-r2.ebuild | 64 +++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/games-rpg/soltys/Manifest b/games-rpg/soltys/Manifest
new file mode 100644
index 00000000000..a559d66c7ad
--- /dev/null
+++ b/games-rpg/soltys/Manifest
@@ -0,0 +1,4 @@
+DIST cat-soltys.png 1917 BLAKE2B c33be51239b1df521b117c44ad2a6e427c26b64a37a1c72331aacfa797913e6d9a83b87689cccaa1e28fef44f47f7ffbc5f712a47b7488f4a237eb121f8297e1 SHA512 c2df23275372582300d3d87d2b629548dabf61ad9d031cb352f4167d956d5126926efee41b24f48040390177b6f28e1b432ff5049bb66858316cce37106aaca8
+DIST soltys-en-v1.0.zip 3484518 BLAKE2B 04d49de79af0d18a5e35ee618de18c0c70b0d9670f9533ce29759aae34542038d31d9b096b25f7d7ee830bea6d0933df9d782b705b7dcaa46144023b9d88a037 SHA512 92637d760033c044b3979dfe21f617db0b2cf98c48587e058910f877b38e0887fed8102782f1dfac85bc8eefa68d3791d7ff2d6074396bea2728a128e37cee1d
+DIST soltys-es-v1.0.zip 3527349 BLAKE2B ac567c7727c8150b75d681e8f416aab859725a665c8e0b6ec628c7a0f101b0ffcf9fb2822d0dafbbd252c1a92f01bcb43f05c8f39447ef8dcf4a591afa441b8a SHA512 eac3aa60e274720f65504ffe5bc18f99401a24c5775c3bc6eb893aef2af7e02055eb52e3da162f124babe5b611f93ff5444aca6e2ea26e5baa98a2131dd49da0
+DIST soltys-pl-v1.0.zip 3483638 BLAKE2B 35269130a2d4699cd709deaeaf96cd95786dcb3b4ceb77b00682f865ab796245e7830805ff4989d4298e54bcc963c45ef8e58ef2200376b41722df33a82b41b5 SHA512 b8c04366d360eb4b7f296718ae46a2e417b676f9bddd6fb8555069d8972ae2ff1706c67fc473a52a5009cb433ff58db377e5f02ff6b27e68e35d2a89c8108f24
diff --git a/games-rpg/soltys/soltys-1.0-r2.ebuild b/games-rpg/soltys/soltys-1.0-r2.ebuild
new file mode 100644
index 00000000000..e709836c31e
--- /dev/null
+++ b/games-rpg/soltys/soltys-1.0-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit unpacker eutils
+
+DESCRIPTION="Classic adventure game"
+HOMEPAGE="http://wiki.scummvm.org/index.php/Soltys"
+SRC_URI="l10n_en? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip )
+ l10n_es? ( mirror://sourceforge/scummvm/${PN}-es-v${PV}.zip )
+ l10n_pl? ( mirror://sourceforge/scummvm/${PN}-pl-v${PV}.zip )
+ !l10n_en? ( !l10n_es? ( !l10n_pl? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip ) ) )
+ http://www.scummvm.org/images/cat-soltys.png"
+
+LICENSE="Soltys"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="l10n_en l10n_es l10n_pl"
+
+RDEPEND=">=games-engines/scummvm-1.5"
+DEPEND="$(unpacker_src_uri_depends)"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then
+ mkdir -p en || die
+ unpacker ${PN}-en-v${PV}.zip
+ mv vol.{cat,dat} en/ || die
+ fi
+ if use l10n_es ; then
+ mkdir -p es || die
+ unpacker ${PN}-es-v${PV}.zip
+ mv soltys-es-v1-0/vol.{cat,dat} es/ || die
+ fi
+ if use l10n_pl ; then
+ mkdir -p pl || die
+ unpacker ${PN}-pl-v${PV}.zip
+ mv vol.{cat,dat} pl/ || die
+ fi
+}
+
+src_prepare() {
+ default
+ rm -rf license.txt soltys-es-v1-0
+}
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins -r *
+ newicon "${DISTDIR}"/cat-soltys.png soltys.png
+ if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then
+ make_wrapper soltys-en "scummvm -f -p \"/usr/share/${PN}/en\" soltys" .
+ make_desktop_entry ${PN}-en "Soltys (English)" soltys
+ fi
+ if use l10n_es ; then
+ make_wrapper soltys-es "scummvm -f -p \"/usr/share/${PN}/es\" soltys" .
+ make_desktop_entry ${PN}-es "Soltys (Español)" soltys
+ fi
+ if use l10n_pl ; then
+ make_wrapper soltys-pl "scummvm -f -p \"/usr/share/${PN}/pl\" soltys" .
+ make_desktop_entry ${PN}-pl "Soltys (Polski)" soltys
+ fi
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/soltys/
@ 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: bda6d06a6ac9e522a8f432c8bfe2284ac44a6de0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 6 20:32:24 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=bda6d06a
games-rpg/soltys: 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/soltys/soltys-1.0-r2.ebuild | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/games-rpg/soltys/soltys-1.0-r2.ebuild b/games-rpg/soltys/soltys-1.0-r2.ebuild
index e709836c31e..f3e8b8ccb22 100644
--- a/games-rpg/soltys/soltys-1.0-r2.ebuild
+++ b/games-rpg/soltys/soltys-1.0-r2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit unpacker eutils
+inherit eutils
DESCRIPTION="Classic adventure game"
HOMEPAGE="http://wiki.scummvm.org/index.php/Soltys"
@@ -18,24 +18,24 @@ KEYWORDS="~amd64 ~x86"
IUSE="l10n_en l10n_es l10n_pl"
RDEPEND=">=games-engines/scummvm-1.5"
-DEPEND="$(unpacker_src_uri_depends)"
+DEPEND="app-arch/unzip"
S="${WORKDIR}"
src_unpack() {
if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then
mkdir -p en || die
- unpacker ${PN}-en-v${PV}.zip
+ unpack ${PN}-en-v${PV}.zip
mv vol.{cat,dat} en/ || die
fi
if use l10n_es ; then
mkdir -p es || die
- unpacker ${PN}-es-v${PV}.zip
+ unpack ${PN}-es-v${PV}.zip
mv soltys-es-v1-0/vol.{cat,dat} es/ || die
fi
if use l10n_pl ; then
mkdir -p pl || die
- unpacker ${PN}-pl-v${PV}.zip
+ unpack ${PN}-pl-v${PV}.zip
mv vol.{cat,dat} pl/ || die
fi
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/soltys/
@ 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: b17f13b129076a2ac3b8f38313374e862ed1cc17
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Feb 27 18:45:51 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=b17f13b1
games-rpg/soltys: 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/soltys/soltys-1.0-r2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-rpg/soltys/soltys-1.0-r2.ebuild b/games-rpg/soltys/soltys-1.0-r2.ebuild
index f3e8b8ccb22..e9d29906063 100644
--- a/games-rpg/soltys/soltys-1.0-r2.ebuild
+++ b/games-rpg/soltys/soltys-1.0-r2.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="Classic adventure game"
-HOMEPAGE="http://wiki.scummvm.org/index.php/Soltys"
+HOMEPAGE="https://wiki.scummvm.org/index.php/Soltys"
SRC_URI="l10n_en? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip )
l10n_es? ( mirror://sourceforge/scummvm/${PN}-es-v${PV}.zip )
l10n_pl? ( mirror://sourceforge/scummvm/${PN}-pl-v${PV}.zip )
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/soltys/
@ 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: 75f6ddc48bee8d3873b048022d918c6ac335e189
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Jun 28 18:53:28 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jul 5 22:51:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75f6ddc4
games-rpg/soltys: 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/soltys/soltys-1.0-r2.ebuild | 71 ++++++++++++++---------------------
1 file changed, 29 insertions(+), 42 deletions(-)
diff --git a/games-rpg/soltys/soltys-1.0-r2.ebuild b/games-rpg/soltys/soltys-1.0-r2.ebuild
index e9d29906063..3b59a9cabce 100644
--- a/games-rpg/soltys/soltys-1.0-r2.ebuild
+++ b/games-rpg/soltys/soltys-1.0-r2.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="Classic adventure game"
HOMEPAGE="https://wiki.scummvm.org/index.php/Soltys"
@@ -10,55 +11,41 @@ SRC_URI="l10n_en? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip )
l10n_es? ( mirror://sourceforge/scummvm/${PN}-es-v${PV}.zip )
l10n_pl? ( mirror://sourceforge/scummvm/${PN}-pl-v${PV}.zip )
!l10n_en? ( !l10n_es? ( !l10n_pl? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip ) ) )
- http://www.scummvm.org/images/cat-soltys.png"
+ http://www.scummvm.org/images/cat-${PN}.png"
+S="${WORKDIR}"
LICENSE="Soltys"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="l10n_en l10n_es l10n_pl"
-RDEPEND=">=games-engines/scummvm-1.5"
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
+RDEPEND="games-engines/scummvm"
+BDEPEND="app-arch/unzip"
src_unpack() {
- if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then
- mkdir -p en || die
- unpack ${PN}-en-v${PV}.zip
- mv vol.{cat,dat} en/ || die
- fi
- if use l10n_es ; then
- mkdir -p es || die
- unpack ${PN}-es-v${PV}.zip
- mv soltys-es-v1-0/vol.{cat,dat} es/ || die
- fi
- if use l10n_pl ; then
- mkdir -p pl || die
- unpack ${PN}-pl-v${PV}.zip
- mv vol.{cat,dat} pl/ || die
- fi
-}
-
-src_prepare() {
- default
- rm -rf license.txt soltys-es-v1-0
+ MY_L10N=( $(usev l10n_en) $(usev l10n_es) $(usev l10n_pl) )
+ [[ ${MY_L10N} ]] || MY_L10N=( l10n_en )
+
+ local lang
+ for lang in "${MY_L10N[@]//l10n_/}"; do
+ mkdir ${lang} || die
+ unpack ${PN}-${lang}-v${PV}.zip
+ if [[ ${lang} == es ]]; then
+ mv ${PN}-${lang}-v$(ver_rs 1 -)/vol.{cat,dat} ${lang}/ || die
+ else
+ mv vol.{cat,dat} ${lang}/ || die
+ fi
+ done
}
src_install() {
insinto /usr/share/${PN}
- doins -r *
- newicon "${DISTDIR}"/cat-soltys.png soltys.png
- if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then
- make_wrapper soltys-en "scummvm -f -p \"/usr/share/${PN}/en\" soltys" .
- make_desktop_entry ${PN}-en "Soltys (English)" soltys
- fi
- if use l10n_es ; then
- make_wrapper soltys-es "scummvm -f -p \"/usr/share/${PN}/es\" soltys" .
- make_desktop_entry ${PN}-es "Soltys (Español)" soltys
- fi
- if use l10n_pl ; then
- make_wrapper soltys-pl "scummvm -f -p \"/usr/share/${PN}/pl\" soltys" .
- make_desktop_entry ${PN}-pl "Soltys (Polski)" soltys
- fi
+ 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} "Soltys (${lang})"
+ done
+
+ newicon "${DISTDIR}"/cat-${PN}.png ${PN}.png
}
^ 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 --
2018-05-01 19:37 [gentoo-commits] repo/gentoo:master commit in: games-rpg/soltys/ Pacho Ramos
-- strict thread matches above, loose matches on Subject: below --
2021-07-05 22:53 Ionen Wolkens
2019-02-27 20:45 James Le Cuirot
2018-05-07 7:42 Michał Górny
2018-05-01 19:37 Pacho Ramos
2016-06-26 8:37 Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox