public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-simulation/senken/
@ 2016-09-16  0:15 Austin English
  0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-09-16  0:15 UTC (permalink / raw
  To: gentoo-commits

commit:     c080aad420ddf0eb5af43ff1ec6cfa2442cb7c99
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 15 20:48:12 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 00:15:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c080aad4

games-simulation/senken: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-simulation/senken/senken-0.3.0-r1.ebuild | 53 ++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/games-simulation/senken/senken-0.3.0-r1.ebuild b/games-simulation/senken/senken-0.3.0-r1.ebuild
new file mode 100644
index 00000000..2379385
--- /dev/null
+++ b/games-simulation/senken/senken-0.3.0-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="city simulation game"
+HOMEPAGE="https://savannah.nongnu.org/projects/senken/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls"
+
+RDEPEND="
+	>=media-libs/libsdl-1.2.4
+	media-libs/sdl-image
+	x11-libs/gtk+:2
+	nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+	nls? ( sys-devel/gettext )"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-as-needed.patch
+	"${FILESDIR}"/${P}-warnings.patch
+)
+
+src_prepare() {
+	default
+
+	sed -i \
+		-e "s:/usr/local/share:/usr/share:" \
+		lib/utils.h || die
+}
+src_configure() {
+	econf $(use_enable nls)
+}
+
+src_install() {
+	default
+
+	#dodir "${GAMES_DATADIR}"
+	#mv "${D}/${GAMES_PREFIX}/share/senken" "${D}/${GAMES_DATADIR}/" || die
+	#rm -rf "${D}/${GAMES_PREFIX}"/{include,lib,man,share} || die
+
+	insinto /usr/share/senken/img
+	doins img/*.png
+
+	find "${D}/usr/share/" -type f -exec chmod a-x \{\} +
+	find "${D}/usr/share/" -name "Makefile.*" -exec rm -f \{\} +
+}


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

* [gentoo-commits] repo/gentoo:master commit in: games-simulation/senken/
@ 2023-03-05  3:16 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-03-05  3:16 UTC (permalink / raw
  To: gentoo-commits

commit:     dc10e1c5d7db518ec40600fbe34fec12b10f50f6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  5 03:16:03 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  5 03:16:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc10e1c5

games-simulation/senken: add savannah-nongnu upstream metadata

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-simulation/senken/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/games-simulation/senken/metadata.xml b/games-simulation/senken/metadata.xml
index 1c3ba213c494..36d202f38fa2 100644
--- a/games-simulation/senken/metadata.xml
+++ b/games-simulation/senken/metadata.xml
@@ -5,4 +5,7 @@
 	<email>games@gentoo.org</email>
 	<name>Gentoo Games Project</name>
 </maintainer>
+<upstream>
+<remote-id type="savannah-nongnu">senken</remote-id>
+</upstream>
 </pkgmetadata>


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

end of thread, other threads:[~2023-03-05  3:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-05  3:16 [gentoo-commits] repo/gentoo:master commit in: games-simulation/senken/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2016-09-16  0:15 Austin English

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