diff options
Diffstat (limited to 'games-arcade/bomns')
-rw-r--r-- | games-arcade/bomns/Manifest | 6 | ||||
-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, 82 insertions, 0 deletions
diff --git a/games-arcade/bomns/Manifest b/games-arcade/bomns/Manifest new file mode 100644 index 000000000000..8b3efecbf049 --- /dev/null +++ b/games-arcade/bomns/Manifest @@ -0,0 +1,6 @@ +AUX bomns-0.99.2-fpe.patch 350 SHA256 c8b840dfa09a69bfebd82b429af90f879eeb15fd272095407728628981feaec4 SHA512 0e8aad5ebcfc536051c59b7d44c125a82d98ee8963df4fbc2cb0edf879be2e6898b7938aa26cd8f535355e4c2dfa7f95f232b506850fd5a6105ef84f5a37c092 WHIRLPOOL 90c04dd79ba2014e8659adc3eded058ec79b4295058bf86656328d5cfe6a13af99de87eb54c24bac2de4dd8a8b9a9904f5ef82545ac57dca65a0f98fc7e64dcd +DIST bomns-0.99.2.tar.gz 1079850 SHA256 e292bec8ec8ca3b0ffe40b7b09f9fe5cce4d506e35425ee8de2d13ecf754ea5f SHA512 db4a2352af0cb220dc0c12de8796d17bbfb71e1aa7de1743dfe534fe4f54c38217f893f0fcaef1dc97509198eec7446d352e92077644664d4bf48acbc2a7897f WHIRLPOOL aa9e91a9be4fa07912c711bba1a11125f23387247a9bed01a80ad23be19b7d9ff4667cf6fdb65b26b486b2a0a9c4fe55628aa34c56c89e9d8c8e1916b5d37cab +EBUILD bomns-0.99.2.ebuild 1046 SHA256 76ae52b81c7b077bcd1e30ddfb2d5ebbedfd5f49e566adcf638ca877f7720cb9 SHA512 3ee617363ac738b7ba38526a6da3418052cacbf90da956d3a65ed14cf40f83cff7cc8f9f7df0ecf48b662cd66fba07384889c2ddd4939c0661f2606f3056c03a WHIRLPOOL e8596788dcf1484d0b67546a065fb3b58143e5becb463e502af21712253bc06918ccd3621695a323ff21dbe9d412373250b443f87a48ceda6ed1c1827595f231 +MISC ChangeLog 2594 SHA256 d3c0e3519da315985944c8737d62960d1664eda0464f84460215cfe6cc3d653a SHA512 425a58635ebfa6e578cbe2f4031bb2539febdfa8e4fea354efdef7fc000b2ccd0742d822a0f876b6ecf18122109bf84e028ee536982758bdbb8e9ce9d57eabb5 WHIRLPOOL df7a8941a90a1f1c8c9f14ecdacb71eb90d709333a2fd3b0c053911433dc20a6f156d62f00a1eb7095106d6f629e71a4378f5a074bd3858c8e6462d5c83f0d5a +MISC ChangeLog-2015 1419 SHA256 3712a7c99331de9ab90cd5c5dc988464746aea0036ddc0c82c454a7babf81416 SHA512 eddd1dae3426fa555422c7b7ecede665bcdd912ca94555997030052ce40d6582dc0ef642bffb9e5b1c0fbd621a1fb5af9f0a5ffa101da91e4e3d547759ce8102 WHIRLPOOL 795aaf45e77c5e785552161c341a650d4d564ad906775c4695f6cb8242d9ac20aa542fc611943e8929940a613b842c4b3b4c91de9fb4821d4b1c0f401f10d073 +MISC metadata.xml 425 SHA256 071e00614a0326d0268d5619996d384200d331954aa7a3c74aae47962971b9ef SHA512 2fce22d02ab3c395d452d3a1312b3f01cc1791177749931b2d20fda56437f38229da616b0993deaf42561d563fdb953305de886e92fbff14a94a7cec19ae2b73 WHIRLPOOL bbbdaf787f9a1dd3c0aac377cb9c11a9bd61c82041715496983f838e6b6473cd7e0df44d4655c68a9e5b771eedf92c187e2167025c727b9614f17809492157a2 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..251ef5b34f5a --- /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> |