summaryrefslogtreecommitdiff
path: root/games-arcade/cob
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/cob')
-rw-r--r--games-arcade/cob/Manifest5
-rw-r--r--games-arcade/cob/cob-0.9-r1.ebuild27
-rw-r--r--games-arcade/cob/files/cob-0.9-gcc43.patch26
-rw-r--r--games-arcade/cob/files/cob-0.9-gcc44.patch30
-rw-r--r--games-arcade/cob/metadata.xml8
5 files changed, 96 insertions, 0 deletions
diff --git a/games-arcade/cob/Manifest b/games-arcade/cob/Manifest
new file mode 100644
index 000000000000..cddbae98481e
--- /dev/null
+++ b/games-arcade/cob/Manifest
@@ -0,0 +1,5 @@
+AUX cob-0.9-gcc43.patch 618 BLAKE2B 211bc0f4221b05ed761b8d214ebb11e6cf4262d89ba01beba75a10297d70547ea0d66c6c85d313fdc0826706bd8270e5741ae5e44ad5e97b4a078e25163eac32 SHA512 15cdb6cfacdd49e37fd41e337f425e9f3f020f9d019ea8d1fb860d14b0cebb04dab558c0bb1aa923d0d58fac56c6d579398b0ca7c18e70989c3efd924452d7e5
+AUX cob-0.9-gcc44.patch 1147 BLAKE2B 01a069e45b39b2d4bdd3d066ff295a2e99d2d782c5e924ab2aa5a4614e9b9482acf52735a0f48e6d7d312d101ba3652987fad9fa675897d1b49054fec85d0ffa SHA512 169559f882eba5f34558f845c44c09ba6821db689ae5a73dc6e8cd14ae12d4299fbad3e67b4c828fa3de435c20e948fb8c0266e3267b52b5bb87302047d4034d
+DIST cob-0.9.tar.gz 712618 BLAKE2B f73bec711f4e2c7907cf987fdd12207556752e05f5cf98f9818ef470c2bc2fa95f03c8c4a2f6c114b87d5c00cf3b17da3a1d127869b7ee548d5bd0d05d4c4114 SHA512 1a329bb06a25137c1dc9d65cff949ed1b0ca7445ecf897375be71581c35f0bc563008fc7607d650a660a405f2282b0329148487bd29b6a053478b61d932bdf4d
+EBUILD cob-0.9-r1.ebuild 593 BLAKE2B 25c5e8a97fe40c204f0208405433b184de2bcd62c09c89a0542580a7d44cfb5533068c3e51bcd948d9c8633271098dadbf31cfe7320b697c09b70ae07ab8c413 SHA512 351d45bcee92b810c7196d7844470d06699c1ac089eed506308aff172d202964633fc16d67e41a47f275f5d2d9bacf4668a5f8bd1d9613e48d9862566f3a58cd
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-arcade/cob/cob-0.9-r1.ebuild b/games-arcade/cob/cob-0.9-r1.ebuild
new file mode 100644
index 000000000000..26d73169d352
--- /dev/null
+++ b/games-arcade/cob/cob-0.9-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop
+
+DESCRIPTION="Cruising on Broadway: a painting-type game"
+HOMEPAGE="http://www.autismuk.freeserve.co.uk/"
+SRC_URI="http://www.autismuk.freeserve.co.uk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="media-libs/libsdl[joystick,sound,video]"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-gcc44.patch
+)
+
+src_install() {
+ default
+ make_desktop_entry ${PN} "Cruising on Broadway"
+}
diff --git a/games-arcade/cob/files/cob-0.9-gcc43.patch b/games-arcade/cob/files/cob-0.9-gcc43.patch
new file mode 100644
index 000000000000..bc7e6fb3e02c
--- /dev/null
+++ b/games-arcade/cob/files/cob-0.9-gcc43.patch
@@ -0,0 +1,26 @@
+--- a/cob/menu.cpp
++++ b/cob/menu.cpp
+@@ -16,6 +16,7 @@
+ ***************************************************************************/
+
+ #include "cob.hxx"
++#include <cstring>
+
+ // **************************************************************************************************************************
+ //
+--- a/cob/sdw.hxx
++++ b/cob/sdw.hxx
+@@ -19,6 +19,7 @@
+
+ #include <iostream>
+ #include <string>
++#include <cstdlib>
+
+ namespace SDLWrapper // It's all nicely in a namespace SDLWrapper
+ {
+@@ -192,4 +193,4 @@
+ AudioNoise(int l) : AudioBeep(0,l) { }
+ };
+
+-};
++}
diff --git a/games-arcade/cob/files/cob-0.9-gcc44.patch b/games-arcade/cob/files/cob-0.9-gcc44.patch
new file mode 100644
index 000000000000..02b4842617f2
--- /dev/null
+++ b/games-arcade/cob/files/cob-0.9-gcc44.patch
@@ -0,0 +1,30 @@
+--- a/cob/game.cpp
++++ b/cob/game.cpp
+@@ -15,6 +15,7 @@
+ * *
+ ***************************************************************************/
+
++#include <cstdio>
+ #include "cob.hxx"
+
+ // **************************************************************************************************************************
+--- a/cob/main.cpp
++++ b/cob/main.cpp
+@@ -15,6 +15,7 @@
+ * *
+ ***************************************************************************/
+
++#include <cstdio>
+ #include "cob.hxx"
+
+ // **************************************************************************************************************************
+--- a/cob/map.cpp
++++ b/cob/map.cpp
+@@ -15,6 +15,7 @@
+ * *
+ ***************************************************************************/
+
++#include <cstdio>
+ #include "cob.hxx"
+
+ // **************************************************************************************************************************
diff --git a/games-arcade/cob/metadata.xml b/games-arcade/cob/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-arcade/cob/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>