diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-action/koth |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/koth')
-rw-r--r-- | games-action/koth/Manifest | 8 | ||||
-rw-r--r-- | games-action/koth/files/koth-0.8.0-gcc-3.4.patch | 29 | ||||
-rw-r--r-- | games-action/koth/files/koth-0.8.0-r1-gcc-3.4.patch | 29 | ||||
-rw-r--r-- | games-action/koth/koth-0.8.0-r1.ebuild | 36 | ||||
-rw-r--r-- | games-action/koth/koth-0.8.0.ebuild | 34 | ||||
-rw-r--r-- | games-action/koth/metadata.xml | 11 |
6 files changed, 147 insertions, 0 deletions
diff --git a/games-action/koth/Manifest b/games-action/koth/Manifest new file mode 100644 index 000000000000..49043bf73bc2 --- /dev/null +++ b/games-action/koth/Manifest @@ -0,0 +1,8 @@ +AUX koth-0.8.0-gcc-3.4.patch 612 SHA256 edc4f8f53e5a6830251e42d0efdd416ab761fd3cb1a4551a78626be712dc7dcc SHA512 6306dfe2ab7fe4bdca6a1adae94aacd1736feed2349df3d3d75bf33a8133a5e33b5f79e2a4ed57170d28f9d1ac263d43ee5a269a6f28f216cabda128b6bcaf14 WHIRLPOOL 9e85bf8f1494b8d7dbed25e7a7f48283917d707c42e6b110dd0fc84fb91e284bf88d41adb9045c036e2c7999ae50b51263fed246bacef799c725cb8268638abb +AUX koth-0.8.0-r1-gcc-3.4.patch 628 SHA256 fb2a04ae3632b83a44817d76ea5e73b2589ad2cfcdb6f88d6b0af32e7763809d SHA512 ca6bfe40d9ab0a08bae833684628422d2b69047ec4aa80df43e0c093184680f8d202180f0ae3d89099b4c45aa481ac28055a1a5deb5afb69e8c397508e46e08e WHIRLPOOL c8ffb27a985bdddbc6a76d7399b979b20e9f0e6930cf3ce0ae798f496681f750e4d6d53a216d4a6357f7783aa7422dd788b2c3dd5230b4b4d0030f825305a640 +DIST koth-0.8.0.tar.bz2 140569 SHA256 1f61e1c354ab2b425b33b1504fb181d8bf9e0b6e154c6d3a516b2f98f7c805d8 SHA512 edda377be9074298c63e85cad5f37f55dc67f0e9a7d075a94207559265ffbf8a5eadbd2dc0e4a06e535e6da9fcfd309d01141ba8be04cf8960b0229e0ce4ab9f WHIRLPOOL 0416e96f6e11fca4d567246184ab851dd4b225214c2982de4e966fb5d1274338956915571e2b53af1f1c0cd37b9a611fe468079550631f80f3b28de8f8c26870 +EBUILD koth-0.8.0-r1.ebuild 838 SHA256 74f5e642a017a701cb0d76de3ac281b9ecd87939c8df24659d2ad6f1240c9962 SHA512 bb5092995841a66257753e845bf53dd3fff8b7de23f809bacdab94189d9ec753be52763c5f235661e15b3a460d435d64ae59e2bb7b6fcda2413de1e2ca0f64a2 WHIRLPOOL b6f800ceedc52469ad52bce3eab7ed8f784bfaa0b551fda5e0ebeea612da34be654155e9ad4b6ba9545ea0438336480160270ea0ced5bbb8ce8c61ea9ae580f5 +EBUILD koth-0.8.0.ebuild 895 SHA256 75f8e9af09be4d6a1e0a97fe65c01b8e20996796c934aacabff0b1a2434a6afd SHA512 f5358d5f5544091435103264ad364a62b34fee6f86fbcd2e09da0e78fb9d3d9e82810beaeca142ce42271aa04032a530ab61f1b408aace3465afafc455891094 WHIRLPOOL 7e2496c1fb1757c98a3442c548baac6e7a0cc550ac5be6f9684b2a3441db3ecd7780831002401ef4b2f9646b05c1a1d92590b54f9a09d052a5c0d8deb6144a6c +MISC ChangeLog 2834 SHA256 4c2782d46e37f27c2d4971581982691fade115bb494d04cdb582b7a131141c01 SHA512 62794f8a7108fea918a6fc01f2db160a91336ec46ff0bda123b6d9676ebc63b09cc42ad3786a450b260266e7edd8467785e114a04e9df14df40986164038740b WHIRLPOOL eef3494694bd61c9169875e98aae4c419b8cf7fca8ee343c7b2ba68ce790bf1c5d2c0a2e20c0919ec64c19e58a095709eb8e52dc8790bb36c8a7402b1e4869ec +MISC ChangeLog-2015 2503 SHA256 f1929d69b98adc232965b1582db72ad48d20c6d10e7086c56e061c9ee433aa1e SHA512 0e2fe814bda50d6afac17ce8a6e7f1ac67aa54036d73491f6f4c400f9266f4eeac897560c750a22a5c3e339bb0b0e9e9806e16c7d607dbb3f8b7c1d1190617e2 WHIRLPOOL 8a2ba2b6a2ba1a1ec4f229eb6c2731ad23a5c75967f7e314ee889d94f3cfc2baf7700af50502f6a8e494f1fe0d9cc0db7a7b413e7419b32b4b442d6857587e27 +MISC metadata.xml 562 SHA256 82468981eebb2029f77b0cfda514fa592c3ef2c22b5e189502e248aa88b6d11f SHA512 c9bf2b0f6d97e56b9b8d3667fecd9a18bc971f2a396c7bb9a2904ea3e86eec4b625ff73630b4c6a45eea30418e8cfd8b3774a699e45b98b4e44bbb205365d333 WHIRLPOOL 7229e935a8b3a77b122527471bfe654f074cdcb92bbf38f734326bc84159d9a682ebe0582a3ef4c1822b2af52eb79157c2e1ac0448752645453b228e05a813dc diff --git a/games-action/koth/files/koth-0.8.0-gcc-3.4.patch b/games-action/koth/files/koth-0.8.0-gcc-3.4.patch new file mode 100644 index 000000000000..4a858cbe03a9 --- /dev/null +++ b/games-action/koth/files/koth-0.8.0-gcc-3.4.patch @@ -0,0 +1,29 @@ +--- relay.c.old 2004-11-01 09:19:04.835537536 +0000 ++++ relay.c 2004-11-01 09:19:59.453234384 +0000 +@@ -260,6 +260,7 @@ + else goto bail; + goto nextpkt; + bail: ++ ; + } + } + } +--- ballistics.c.old 2004-11-01 09:19:33.132235784 +0000 ++++ ballistics.c 2004-11-01 09:20:16.849589736 +0000 +@@ -92,6 +92,7 @@ + break; + case WALL_LAST: + /* just to satisfy gcc -Wall */ ++ ; + } + } + +@@ -210,7 +211,7 @@ + break; + case WALL_RANDOM: /* both of this can't happen, */ + case WALL_LAST: /* so they are here to satisfy gcc -Wall */ +- ++ ; + } + } + return FLYING; diff --git a/games-action/koth/files/koth-0.8.0-r1-gcc-3.4.patch b/games-action/koth/files/koth-0.8.0-r1-gcc-3.4.patch new file mode 100644 index 000000000000..145f17dbccdd --- /dev/null +++ b/games-action/koth/files/koth-0.8.0-r1-gcc-3.4.patch @@ -0,0 +1,29 @@ +--- a/src/relay.c 2004-11-01 09:19:04.835537536 +0000 ++++ b/src/relay.c 2004-11-01 09:19:59.453234384 +0000 +@@ -260,6 +260,7 @@ + else goto bail; + goto nextpkt; + bail: ++ ; + } + } + } +--- a/src/ballistics.c 2004-11-01 09:19:33.132235784 +0000 ++++ b/src/ballistics.c 2004-11-01 09:20:16.849589736 +0000 +@@ -92,6 +92,7 @@ + break; + case WALL_LAST: + /* just to satisfy gcc -Wall */ ++ ; + } + } + +@@ -210,7 +211,7 @@ + break; + case WALL_RANDOM: /* both of this can't happen, */ + case WALL_LAST: /* so they are here to satisfy gcc -Wall */ +- ++ ; + } + } + return FLYING; diff --git a/games-action/koth/koth-0.8.0-r1.ebuild b/games-action/koth/koth-0.8.0-r1.ebuild new file mode 100644 index 000000000000..bc77fea14053 --- /dev/null +++ b/games-action/koth/koth-0.8.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils flag-o-matic + +DESCRIPTION="Multiplayer, networked game of little tanks with really big weapons" +HOMEPAGE="http://www.nongnu.org/koth/" +SRC_URI="https://savannah.nongnu.org/download/${PN}/default.pkg/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libggi" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PF}-gcc-3.4.patch +) + +src_prepare() { + default + sed -i 's:-g -O2::' configure || die + sed -i 's:(uint16):(uint16_t):' src/gfx.c src/gfx.h || die + append-cflags -std=gnu89 # build with gcc5 (bug #570730) +} + +src_install() { + DOCS="AUTHORS ChangeLog NEWS README doc/*.txt" \ + default + dodir /etc/koth + insinto /etc/koth + doins src/koth.cfg +} diff --git a/games-action/koth/koth-0.8.0.ebuild b/games-action/koth/koth-0.8.0.ebuild new file mode 100644 index 000000000000..18d36d07d44e --- /dev/null +++ b/games-action/koth/koth-0.8.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic games + +DESCRIPTION="Multiplayer, networked game of little tanks with really big weapons" +HOMEPAGE="http://www.nongnu.org/koth/" +SRC_URI="https://savannah.nongnu.org/download/${PN}/default.pkg/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libggi" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i 's:-g -O2::' configure || die + cd src + epatch "${FILESDIR}"/${P}-gcc-3.4.patch + sed -i "s:/etc/koth:${GAMES_SYSCONFDIR}:" cfgfile.h || die + sed -i 's:(uint16):(uint16_t):' gfx.c gfx.h || die + append-cflags -std=gnu89 # build with gcc5 (bug #570730) +} + +src_install() { + DOCS="AUTHORS ChangeLog NEWS README doc/*.txt" \ + default + insinto "${GAMES_SYSCONFDIR}" + doins src/koth.cfg + prepgamesdirs +} diff --git a/games-action/koth/metadata.xml b/games-action/koth/metadata.xml new file mode 100644 index 000000000000..af8d2cdcfd9e --- /dev/null +++ b/games-action/koth/metadata.xml @@ -0,0 +1,11 @@ +<?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> +<longdescription> +King of the Hill (KOTH) is a multiplayer, networked artillery game of little tanks with really big weapons set out to destroy one another. Best-known games of this type include the classic DOS game "Scorched Earth: The Mother of All Games" and "Scorched Tanks" for the Amiga. +</longdescription> +</pkgmetadata> |