summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-03-02 06:58:46 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-03-02 06:58:46 +0000
commiteac7014c8cceacd45f45189874c1c299c8af9fc5 (patch)
treec6e0fa5846d72c1f42a0acc41972f26f0d8c37eb /games-arcade/burgerspace
parentversion bump (diff)
downloadhistorical-eac7014c8cceacd45f45189874c1c299c8af9fc5.tar.gz
historical-eac7014c8cceacd45f45189874c1c299c8af9fc5.tar.bz2
historical-eac7014c8cceacd45f45189874c1c299c8af9fc5.zip
version bump
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'games-arcade/burgerspace')
-rw-r--r--games-arcade/burgerspace/ChangeLog11
-rw-r--r--games-arcade/burgerspace/burgerspace-1.8.3.ebuild32
-rw-r--r--games-arcade/burgerspace/files/burgerspace-1.8.2-gcc43.patch1
-rw-r--r--games-arcade/burgerspace/files/burgerspace-1.8.3-build.patch42
-rw-r--r--games-arcade/burgerspace/files/burgerspace-1.8.3-gcc43.patch20
5 files changed, 103 insertions, 3 deletions
diff --git a/games-arcade/burgerspace/ChangeLog b/games-arcade/burgerspace/ChangeLog
index 45f01e1e322c..d08d8e7144dd 100644
--- a/games-arcade/burgerspace/ChangeLog
+++ b/games-arcade/burgerspace/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-arcade/burgerspace
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/burgerspace/ChangeLog,v 1.15 2008/06/22 15:39:22 maekke Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/burgerspace/ChangeLog,v 1.16 2009/03/02 06:58:45 mr_bones_ Exp $
+
+*burgerspace-1.8.3 (02 Mar 2009)
+
+ 02 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ files/burgerspace-1.8.2-gcc43.patch, +files/burgerspace-1.8.3-build.patch,
+ +files/burgerspace-1.8.3-gcc43.patch, +burgerspace-1.8.3.ebuild:
+ version bump
22 Jun 2008; Markus Meier <maekke@gentoo.org> burgerspace-1.8.2.ebuild:
x86 stable, bug #227657
diff --git a/games-arcade/burgerspace/burgerspace-1.8.3.ebuild b/games-arcade/burgerspace/burgerspace-1.8.3.ebuild
new file mode 100644
index 000000000000..c5b13690bc0a
--- /dev/null
+++ b/games-arcade/burgerspace/burgerspace-1.8.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/burgerspace/burgerspace-1.8.3.ebuild,v 1.1 2009/03/02 06:58:45 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="Clone of the 1982 BurgerTime video game by Data East"
+HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/burgerspace.html"
+SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-games/flatzebra-0.1.2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-build.patch \
+ "${FILESDIR}"/${P}-gcc43.patch
+ AT_M4DIR=macros eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS NEWS README THANKS
+ prepgamesdirs
+}
diff --git a/games-arcade/burgerspace/files/burgerspace-1.8.2-gcc43.patch b/games-arcade/burgerspace/files/burgerspace-1.8.2-gcc43.patch
index f229490302b8..1718747d06fc 100644
--- a/games-arcade/burgerspace/files/burgerspace-1.8.2-gcc43.patch
+++ b/games-arcade/burgerspace/files/burgerspace-1.8.2-gcc43.patch
@@ -8,7 +8,6 @@
+#include <cassert>
#include <fstream>
#include <iomanip>
-+#include <algorithm>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/games-arcade/burgerspace/files/burgerspace-1.8.3-build.patch b/games-arcade/burgerspace/files/burgerspace-1.8.3-build.patch
new file mode 100644
index 000000000000..a432a04eb60f
--- /dev/null
+++ b/games-arcade/burgerspace/files/burgerspace-1.8.3-build.patch
@@ -0,0 +1,42 @@
+--- Makefile.am
++++ Makefile.am
+@@ -4,15 +4,6 @@
+
+ man_MANS = doc/burgerspace.6
+
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
+-doc_DATA = \
+- AUTHORS \
+- COPYING \
+- INSTALL \
+- NEWS \
+- README \
+- THANKS \
+- TODO
+
+ RPMBUILD = rpmbuild
+ rpm: dist
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -33,10 +33,10 @@
+ PKGSOUNDDIR=$(srcdir)/sounds ./$(PACKAGE)
+
+
+-desktopentrydir = $(datadir)/applications
++desktopentrydir = /usr/share/applications
+ desktopentry_DATA = $(PACKAGE).desktop
+
+-pixmapdir = $(datadir)/pixmaps
++pixmapdir = /usr/share/pixmaps
+ pixmap_DATA = images/$(PACKAGE).png
+
+
+@@ -152,7 +152,7 @@
+ images/digit8.xpm \
+ images/digit9.xpm
+
+-pkgsounddir = $(datadir)/sounds/$(PACKAGE)
++pkgsounddir = $(pkgdatadir)
+ pkgsound_DATA = \
+ sounds/ingredient-bounces.wav \
+ sounds/ingredient-in-plate.wav \
diff --git a/games-arcade/burgerspace/files/burgerspace-1.8.3-gcc43.patch b/games-arcade/burgerspace/files/burgerspace-1.8.3-gcc43.patch
new file mode 100644
index 000000000000..551c1be97d1e
--- /dev/null
+++ b/games-arcade/burgerspace/files/burgerspace-1.8.3-gcc43.patch
@@ -0,0 +1,20 @@
+--- src/BurgerSpaceEngine.cpp.orig 2009-03-01 21:36:53.000000000 -0500
++++ src/BurgerSpaceEngine.cpp 2009-03-01 21:37:15.000000000 -0500
+@@ -26,7 +26,7 @@
+
+ #include <flatzebra/PixmapLoadError.h>
+
+-#include <assert.h>
++#include <cassert>
+ #include <fstream>
+ #include <iomanip>
+ #include <algorithm>
+@@ -36,7 +36,7 @@
+ #include <unistd.h>
+ #include <dirent.h>
+ #include <time.h>
+-#include <errno.h>
++#include <cerrno>
+
+
+ /* Tiles: