diff options
Diffstat (limited to 'games-arcade/bomns')
-rw-r--r-- | games-arcade/bomns/Manifest | 4 | ||||
-rw-r--r-- | games-arcade/bomns/bomns-0.99.2.ebuild | 48 | ||||
-rw-r--r-- | games-arcade/bomns/files/bomns-0.99.2-fpe.patch | 14 | ||||
-rw-r--r-- | games-arcade/bomns/metadata.xml | 14 |
4 files changed, 80 insertions, 0 deletions
diff --git a/games-arcade/bomns/Manifest b/games-arcade/bomns/Manifest new file mode 100644 index 000000000000..3d1c444e58e4 --- /dev/null +++ b/games-arcade/bomns/Manifest @@ -0,0 +1,4 @@ +AUX bomns-0.99.2-fpe.patch 350 BLAKE2B c80f7e73861a458c31df12db2cae3a6776b1d2b512a30927e76ed6277523173e8fbc03bb24a851db428b58910c331cc084ca063bac86ccef23f3e41c6bd3a4a6 SHA512 0e8aad5ebcfc536051c59b7d44c125a82d98ee8963df4fbc2cb0edf879be2e6898b7938aa26cd8f535355e4c2dfa7f95f232b506850fd5a6105ef84f5a37c092 +DIST bomns-0.99.2.tar.gz 1079850 BLAKE2B 7d7eb5a55455fc300d265b5efa652310d0e08b1c4a688221ca0ad8d578b423efac1bd00cd637f1918d1ba9fe903c5890e63c1ce3dab80e9e8f312083be824898 SHA512 db4a2352af0cb220dc0c12de8796d17bbfb71e1aa7de1743dfe534fe4f54c38217f893f0fcaef1dc97509198eec7446d352e92077644664d4bf48acbc2a7897f +EBUILD bomns-0.99.2.ebuild 1048 BLAKE2B f995b3d1b74f5a0daad3adbb7302c7f251624ab18803c3ad5792f580cb0d53c1bea60f3ce68e465d6ae17575e2159856dd843a47a00275887a1f3cdd74b91c6d SHA512 f87b99997603d23848ac07c83e0aeb975490cf9be70f9d79586cc67f1ece3ef803685194ceca79d9a002fa3c81a8ca0db042239c2082bbfe57e0d69ad21c1f94 +MISC metadata.xml 425 BLAKE2B fced594d29b6f96ad3ec46d47640cf06d62bf20fdcc4849120c189d9dfc84dbc883756c38cb91f972d8d29184e1483393bf55f8c122702032e533d15b44690c9 SHA512 2fce22d02ab3c395d452d3a1312b3f01cc1791177749931b2d20fda56437f38229da616b0993deaf42561d563fdb953305de886e92fbff14a94a7cec19ae2b73 diff --git a/games-arcade/bomns/bomns-0.99.2.ebuild b/games-arcade/bomns/bomns-0.99.2.ebuild new file mode 100644 index 000000000000..98b2d87716e9 --- /dev/null +++ b/games-arcade/bomns/bomns-0.99.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools flag-o-matic games + +DESCRIPTION="A fast-paced multiplayer deathmatch arcade game" +HOMEPAGE="http://greenridge.sourceforge.net" +SRC_URI="mirror://sourceforge/greenridge/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="gtk editor" + +DEPEND="media-libs/libsdl[video] + media-libs/sdl-mixer + gtk? ( x11-libs/gtk+:2 )" +RDEPEND=${DEPEND} + +src_prepare() { + sed -i \ + -e "/appicondir/s:\$(prefix):/usr:" \ + -e "/desktopdir/s:\$(prefix):/usr:" \ + $(find icons -name Makefile.am) \ + Makefile.am || die + sed -i \ + -e "s:\$*[({]prefix[})]/share:${GAMES_DATADIR}:" \ + configure.in \ + graphics/Makefile.am \ + levels/Makefile.am \ + sounds/Makefile.am || die + epatch "${FILESDIR}"/${P}-fpe.patch + eautoreconf +} + +src_configure() { + filter-flags -fforce-addr + egamesconf \ + --disable-launcher1 \ + $(use_enable gtk launcher2) \ + $(use_enable editor) +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-arcade/bomns/files/bomns-0.99.2-fpe.patch b/games-arcade/bomns/files/bomns-0.99.2-fpe.patch new file mode 100644 index 000000000000..3a9e39c241af --- /dev/null +++ b/games-arcade/bomns/files/bomns-0.99.2-fpe.patch @@ -0,0 +1,14 @@ +--- src/bomns.cpp.old 2015-01-03 18:44:59.947689613 +0100 ++++ src/bomns.cpp 2015-01-03 18:47:29.854777276 +0100 +@@ -432,7 +432,10 @@ + if(g_bShowFps) + { + dwFpsTimer = SDL_GetTicks() - dwFpsTimer; +- nFps = 1000l / dwFpsTimer; ++ if (dwFpsTimer) ++ nFps = 1000l / dwFpsTimer; ++ else ++ nFps = 1000l; + } + + diff --git a/games-arcade/bomns/metadata.xml b/games-arcade/bomns/metadata.xml new file mode 100644 index 000000000000..bbfb3927e5f4 --- /dev/null +++ b/games-arcade/bomns/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <use> + <flag name="editor">enables building the level editor</flag> + </use> + <upstream> + <remote-id type="sourceforge">greenridge</remote-id> + </upstream> +</pkgmetadata> |