summaryrefslogtreecommitdiff
path: root/games-action/clanbomber
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-action/clanbomber
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/clanbomber')
-rw-r--r--games-action/clanbomber/Manifest8
-rw-r--r--games-action/clanbomber/clanbomber-2.1.1-r1.ebuild48
-rw-r--r--games-action/clanbomber/files/clanbomber-2.1.1-automake112.patch11
-rw-r--r--games-action/clanbomber/files/clanbomber-2.1.1-boost150.patch31
-rw-r--r--games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch19
-rw-r--r--games-action/clanbomber/metadata.xml15
6 files changed, 132 insertions, 0 deletions
diff --git a/games-action/clanbomber/Manifest b/games-action/clanbomber/Manifest
new file mode 100644
index 000000000000..07c618ac1275
--- /dev/null
+++ b/games-action/clanbomber/Manifest
@@ -0,0 +1,8 @@
+AUX clanbomber-2.1.1-automake112.patch 373 SHA256 8f3b28fbaf979bfb8483e0d2aae6b277ba7de918a6d50d2c98700d6b51fa0468 SHA512 65b4ea53e098daea63f5cf5cb5da98bfa712e16f8346a38f06389329b80c3180f68da1b08bec422b712bd79e5911480094f6a6f446673022e10846b4995aa755 WHIRLPOOL a2323bd15ce00e0a55d5f9dcf707289d3e9acbb76866bfd0a430d092e128fa933dad7872ac17b75ddbbd47c9c51307640084f97758483c4e69c983892ba294f9
+AUX clanbomber-2.1.1-boost150.patch 1140 SHA256 2319dc865bd50c773a3c21709f73c053613fbad773806c355f9b6f38e8a616dc SHA512 cdd0b5ca38d6cee6f4e8afbccca956fb0dd8d2b84aef714cd2c8499a6b53e62016c51d58d389adcde95dd06b08b7b749428677d414ef792123d04e6cc8493806 WHIRLPOOL 7a0f36560de792e929911531abef6958e882a28b76378b06417e6826fb9462104b173fac2205b3ce292c741cfeaa1f881a853f9bdeba9bc75b3647c4bb983866
+AUX clanbomber-2.1.1-gcc6.patch 408 SHA256 318cf8a3ac8640b41e3dcfcae6d5c734364fcf634cdba9f94dcb56269c569445 SHA512 8f51ea2b0b9dc7323710b7a5e91b3622ac728f035c19d7e5c01731d87f0cce3f5c6d54905f42811f46b0a68e899aad0ad23d099039b9fa329c7245e27e2fadfd WHIRLPOOL 1cf2d684afd373b6cde244dbc9339248408a0f7754e8f0dd31ae9a8e2d514e6221c45d57df59c2e7ba8e8b6d4af11831c3e6bf18c64ee23bdc6b4bb8e916f84d
+DIST clanbomber-2.1.1.tar.lzma 2070392 SHA256 82aa263e6560f7e12a9bf590df1046cb4da8fc855162ab9ad09f89ec2e617e3b SHA512 b2d634c20d60cd7c080263a8ebea931bd623342c32380494c0076441021719135ca7861e0467e0c71cd46bb4ed85d3ce364dbfa2c8399eaf058f62f294a21c32 WHIRLPOOL d7d9c71ea20d8f1bcd1420156516c9f969880d4ba7907093361ee1713b8984a1fe1c11bda1f7f3f46a3503d257b180be8ec9e028a5b624531cfc7a493fa9c144
+EBUILD clanbomber-2.1.1-r1.ebuild 1138 SHA256 2e1fa34b459c3e569209f58d3e9fa2ea9622cfaa11283ef6c738cbde79709267 SHA512 eb5f8c9ab36fe09c04ef92ec9f7d86add60cc82e8d7930a22afaf9657dd03c971df0f3feb06cb6e2d09bcd10a8e59aeda6dfdf71452331bdfe88d183f82989c7 WHIRLPOOL 66b213b6b0a6f552d0dcaa288dc2c4fdf6a409ca90d5fcccd33cd636e05f870e90205e8669d2be2361918a1dafc42a32d1bd0d405ab51d950e8e9f8962fd82b8
+MISC ChangeLog 2634 SHA256 efcb44466695d9109d349b101e5e03ae9cb6b53cc9e826228802101697b78b56 SHA512 1b019a52e06e0b169f73aaaf1883e8c0ea72618be82d64f6eb69de9755efcc407f2d07c7568cbac02accb710daabb33eebee6850bf191834c41f408bf2e9be05 WHIRLPOOL c1c177cd8b4b2acb3e794886bf940b0eee292bf5b4a6a874b40c68eb10d5ef15c5c1f2465eec0f90ddec66637ad09fc57f2441dcef321c96e122b0d0262a34c5
+MISC ChangeLog-2015 3298 SHA256 f4e7b4d5a3ba9fef0bff67799916d7352b226475a7df40bae721b1463b0aa880 SHA512 6e405b927cda749c795af23c34555425ae8bbcfe689e3f4075d2a27a84b53640096d3931fd083a7ee88d3edd7a594ed8d9bcbb5b4f929c56578dbf6a2b996987 WHIRLPOOL ee9916b10f046333f42a83157fe9dff273b646c018ab22a17c9c569752c1aff075e4524acee1edf06fefe2e1d6899c4fbb34dcfb44ee32f1488db5ed36e9c7c7
+MISC metadata.xml 755 SHA256 57b03ec2d09976d0c22f30d160e261cc1efe9bdb21351e965c6e0cca3dc89326 SHA512 b46a19a5ba071d38cc18c23019d0077893ac8f1303aba357343afe129ad4f7f6e3b194f765485945712cef788291c93a105ba59c9e94dc507937d9f78f28b387 WHIRLPOOL a94ae6f82c30cf9b1c21bb91d7aada87e554955daf762f275e8b62513ac91d8b86e590a98fda5955ff95ab5aed36eb1fcfc802733d4cc072fd070e5dad94fd48
diff --git a/games-action/clanbomber/clanbomber-2.1.1-r1.ebuild b/games-action/clanbomber/clanbomber-2.1.1-r1.ebuild
new file mode 100644
index 000000000000..543c71912fa1
--- /dev/null
+++ b/games-action/clanbomber/clanbomber-2.1.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="Bomberman-like multiplayer game"
+HOMEPAGE="https://savannah.nongnu.org/projects/clanbomber/"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.lzma"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/boost
+ media-fonts/dejavu
+ media-libs/libsdl[sound,joystick,video]
+ media-libs/sdl-gfx
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer
+ media-libs/sdl-ttf"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog ChangeLog.hg IDEAS NEWS QUOTES README TODO )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-automake112.patch
+ "${FILESDIR}"/${P}-boost150.patch
+ "${FILESDIR}"/${P}-gcc6.patch
+)
+
+src_prepare() {
+ default
+ sed -i -e 's/menuentry//' src/Makefile.am || die
+ eautoreconf
+}
+
+src_install() {
+ default
+ newicon src/pics/cup2.png ${PN}.png
+ make_desktop_entry ${PN}2 ClanBomber2
+ rm -f "${D}/usr/share/${PN}/fonts/DejaVuSans-Bold.ttf" || die
+ dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
+ /usr/share/${PN}/fonts/DejaVuSans-Bold.ttf
+}
diff --git a/games-action/clanbomber/files/clanbomber-2.1.1-automake112.patch b/games-action/clanbomber/files/clanbomber-2.1.1-automake112.patch
new file mode 100644
index 000000000000..5fce5be335aa
--- /dev/null
+++ b/games-action/clanbomber/files/clanbomber-2.1.1-automake112.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac 2012-11-15 09:35:24.682199511 +0100
++++ b/configure.ac 2012-11-15 09:36:02.367839076 +0100
+@@ -2,7 +2,7 @@
+ AC_PREREQ([2.63])
+ AC_INIT([ClanBomber], [2.1.1], [rsl@members.fsf.org])
+ #AM_INIT_AUTOMAKE([-Wall -Werror foreign])#foreign is for NEWS COPYING ETC
+-AM_INIT_AUTOMAKE([dist-lzma -Wall -Werror])
++AM_INIT_AUTOMAKE([-Wall])
+
+
+ #CXXFLAGS="-O6 -g3"
diff --git a/games-action/clanbomber/files/clanbomber-2.1.1-boost150.patch b/games-action/clanbomber/files/clanbomber-2.1.1-boost150.patch
new file mode 100644
index 000000000000..f3e67666a22d
--- /dev/null
+++ b/games-action/clanbomber/files/clanbomber-2.1.1-boost150.patch
@@ -0,0 +1,31 @@
+--- a/src/MapEntry.cpp 2012-11-15 10:55:40.123259605 +0100
++++ b/src/MapEntry.cpp 2012-11-15 10:57:35.217379211 +0100
+@@ -50,7 +50,7 @@
+ enabled = true;
+
+ // extract map name
+- map_name = filename.stem();
++ map_name = filename.stem().string();
+
+ // is the file writable?
+ if (access(path / filename, W_OK) == 0) {
+--- a/src/Map.cpp 2012-11-15 10:52:56.884424228 +0100
++++ b/src/Map.cpp 2012-11-15 10:54:16.334992079 +0100
+@@ -116,7 +116,7 @@
+ for (boost::filesystem::directory_iterator dir_iter(path);
+ dir_iter != end_iter; dir_iter++) {
+ if (dir_iter->path().extension() == ".map") {
+- map_list.push_back(new MapEntry(path, dir_iter->filename()));
++ map_list.push_back(new MapEntry(path, dir_iter->path().filename()));
+ }
+ }
+ }
+@@ -126,7 +126,7 @@
+ for (boost::filesystem::directory_iterator dir_iter(path);
+ dir_iter != end_iter; dir_iter++) {
+ if (dir_iter->path().extension() == ".map") {
+- map_list.push_back(new MapEntry(path, dir_iter->filename()));
++ map_list.push_back(new MapEntry(path, dir_iter->path().filename()));
+ }
+ }
+ }
diff --git a/games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch b/games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch
new file mode 100644
index 000000000000..714e9de85fa2
--- /dev/null
+++ b/games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch
@@ -0,0 +1,19 @@
+--- a/src/Credits.h
++++ b/src/Credits.h
+@@ -47,7 +47,7 @@
+ int speed;
+ bool stopped;
+ private:
+- static const float yoffset_start = 50;
++ static const float yoffset_start;
+ static const int normal_speed = 40;
+ static const int text_height = 40;
+
+--- a/src/Credits.cpp
++++ b/src/Credits.cpp
+@@ -273,3 +273,5 @@
+ (*draw_list_iter)->show();
+ }
+ }
++
++const float Credits::yoffset_start = 50;
diff --git a/games-action/clanbomber/metadata.xml b/games-action/clanbomber/metadata.xml
new file mode 100644
index 000000000000..f8deca247ba9
--- /dev/null
+++ b/games-action/clanbomber/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ClanBomber is a free (GPL) Bomberman-like multiplayer game that uses ClanLib, a free multi
+platform C++ game SDK. First "ClanBomber" was only a working title for a small game started in
+September 1998, that has only been started to learn how to use ClanLib. But the ClanBomber
+project has grown into a real game. It is fully playable and features Computer controlled
+bombers, however, it is recommended to play ClanBomber with friends (3-8 players are really fun).
+</longdescription>
+</pkgmetadata>