summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2024-08-06 19:39:31 +0200
committerJames Le Cuirot <chewi@gentoo.org>2024-08-26 23:11:16 +0100
commit1c6ded4e9936a3a7e6c8039ac88e777379f23d98 (patch)
tree8acc8cff9ddf308cc826a42d0e175b988960d137 /games-arcade
parentgames-arcade/afternoonstalker: add 1.2.0 (diff)
downloadgentoo-1c6ded4e9936a3a7e6c8039ac88e777379f23d98.tar.gz
gentoo-1c6ded4e9936a3a7e6c8039ac88e777379f23d98.tar.bz2
gentoo-1c6ded4e9936a3a7e6c8039ac88e777379f23d98.zip
games-arcade/batrachians: add 0.2.0
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/batrachians/Manifest1
-rw-r--r--games-arcade/batrachians/batrachians-0.2.0.ebuild29
-rw-r--r--games-arcade/batrachians/files/batrachians-0.2.0-autotools.patch36
3 files changed, 66 insertions, 0 deletions
diff --git a/games-arcade/batrachians/Manifest b/games-arcade/batrachians/Manifest
index dada55c3e402..67fca7cda92f 100644
--- a/games-arcade/batrachians/Manifest
+++ b/games-arcade/batrachians/Manifest
@@ -1 +1,2 @@
DIST batrachians-0.1.7.tar.gz 206981 BLAKE2B 871fb7e22fb17fdfb0fd32d14a36cf63043e46de5bdabc83594d3d3eb43f616ec703d220ad9cf56e505c31025e76582e52b3a816d932f9fca22a6f070ed3198e SHA512 01c49cf02e3894d43948ba2656713fdd1662f3441c1dfe41b2fc3dc27fc5c4c95ac377a946d647c1c59e201a63d0659bc6fc2bd50132eb2f2b393ed64167e781
+DIST batrachians-0.2.0.tar.gz 204034 BLAKE2B 876e84308b66469d7fa7a970cbf23932dd7e1eda8c07438cbca20414a35117793ea7fef2d6852a1f4d0099a5c2710d8bd3043698bdea101020459dd1c7f20917 SHA512 da0429cd17a6c289f3d5dd1fad11847713c56510d9bdc7e6fa10e0045bb4985662030ea04e49db740eb361e8e016e701736a7ce52501816c68b32f2cd398c189
diff --git a/games-arcade/batrachians/batrachians-0.2.0.ebuild b/games-arcade/batrachians/batrachians-0.2.0.ebuild
new file mode 100644
index 000000000000..fd8cd3f9fd04
--- /dev/null
+++ b/games-arcade/batrachians/batrachians-0.2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools xdg
+
+DESCRIPTION="Fly-eating frog video game"
+HOMEPAGE="http://perso.b2b2c.ca/~sarrazip/dev/batrachians.html"
+SRC_URI="http://perso.b2b2c.ca/~sarrazip/dev/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-games/flatzebra-0.2.0
+ media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-mixer"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.2.0-autotools.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
diff --git a/games-arcade/batrachians/files/batrachians-0.2.0-autotools.patch b/games-arcade/batrachians/files/batrachians-0.2.0-autotools.patch
new file mode 100644
index 000000000000..e80792a9df6c
--- /dev/null
+++ b/games-arcade/batrachians/files/batrachians-0.2.0-autotools.patch
@@ -0,0 +1,36 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,20 +1,19 @@
+ SUBDIRS = src
+
+-man_MANS = doc/$(PACKAGE).6
++man_MANS = doc/batrachians.6
+
+ RPMBUILD = rpmbuild
+ rpm: dist
+ $(RPMBUILD) -ta $(distdir).tar.gz
+
+-docdir = $(datarootdir)/doc/$(PACKAGE)-$(VERSION)
+ doc_DATA = \
+ AUTHORS \
+- COPYING \
+ NEWS \
+ README \
+ THANKS
+
+ EXTRA_DIST = \
++ COPYING \
+ bootstrap \
+ autogen.sh \
+ $(PACKAGE).spec \
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -20,7 +20,7 @@
+ $(W_SUGGEST_OVERRIDE) \
+ $(FLATZEBRA_CFLAGS)
+
+-pkgsounddir = $(datarootdir)/sounds/$(PACKAGE)
++pkgsounddir = $(pkgdatadir)/sounds/$(PACKAGE)
+ pkgsound_DATA = \
+ sounds/game-starts.wav \
+ sounds/game-ends.wav \