summaryrefslogtreecommitdiff
path: root/games-arcade/njam
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-01 08:00:51 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-01 08:00:51 +0100
commitd1c14e94a73fba924761cdad7298f3e48c6bc160 (patch)
tree60b97f0d81b3b06b06acc48ff8856d7c4afa2989 /games-arcade/njam
parentd5ee59790ee8298b8599b0aa0fa21a98b972a44d (diff)
gentoo auto-resync : 01:07:2024 - 08:00:50
Diffstat (limited to 'games-arcade/njam')
-rw-r--r--games-arcade/njam/Manifest4
-rw-r--r--games-arcade/njam/njam-1.25-r2.ebuild (renamed from games-arcade/njam/njam-1.25-r1.ebuild)22
2 files changed, 13 insertions, 13 deletions
diff --git a/games-arcade/njam/Manifest b/games-arcade/njam/Manifest
index 26046f15bf7b..fe63e0aea986 100644
--- a/games-arcade/njam/Manifest
+++ b/games-arcade/njam/Manifest
@@ -1,5 +1,5 @@
AUX njam-1.25-format-security.patch 499 BLAKE2B d960f3a2f45cf02cefa7bca36a55f3ed1bbfa8af43378d0610b3d4613f10e26207f0c2ce33664ae778e2dd6e3cac59bc9ba9a795f053421e5824c7fefa1dff53 SHA512 18ddb018ce34ca1e5658025147b5ad61f5a8b6308c79003fcf4bf6cb2e003bdc26322fb18d8aea648d4df047c1928dbe1302e1790d87bc8c71e0b7fa7e8ef1e4
AUX njam-1.25-gcc45.patch 670 BLAKE2B 068369a02f7ea0a88b3742e575989289ca9b7309db0bf24013c12f0103d7f56f5dbdd390904910d2f671f822d70a1c61c0441ba9e8f27f30d66f7eab0adaf6b4 SHA512 93c9b554ad062c4d2fae70a61f13d7f5a2880b303ec04c05a14b92dac3d0c74711ad2360f05ebc7799fb8d48c59c1bdbff30448f7edbd5c589a8d060bcde2c09
-DIST njam-1.25-src.tar.gz 1665803 BLAKE2B 7e505bd2b6d1d50046c98a3e0edbe5cdd4831ee8d8525562d2b85296f98881f7aaab7154c2482c24be88015a81dc82d3d1b89693d6e7cc16a163a6f342f3b5e3 SHA512 d19c249ade34ede322245718fbc6fc79c5a0ed5f5da50989f88de48410dda3d7ae29f8968185166dfdc1dd23dae8126efe4a5f3c76c3731b90afd1c798f66917
-EBUILD njam-1.25-r1.ebuild 1150 BLAKE2B 5d607cc7b0961ff19516b37c156873336f33eb558054852c906f82e0d2617b88139cff7f3c191bcd1f9c7acf4f88f688e937190ef1530be8c3fb59054061091a SHA512 7e2062e387fe2f9827616ab94093331549772f5522bb22dccb28e9d23c965251a252bd7a3d29fd04f3e4d286eb867a53d1f4a7a18c92cf3299206efd70fd3bb2
+DIST njam-1.25.tar.gz 1665803 BLAKE2B 7e505bd2b6d1d50046c98a3e0edbe5cdd4831ee8d8525562d2b85296f98881f7aaab7154c2482c24be88015a81dc82d3d1b89693d6e7cc16a163a6f342f3b5e3 SHA512 d19c249ade34ede322245718fbc6fc79c5a0ed5f5da50989f88de48410dda3d7ae29f8968185166dfdc1dd23dae8126efe4a5f3c76c3731b90afd1c798f66917
+EBUILD njam-1.25-r2.ebuild 1219 BLAKE2B c0567a5560368c49a2dee63e89f1f89ea11d767f7c72640101f669f4d77d97c0e15ae6dd76740b86a102dbd605f506cd9f544ce1448db4dd3bdb84ab43d7d990 SHA512 ed2afe291459198fb413ec6aabf47a06c1b68c6538bf022d0c9aa19e909f7d93711540b8d173e23178c2c8e37be8122133fe4a6757a041c20090e06ad1d26893
MISC metadata.xml 328 BLAKE2B e89d5918aafc0e160e986788b6e12fcd25d12e3fa649b8d04f1c136e11c1136ab4957639b9e29ba91ee9aa6f90444163ab882ff6ed865dcc16e4b1d1f85100ae SHA512 44f93e388ad2f8cc94379ad735af7e1c997472932b4919595d1573596e38552e10bbfd79e9c3c688ba79ac9ce05c471a026c2d77b82b39eb4e0d6d87888cb1bb
diff --git a/games-arcade/njam/njam-1.25-r1.ebuild b/games-arcade/njam/njam-1.25-r2.ebuild
index 8c516133de48..1edfaed1cc14 100644
--- a/games-arcade/njam/njam-1.25-r1.ebuild
+++ b/games-arcade/njam/njam-1.25-r2.ebuild
@@ -1,18 +1,19 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit desktop flag-o-matic
+EAPI=8
-MY_P="${P}-src"
+inherit autotools desktop flag-o-matic
+
+MY_P="${PN}_${PV}.orig"
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"
+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"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
DEPEND="media-libs/sdl-mixer
media-libs/sdl-image
@@ -20,8 +21,6 @@ DEPEND="media-libs/sdl-mixer
media-libs/sdl-net"
RDEPEND="${DEPEND}"
-S="${WORKDIR}/${MY_P}"
-
src_prepare() {
default
sed -i \
@@ -38,14 +37,15 @@ src_prepare() {
# 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/"
- rm -f "${ED}"/README "${ED}"/levels/readme.txt
+ 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