public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/njam/
@ 2018-04-23 19:17 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2018-04-23 19:17 UTC (permalink / raw
  To: gentoo-commits

commit:     b2999a87193370427adfc88f2feff91ec91e1779
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 23 17:59:41 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Apr 23 19:16:54 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2999a87

games-arcade/njam: Drop old

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-arcade/njam/njam-1.25.ebuild | 46 --------------------------------------
 1 file changed, 46 deletions(-)

diff --git a/games-arcade/njam/njam-1.25.ebuild b/games-arcade/njam/njam-1.25.ebuild
deleted file mode 100644
index 35681f65d97..00000000000
--- a/games-arcade/njam/njam-1.25.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils flag-o-matic games
-
-MY_P=${P}-src
-DESCRIPTION="Multi or single-player network Pacman-like game in SDL"
-HOMEPAGE="http://njam.sourceforge.net/"
-SRC_URI="mirror://sourceforge/njam/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="media-libs/sdl-mixer
-	media-libs/sdl-image
-	media-libs/libsdl
-	media-libs/sdl-net"
-RDEPEND="${DEPEND}"
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-	sed -i \
-		-e "s:hiscore.dat:${GAMES_STATEDIR}/${PN}/\0:" \
-		src/njam.cpp \
-		|| die "sed failed"
-	sed -i \
-		-e "/hiscore.dat/ s:\$(DEFAULT_LIBDIR):${GAMES_STATEDIR}:" \
-		Makefile.in \
-		|| die "sed failed"
-	epatch "${FILESDIR}"/${P}-gcc45.patch
-	# njam segfaults on startup with -Os
-	replace-flags "-Os" "-O2"
-}
-
-src_install() {
-	dodir "${GAMES_STATEDIR}/${PN}"
-	emake DESTDIR="${D}" install
-	dohtml -r "${D}${GAMES_DATADIR}/njam/html/"*
-	rm -rf "${D}${GAMES_DATADIR}/njam/html/"
-	newicon data/njamicon.bmp njam.bmp
-	make_desktop_entry njam Njam /usr/share/pixmaps/njam.bmp
-	prepgamesdirs
-}


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/njam/
@ 2024-06-30 12:41 Conrad Kostecki
  0 siblings, 0 replies; 3+ messages in thread
From: Conrad Kostecki @ 2024-06-30 12:41 UTC (permalink / raw
  To: gentoo-commits

commit:     fa61c118e07fc1c8a3bb71a2a3ace3ba9bfc0e56
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Jun 30 11:56:52 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jun 30 12:40:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa61c118

games-arcade/njam: drop old

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37375
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 games-arcade/njam/Manifest            |  1 -
 games-arcade/njam/njam-1.25-r1.ebuild | 52 -----------------------------------
 2 files changed, 53 deletions(-)

diff --git a/games-arcade/njam/Manifest b/games-arcade/njam/Manifest
index 75aca59b2c0e..0ee9dedf3443 100644
--- a/games-arcade/njam/Manifest
+++ b/games-arcade/njam/Manifest
@@ -1,2 +1 @@
-DIST njam-1.25-src.tar.gz 1665803 BLAKE2B 7e505bd2b6d1d50046c98a3e0edbe5cdd4831ee8d8525562d2b85296f98881f7aaab7154c2482c24be88015a81dc82d3d1b89693d6e7cc16a163a6f342f3b5e3 SHA512 d19c249ade34ede322245718fbc6fc79c5a0ed5f5da50989f88de48410dda3d7ae29f8968185166dfdc1dd23dae8126efe4a5f3c76c3731b90afd1c798f66917
 DIST njam-1.25.tar.gz 1665803 BLAKE2B 7e505bd2b6d1d50046c98a3e0edbe5cdd4831ee8d8525562d2b85296f98881f7aaab7154c2482c24be88015a81dc82d3d1b89693d6e7cc16a163a6f342f3b5e3 SHA512 d19c249ade34ede322245718fbc6fc79c5a0ed5f5da50989f88de48410dda3d7ae29f8968185166dfdc1dd23dae8126efe4a5f3c76c3731b90afd1c798f66917

diff --git a/games-arcade/njam/njam-1.25-r1.ebuild b/games-arcade/njam/njam-1.25-r1.ebuild
deleted file mode 100644
index 8c516133de48..000000000000
--- a/games-arcade/njam/njam-1.25-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit desktop flag-o-matic
-
-MY_P="${P}-src"
-DESCRIPTION="Multi or single-player network Pacman-like game in SDL"
-HOMEPAGE="http://njam.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/njam/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="media-libs/sdl-mixer
-	media-libs/sdl-image
-	media-libs/libsdl
-	media-libs/sdl-net"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-	default
-	sed -i \
-		-e "s:hiscore.dat:/var/${PN}/\0:" \
-		src/njam.cpp \
-		|| die "sed failed"
-	sed -i \
-		-e "/hiscore.dat/ s:\$(DEFAULT_LIBDIR):/var:" \
-		Makefile.in \
-		|| die "sed failed"
-
-	eapply "${FILESDIR}"/${P}-gcc45.patch
-	eapply "${FILESDIR}"/${P}-format-security.patch #542124
-
-	# njam segfaults on startup with -Os
-	replace-flags "-Os" "-O2"
-}
-
-src_install() {
-	default
-
-	HTML_DOCS="${ED}/usr/share/njam/html/*"
-	rm -rf "${ED}/usr/share/njam/html/"
-	rm -f "${ED}"/README "${ED}"/levels/readme.txt
-
-	newicon data/njamicon.bmp njam.bmp
-	make_desktop_entry njam Njam /usr/share/pixmaps/njam.bmp
-}


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

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/njam/
@ 2024-06-30 12:41 Conrad Kostecki
  0 siblings, 0 replies; 3+ messages in thread
From: Conrad Kostecki @ 2024-06-30 12:41 UTC (permalink / raw
  To: gentoo-commits

commit:     d9ef913034039f6bb4aa929e63831b9575f893c6
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Jun 30 11:56:36 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jun 30 12:40:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9ef9130

games-arcade/njam: EAPI8 bump, fix bug #898798

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>

Closes: https://bugs.gentoo.org/898798
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 games-arcade/njam/Manifest            |  1 +
 games-arcade/njam/njam-1.25-r2.ebuild | 52 +++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/games-arcade/njam/Manifest b/games-arcade/njam/Manifest
index 86dd7fee1e96..75aca59b2c0e 100644
--- a/games-arcade/njam/Manifest
+++ b/games-arcade/njam/Manifest
@@ -1 +1,2 @@
 DIST njam-1.25-src.tar.gz 1665803 BLAKE2B 7e505bd2b6d1d50046c98a3e0edbe5cdd4831ee8d8525562d2b85296f98881f7aaab7154c2482c24be88015a81dc82d3d1b89693d6e7cc16a163a6f342f3b5e3 SHA512 d19c249ade34ede322245718fbc6fc79c5a0ed5f5da50989f88de48410dda3d7ae29f8968185166dfdc1dd23dae8126efe4a5f3c76c3731b90afd1c798f66917
+DIST njam-1.25.tar.gz 1665803 BLAKE2B 7e505bd2b6d1d50046c98a3e0edbe5cdd4831ee8d8525562d2b85296f98881f7aaab7154c2482c24be88015a81dc82d3d1b89693d6e7cc16a163a6f342f3b5e3 SHA512 d19c249ade34ede322245718fbc6fc79c5a0ed5f5da50989f88de48410dda3d7ae29f8968185166dfdc1dd23dae8126efe4a5f3c76c3731b90afd1c798f66917

diff --git a/games-arcade/njam/njam-1.25-r2.ebuild b/games-arcade/njam/njam-1.25-r2.ebuild
new file mode 100644
index 000000000000..1edfaed1cc14
--- /dev/null
+++ b/games-arcade/njam/njam-1.25-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop flag-o-matic
+
+MY_P="${PN}_${PV}.orig"
+DESCRIPTION="Multi or single-player network Pacman-like game in SDL"
+HOMEPAGE="https://archive.org/details/njam1.25-src"
+SRC_URI="https://archive.org/download/njam1.25-src/${MY_P}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}-src"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="media-libs/sdl-mixer
+	media-libs/sdl-image
+	media-libs/libsdl
+	media-libs/sdl-net"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	sed -i \
+		-e "s:hiscore.dat:/var/${PN}/\0:" \
+		src/njam.cpp \
+		|| die "sed failed"
+	sed -i \
+		-e "/hiscore.dat/ s:\$(DEFAULT_LIBDIR):/var:" \
+		Makefile.in \
+		|| die "sed failed"
+
+	eapply "${FILESDIR}"/${P}-gcc45.patch
+	eapply "${FILESDIR}"/${P}-format-security.patch #542124
+
+	# njam segfaults on startup with -Os
+	replace-flags "-Os" "-O2"
+	eautoreconf
+}
+
+src_install() {
+	default
+
+	HTML_DOCS="${ED}/usr/share/njam/html/*"
+	rm -rf "${ED}/usr/share/njam/html/" || die
+	rm -f "${ED}"/README "${ED}"/levels/readme.txt || die
+
+	newicon data/njamicon.bmp njam.bmp
+	make_desktop_entry njam Njam /usr/share/pixmaps/njam.bmp
+}


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

end of thread, other threads:[~2024-06-30 12:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-30 12:41 [gentoo-commits] repo/gentoo:master commit in: games-arcade/njam/ Conrad Kostecki
  -- strict thread matches above, loose matches on Subject: below --
2024-06-30 12:41 Conrad Kostecki
2018-04-23 19:17 Pacho Ramos

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