public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-strategy/tornado/
@ 2018-07-18 12:30 Jeroen Roovers
  0 siblings, 0 replies; 5+ messages in thread
From: Jeroen Roovers @ 2018-07-18 12:30 UTC (permalink / raw
  To: gentoo-commits

commit:     8878482f6f2039bf81ae8fbfe385b84300733c95
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 18 12:20:05 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jul 18 12:30:18 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8878482f

games-strategy/tornado: Add missing dependencies.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-strategy/tornado/tornado-1.4-r1.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/games-strategy/tornado/tornado-1.4-r1.ebuild b/games-strategy/tornado/tornado-1.4-r1.ebuild
index 86e269adbcf..1cdb04da4b1 100644
--- a/games-strategy/tornado/tornado-1.4-r1.ebuild
+++ b/games-strategy/tornado/tornado-1.4-r1.ebuild
@@ -12,6 +12,14 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+DEPEND="
+	sys-devel/gettext
+"
+
+RDEPEND="
+	virtual/libintl
+"
+
 PATCHES=(
 	"${FILESDIR}"/${PF}-gentoo.patch
 )


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

* [gentoo-commits] repo/gentoo:master commit in: games-strategy/tornado/
@ 2018-07-18 12:30 Jeroen Roovers
  0 siblings, 0 replies; 5+ messages in thread
From: Jeroen Roovers @ 2018-07-18 12:30 UTC (permalink / raw
  To: gentoo-commits

commit:     dee60bc4c0cdd8ee51c19c67c8914982aed305d6
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 18 12:16:59 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jul 18 12:30:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dee60bc4

games-strategy/tornado: Simplify.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-strategy/tornado/tornado-1.4-r1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/games-strategy/tornado/tornado-1.4-r1.ebuild b/games-strategy/tornado/tornado-1.4-r1.ebuild
index 881a6f3ce85..86e269adbcf 100644
--- a/games-strategy/tornado/tornado-1.4-r1.ebuild
+++ b/games-strategy/tornado/tornado-1.4-r1.ebuild
@@ -16,9 +16,7 @@ PATCHES=(
 	"${FILESDIR}"/${PF}-gentoo.patch
 )
 
-src_prepare() {
-	default
-
+src_configure() {
 	tc-export CC PKG_CONFIG
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: games-strategy/tornado/
@ 2019-12-06 20:32 David Seifert
  0 siblings, 0 replies; 5+ messages in thread
From: David Seifert @ 2019-12-06 20:32 UTC (permalink / raw
  To: gentoo-commits

commit:     ea680387b7c22019f2c2c01721e0674a9f734826
Author:     Wim Muskee <wimmuskee <AT> gmail <DOT> com>
AuthorDate: Fri Dec  6 16:12:34 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec  6 20:32:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea680387

games-strategy/tornado: fix HomepageInSrcUri, update upstream in metadata

Signed-off-by: Wim Muskee <wimmuskee <AT> gmail.com>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-strategy/tornado/metadata.xml          | 3 +++
 games-strategy/tornado/tornado-1.4-r2.ebuild | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/games-strategy/tornado/metadata.xml b/games-strategy/tornado/metadata.xml
index 78274e0fa55..295f0bba0d6 100644
--- a/games-strategy/tornado/metadata.xml
+++ b/games-strategy/tornado/metadata.xml
@@ -5,4 +5,7 @@
 	<email>games@gentoo.org</email>
 	<name>Gentoo Games Project</name>
 </maintainer>
+<upstream>
+	<remote-id type="github">kouya/tornado</remote-id>
+</upstream>
 </pkgmetadata>

diff --git a/games-strategy/tornado/tornado-1.4-r2.ebuild b/games-strategy/tornado/tornado-1.4-r2.ebuild
index c2a5f7c2f76..8ba22468f47 100644
--- a/games-strategy/tornado/tornado-1.4-r2.ebuild
+++ b/games-strategy/tornado/tornado-1.4-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ inherit toolchain-funcs
 
 DESCRIPTION="Clone of a C64 game -  destroy the opponent's house"
 HOMEPAGE="https://github.com/kouya/tornado"
-SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/kouya/tornado/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"


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

* [gentoo-commits] repo/gentoo:master commit in: games-strategy/tornado/
@ 2021-10-21  3:40 Ionen Wolkens
  0 siblings, 0 replies; 5+ messages in thread
From: Ionen Wolkens @ 2021-10-21  3:40 UTC (permalink / raw
  To: gentoo-commits

commit:     dd2c4782fed467879fc5f3a57f902c560920a136
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Oct 16 13:56:40 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Oct 21 03:38:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd2c4782

games-strategy/tornado: EAPI8 bump, minor improvements

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

 games-strategy/tornado/tornado-1.4-r3.ebuild | 47 ++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/games-strategy/tornado/tornado-1.4-r3.ebuild b/games-strategy/tornado/tornado-1.4-r3.ebuild
new file mode 100644
index 00000000000..082cbe23940
--- /dev/null
+++ b/games-strategy/tornado/tornado-1.4-r3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Clone of a C64 game - destroy the opponent's house"
+HOMEPAGE="https://github.com/kouya/tornado"
+SRC_URI="https://github.com/kouya/tornado/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+	acct-group/gamestat
+	sys-libs/ncurses:=
+	nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-r2-gentoo.patch
+)
+
+src_configure() {
+	if ! use nls; then
+		sed -i \
+			-e '/^all:/s|locales||g' \
+			-e '/^install:/s|install-locale-data||g' \
+			Makefile || die
+	fi
+
+	tc-export CC PKG_CONFIG
+}
+
+src_install() {
+	default
+
+	fowners :gamestat /usr/bin/${PN} /var/games/${PN}.scores
+	fperms g+s /usr/bin/${PN}
+	fperms 660 /var/games/${PN}.scores
+}


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

* [gentoo-commits] repo/gentoo:master commit in: games-strategy/tornado/
@ 2021-11-03  4:07 Ionen Wolkens
  0 siblings, 0 replies; 5+ messages in thread
From: Ionen Wolkens @ 2021-11-03  4:07 UTC (permalink / raw
  To: gentoo-commits

commit:     f22ee91e18ac1b65eec983dd3ea49b48c85d3b19
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  3 03:58:11 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Nov  3 04:06:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f22ee91e

games-strategy/tornado: use domo

Hadn't realized there was an ebuild helper to install .mo files.
This doesn't make this prettier but feels more proper.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-strategy/tornado/tornado-1.4-r3.ebuild | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/games-strategy/tornado/tornado-1.4-r3.ebuild b/games-strategy/tornado/tornado-1.4-r3.ebuild
index 290d8ba7825..1fc5666fe72 100644
--- a/games-strategy/tornado/tornado-1.4-r3.ebuild
+++ b/games-strategy/tornado/tornado-1.4-r3.ebuild
@@ -50,12 +50,10 @@ src_install() {
 	local PLOCALES="de fr it nl no ru"
 	plocale_for_each_locale tornado_man
 
-	tornado_loc() {
-		insinto /usr/share/locale/${1}/LC_MESSAGES
-		newins po/${1}.mo ${PN}.mo
-	}
 	PLOCALES+=" es pt"
-	plocale_for_each_locale tornado_loc
+	local mo=($(plocale_get_locales))
+	mo=("${mo[@]/%/.mo}")
+	(( ${#mo[@]} )) && domo "${mo[@]/#/po/}"
 
 	insinto /var/games
 	doins ${PN}.scores


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

end of thread, other threads:[~2021-11-03  4:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-18 12:30 [gentoo-commits] repo/gentoo:master commit in: games-strategy/tornado/ Jeroen Roovers
  -- strict thread matches above, loose matches on Subject: below --
2018-07-18 12:30 Jeroen Roovers
2019-12-06 20:32 David Seifert
2021-10-21  3:40 Ionen Wolkens
2021-11-03  4:07 Ionen Wolkens

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