* [gentoo-commits] repo/gentoo:master commit in: games-rpg/draci-historie/
@ 2016-06-26 8:37 Ulrich Müller
0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2016-06-26 8:37 UTC (permalink / raw
To: gentoo-commits
commit: 5814f48149b1c297f5b5647c40fb84660b3e97c8
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 07:55:24 2016 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 07:55:24 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5814f481
games-rpg/draci-historie: Migrate from LINGUAS to L10N.
Package-Manager: portage-2.3.0
.../draci-historie/draci-historie-2012.ebuild | 30 +++++++++++-----------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/games-rpg/draci-historie/draci-historie-2012.ebuild b/games-rpg/draci-historie/draci-historie-2012.ebuild
index c0f53b5..3aea076 100644
--- a/games-rpg/draci-historie/draci-historie-2012.ebuild
+++ b/games-rpg/draci-historie/draci-historie-2012.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,16 +8,16 @@ inherit unpacker eutils games
DESCRIPTION="Bert the little dragon searches for his father"
HOMEPAGE="http://www.ucw.cz/draci-historie/index-en.html"
BASE_URL="http://www.ucw.cz/draci-historie/binary/dh"
-SRC_URI="linguas_cs? ( ${BASE_URL}-cz-${PV}.zip )
- linguas_de? ( ${BASE_URL}-de-${PV}.zip )
- linguas_en? ( ${BASE_URL}-en-${PV}.zip )
- linguas_pl? ( ${BASE_URL}-pl-${PV}.zip )
- !linguas_cs? ( !linguas_de? ( !linguas_en? ( !linguas_pl? ( ${BASE_URL}-en-${PV}.zip ) ) ) )"
+SRC_URI="l10n_cs? ( ${BASE_URL}-cz-${PV}.zip )
+ l10n_de? ( ${BASE_URL}-de-${PV}.zip )
+ l10n_en? ( ${BASE_URL}-en-${PV}.zip )
+ l10n_pl? ( ${BASE_URL}-pl-${PV}.zip )
+ !l10n_cs? ( !l10n_de? ( !l10n_en? ( !l10n_pl? ( ${BASE_URL}-en-${PV}.zip ) ) ) )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="linguas_cs linguas_de linguas_en linguas_pl"
+IUSE="l10n_cs l10n_de l10n_en l10n_pl"
RDEPEND=">=games-engines/scummvm-1.1"
DEPEND="$(unpacker_src_uri_depends)"
@@ -25,22 +25,22 @@ DEPEND="$(unpacker_src_uri_depends)"
S=${WORKDIR}
src_unpack() {
- if use linguas_en || ( ! use linguas_cs && ! use linguas_de && ! use linguas_en && ! use linguas_pl ) ; then
+ if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then
mkdir en || die
unpacker dh-en-${PV}.zip
mv *.{dfw,fon,mid,sam} en/ || die
fi
- if use linguas_cs ; then
+ if use l10n_cs ; then
mkdir cs || die
unpacker dh-cz-${PV}.zip
mv *.{dfw,fon,mid,sam,zzz} cs/ || die
fi
- if use linguas_de ; then
+ if use l10n_de ; then
mkdir de || die
unpacker dh-de-${PV}.zip
mv *.{dfw,fon,mid,sam} de/ || die
fi
- if use linguas_pl ; then
+ if use l10n_pl ; then
mkdir pl || die
unpacker dh-pl-${PV}.zip
mv *.{dfw,fon,mid,sam,zzz} pl/ || die
@@ -57,19 +57,19 @@ src_install() {
for lingua in $(find * -type d); do
doins -r ${lingua}
done
- if use linguas_en || ( ! use linguas_cs && ! use linguas_de && ! use linguas_en && ! use linguas_pl ) ; then
+ if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then
games_make_wrapper draci-historie-en "scummvm -f -p \"${GAMES_DATADIR}/${PN}/en\" draci" .
make_desktop_entry ${PN}-en "Dračí Historie (English)" /usr/share/pixmaps/draci-historie.ico
fi
- if use linguas_cs ; then
+ if use l10n_cs ; then
games_make_wrapper draci-historie-cs "scummvm -f -p \"${GAMES_DATADIR}/${PN}/cs\" draci" .
make_desktop_entry ${PN}-cs "Dračí Historie (Čeština)" /usr/share/pixmaps/draci-historie.ico
fi
- if use linguas_de ; then
+ if use l10n_de ; then
games_make_wrapper draci-historie-de "scummvm -f -p \"${GAMES_DATADIR}/${PN}/de\" draci" .
make_desktop_entry ${PN}-de "Dračí Historie (Deutsch)" /usr/share/pixmaps/draci-historie.ico
fi
- if use linguas_pl ; then
+ if use l10n_pl ; then
games_make_wrapper draci-historie-pl "scummvm -f -p \"${GAMES_DATADIR}/${PN}/pl\" draci" .
make_desktop_entry ${PN}-pl "Dračí Historie (Polski)" /usr/share/pixmaps/draci-historie.ico
fi
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/draci-historie/
@ 2018-05-07 7:42 Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2018-05-07 7:42 UTC (permalink / raw
To: gentoo-commits
commit: 4089b4dc1238454414d1c8c358c8745cd639cd63
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 6 20:28:18 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=4089b4dc
games-rpg/draci-historie: 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/draci-historie/draci-historie-2012-r1.ebuild | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/games-rpg/draci-historie/draci-historie-2012-r1.ebuild b/games-rpg/draci-historie/draci-historie-2012-r1.ebuild
index 8998b3837a2..3982a8538d1 100644
--- a/games-rpg/draci-historie/draci-historie-2012-r1.ebuild
+++ b/games-rpg/draci-historie/draci-historie-2012-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit eutils unpacker
+inherit eutils
DESCRIPTION="Bert the little dragon searches for his father"
HOMEPAGE="http://www.ucw.cz/draci-historie/index-en.html"
@@ -21,29 +21,29 @@ KEYWORDS="~amd64 ~x86"
IUSE="l10n_cs l10n_de l10n_en l10n_pl"
RDEPEND=">=games-engines/scummvm-1.1"
-DEPEND="$(unpacker_src_uri_depends)"
+DEPEND="app-arch/unzip"
S="${WORKDIR}"
src_unpack() {
if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then
mkdir en || die
- unpacker dh-en-${PV}.zip
+ unpack dh-en-${PV}.zip
mv *.{dfw,fon,mid,sam} en/ || die
fi
if use l10n_cs ; then
mkdir cs || die
- unpacker dh-cz-${PV}.zip
+ unpack dh-cz-${PV}.zip
mv *.{dfw,fon,mid,sam,zzz} cs/ || die
fi
if use l10n_de ; then
mkdir de || die
- unpacker dh-de-${PV}.zip
+ unpack dh-de-${PV}.zip
mv *.{dfw,fon,mid,sam} de/ || die
fi
if use l10n_pl ; then
mkdir pl || die
- unpacker dh-pl-${PV}.zip
+ unpack dh-pl-${PV}.zip
mv *.{dfw,fon,mid,sam,zzz} pl/ || die
fi
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/draci-historie/
@ 2021-07-05 22:53 Ionen Wolkens
0 siblings, 0 replies; 3+ messages in thread
From: Ionen Wolkens @ 2021-07-05 22:53 UTC (permalink / raw
To: gentoo-commits
commit: 3b757d0c2f91b9b19e8ee25d5b0c1c54fa937630
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Jun 26 17:09:09 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=3b757d0c
games-rpg/draci-historie: 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/draci-historie/Manifest | 1 +
.../draci-historie/draci-historie-2012-r1.ebuild | 82 +++++++---------------
2 files changed, 28 insertions(+), 55 deletions(-)
diff --git a/games-rpg/draci-historie/Manifest b/games-rpg/draci-historie/Manifest
index 4c4af984c36..9b624994de3 100644
--- a/games-rpg/draci-historie/Manifest
+++ b/games-rpg/draci-historie/Manifest
@@ -2,3 +2,4 @@ DIST dh-cz-2012.zip 29293879 BLAKE2B 5f8d4199de6f418d041c409bbc25b383021721b062b
DIST dh-de-2012.zip 3316443 BLAKE2B 99a495be5d2add5e6f375904d249bda06f556e5e8ede4b33348d6ee46778de15b704016f9b498ca5b68ad678b3f2bd572034c37bc7dde2dfcd9d46ef2f4b242a SHA512 088f372e8de59cb52555a70cb7918ec14bb4abbb712a3867b40ce9eef80dc3f03b6c28402b9e0c9ee7e02f1938ee5f140abc02aef801716e38af84d66dafd5aa
DIST dh-en-2012.zip 3310860 BLAKE2B 22c8dc8102f5f1d984a760d51fd8f7f028cca6a28b1a4e0f459c44eec68255e3ecd526ef80426b57f2137c33f6a5ba0d16b2c760b42a67413c2ffa3cec9ec648 SHA512 a9b5ff15305c961f288fdf915f56ca204a2ebe5370dcf56c20a0057cf721c45445a20479a39fe1f5443e79e7c95bd5771abef2115396c418442d2e5e400ce10a
DIST dh-pl-2012.zip 36041498 BLAKE2B 29f6daeac610aa83f4df4a7698d19540f7c97d3a019a66078e784492010891860fa6af9b3151457c0aefeeb5eb3f90b8336693a1367b64e97592e017a7e9f247 SHA512 627f85a14362e032e00ed36275df696b6a468965734db7c8bb459d689b548c05033fe387ffee9855a83fe634f14b98a5c5ea51aefdf169c7243e9282fa1c19a5
+DIST draci-historie.png 5121 BLAKE2B f4f5ec74e00385e1cd13ba4002305960513d5be829a89f116e0ce7829347b934ab2317a5064c6bfeb89e70a6d0f3f6106eb497bf3558e6549f838b2548693512 SHA512 a0c204dcc94c0fe872dd46da7553aa148e08ac5a04941a24eee05823ae1e14ea6576b22e2bae87371d8af3c1559edf14abbd5998784a49338ccba1e217400f30
diff --git a/games-rpg/draci-historie/draci-historie-2012-r1.ebuild b/games-rpg/draci-historie/draci-historie-2012-r1.ebuild
index 3982a8538d1..262964dad79 100644
--- a/games-rpg/draci-historie/draci-historie-2012-r1.ebuild
+++ b/games-rpg/draci-historie/draci-historie-2012-r1.ebuild
@@ -1,79 +1,51 @@
-# Copyright 1999-2018 Gentoo Foundation
+# 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="Bert the little dragon searches for his father"
-HOMEPAGE="http://www.ucw.cz/draci-historie/index-en.html"
-BASE_URL="http://www.ucw.cz/draci-historie/binary/dh"
+HOMEPAGE="https://www.ucw.cz/draci-historie/index-en.html"
+BASE_URL="https://www.ucw.cz/draci-historie/binary/dh"
SRC_URI="
l10n_cs? ( ${BASE_URL}-cz-${PV}.zip )
l10n_de? ( ${BASE_URL}-de-${PV}.zip )
l10n_en? ( ${BASE_URL}-en-${PV}.zip )
l10n_pl? ( ${BASE_URL}-pl-${PV}.zip )
!l10n_cs? ( !l10n_de? ( !l10n_en? ( !l10n_pl? ( ${BASE_URL}-en-${PV}.zip ) ) ) )
+ https://dev.gentoo.org/~ionen/distfiles/${PN}.png
"
+S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="l10n_cs l10n_de l10n_en l10n_pl"
+IUSE="l10n_cs l10n_de +l10n_en l10n_pl"
-RDEPEND=">=games-engines/scummvm-1.1"
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
+RDEPEND="games-engines/scummvm"
+BDEPEND="app-arch/unzip"
src_unpack() {
- if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then
- mkdir en || die
- unpack dh-en-${PV}.zip
- mv *.{dfw,fon,mid,sam} en/ || die
- fi
- if use l10n_cs ; then
- mkdir cs || die
- unpack dh-cz-${PV}.zip
- mv *.{dfw,fon,mid,sam,zzz} cs/ || die
- fi
- if use l10n_de ; then
- mkdir de || die
- unpack dh-de-${PV}.zip
- mv *.{dfw,fon,mid,sam} de/ || die
- fi
- if use l10n_pl ; then
- mkdir pl || die
- unpack dh-pl-${PV}.zip
- mv *.{dfw,fon,mid,sam,zzz} pl/ || die
- fi
-}
-
-src_prepare() {
- default
- rm -f *.{bat,exe,ins} readme.* || die
+ MY_L10N=( $(usev l10n_{cs,cz}) $(usev l10n_de) $(usev l10n_en) $(usev l10n_pl) )
+ [[ ${MY_L10N} ]] || MY_L10N=( l10n_en )
+
+ local lang
+ for lang in "${MY_L10N[@]//l10n_/}"; do
+ mkdir ${lang} || die
+ unpack dh-${lang}-${PV}.zip
+ mv *.{dfw,fon,mid,sam} ${lang}/ || die
+ done
}
src_install() {
- newicon bert.ico draci-historie.ico
insinto /usr/share/${PN}
- for lingua in $(find * -type d); do
- doins -r ${lingua}
+ local lang
+ for lang in "${MY_L10N[@]//l10n_/}"; do
+ doins -r ${lang}
+ make_wrapper ${PN}-${lang} "scummvm -f -p \"${EPREFIX}/usr/share/${PN}/${lang}\" draci"
+ make_desktop_entry ${PN}-${lang} "Dračí Historie (${lang})"
done
- if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then
- make_wrapper draci-historie-en "scummvm -f -p \"/usr/share/${PN}/en\" draci" .
- make_desktop_entry ${PN}-en "Dračí Historie (English)" /usr/share/pixmaps/draci-historie.ico
- fi
- if use l10n_cs ; then
- make_wrapper draci-historie-cs "scummvm -f -p \"/usr/share/${PN}/cs\" draci" .
- make_desktop_entry ${PN}-cs "Dračí Historie (Čeština)" /usr/share/pixmaps/draci-historie.ico
- fi
- if use l10n_de ; then
- make_wrapper draci-historie-de "scummvm -f -p \"/usr/share/${PN}/de\" draci" .
- make_desktop_entry ${PN}-de "Dračí Historie (Deutsch)" /usr/share/pixmaps/draci-historie.ico
- fi
- if use l10n_pl ; then
- make_wrapper draci-historie-pl "scummvm -f -p \"/usr/share/${PN}/pl\" draci" .
- make_desktop_entry ${PN}-pl "Dračí Historie (Polski)" /usr/share/pixmaps/draci-historie.ico
- fi
- einstalldocs
+
+ doicon "${DISTDIR}"/${PN}.png
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-05 22:53 UTC | newest]
Thread overview: 3+ 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/draci-historie/ Ulrich Müller
-- strict thread matches above, loose matches on Subject: below --
2018-05-07 7:42 Michał Górny
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