From 93515b2c33bcbb5c55e069ae2a224fa30038649d Mon Sep 17 00:00:00 2001 From: "Jan Stępień (jano)" Date: Thu, 8 May 2008 17:41:43 +0000 Subject: games-action/openliero: games-action/openliero: SVN snapshot, added information about the fact that the original Liero is required. svn path=/sunrise/; revision=6175 --- games-action/openliero/ChangeLog | 6 ++ games-action/openliero/Manifest | 7 ++- .../files/openliero-20080508-gcc-4.3.patch | 66 ++++++++++++++++++++++ games-action/openliero/openliero-20080508.ebuild | 39 +++++++++++++ games-action/openliero/openliero-9.ebuild | 19 ------- 5 files changed, 115 insertions(+), 22 deletions(-) create mode 100644 games-action/openliero/files/openliero-20080508-gcc-4.3.patch create mode 100644 games-action/openliero/openliero-20080508.ebuild delete mode 100644 games-action/openliero/openliero-9.ebuild (limited to 'games-action') diff --git a/games-action/openliero/ChangeLog b/games-action/openliero/ChangeLog index a85c9f1d3..335de93ef 100644 --- a/games-action/openliero/ChangeLog +++ b/games-action/openliero/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 08 May 2008; Jan Stępień (jano) + -openliero-9.ebuild, +openliero-20080508.ebuild, + +files/openliero-20080508-gcc-4.3.patch: + games-action/openliero: SVN snapshot, added information about the fact that + the original Liero is required. + 06 May 2008; Jan Stępień (jano) +openliero-9.ebuild, +metadata.xml: New ebuild for games-action/openliero diff --git a/games-action/openliero/Manifest b/games-action/openliero/Manifest index b9cc21c66..120b96c84 100644 --- a/games-action/openliero/Manifest +++ b/games-action/openliero/Manifest @@ -1,4 +1,5 @@ -DIST openliero-9.tar.bz2 49919 RMD160 5ce57f7eea1f7f751f30d188dd103b51f873e402 SHA1 2fff80d702ba2cd581d45e70a675f6c21ef3ca30 SHA256 934ed679ea5e34397425a3dbcdac17455d497de9fd1f71a92106fa800c20a8d9 -EBUILD openliero-9.ebuild 398 RMD160 b096b44ee5c307a74ef4999b201edbd9c29d9fd1 SHA1 79a3aa27942a3231122eaf2282d1ef04fbf09dc5 SHA256 c4ae6599c1b91da3ca7c4a70abb5f61869196b41a8fd812d3681881e76b0c3fc -MISC ChangeLog 271 RMD160 d712fd1100b99dee2e2d4883e876fb33a6acfad3 SHA1 06ad5f5d125258a2e4347455556faa0223ca6522 SHA256 683dfd4bfd112ccffd0a3a07028076439da5247fd58df0352d3f8f3a47aedc45 +AUX openliero-20080508-gcc-4.3.patch 2141 RMD160 8f3046fa08c32954e1c81cebdb57028d49790e42 SHA1 e2483f34c55a1a0868d4f78007d23d90593384ac SHA256 0e783ee37b3dfc9a1f8d1dcc7e8769b980e12bfc630047c3b079a5b96d9f33f1 +DIST openliero-20080508.tar.bz2 49903 RMD160 775c311bb984cef384654ee589e0a9b8e053bfb6 SHA1 6f0b6d205d8fb63e6fb3f4a1aa8cb862ebfd27e0 SHA256 ce0518edc87c004226983b01ba69b6a6af921029d8827d10b7a0be3936ec8744 +EBUILD openliero-20080508.ebuild 867 RMD160 9641233324a8806f2ffff05a5c6b572b80077f82 SHA1 44789505c9b52ebb7d6b3ce89ec88566f8af5e30 SHA256 1c551958c9f73dc4b5cb95eb9b852d1a5d15f3f1c7a32618c0b294402452e46c +MISC ChangeLog 547 RMD160 80ac796c86d4a601a82184f0e770c847fecccf39 SHA1 89f636b78c30df2864eb95756b5030e9ff0151f6 SHA256 0152f12da4209d5c263af6ec12374d15ef4b48e9b589e0e775ada567d57ee67a MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/games-action/openliero/files/openliero-20080508-gcc-4.3.patch b/games-action/openliero/files/openliero-20080508-gcc-4.3.patch new file mode 100644 index 000000000..d0494ed60 --- /dev/null +++ b/games-action/openliero/files/openliero-20080508-gcc-4.3.patch @@ -0,0 +1,66 @@ +diff -ur openliero-20080508.orig/blit.cpp openliero-20080508/blit.cpp +--- openliero-20080508.orig/blit.cpp 2008-05-06 09:16:43.000000000 +0300 ++++ openliero-20080508/blit.cpp 2008-05-08 18:14:39.000000000 +0300 +@@ -4,6 +4,7 @@ + #include "constants.hpp" + #include + #include ++#include + + void drawBar(int x, int y, int width, int colour) + { +diff -ur openliero-20080508.orig/bonus.cpp openliero-20080508/bonus.cpp +--- openliero-20080508.orig/bonus.cpp 2008-05-06 09:16:43.000000000 +0300 ++++ openliero-20080508/bonus.cpp 2008-05-08 18:14:50.000000000 +0300 +@@ -2,6 +2,7 @@ + #include "game.hpp" + #include "constants.hpp" + #include ++#include + + void Bonus::process() + { +diff -ur openliero-20080508.orig/game.cpp openliero-20080508/game.cpp +--- openliero-20080508.orig/game.cpp 2008-05-06 09:16:43.000000000 +0300 ++++ openliero-20080508/game.cpp 2008-05-08 18:14:31.000000000 +0300 +@@ -10,6 +10,7 @@ + //#include "text.hpp" // TEMP + + #include ++#include + + Game game; + +diff -ur openliero-20080508.orig/gfx.cpp openliero-20080508/gfx.cpp +--- openliero-20080508.orig/gfx.cpp 2008-05-06 09:16:43.000000000 +0300 ++++ openliero-20080508/gfx.cpp 2008-05-08 18:16:25.000000000 +0300 +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + + /* + ds:0000 is 0x 1AE80 +diff -ur openliero-20080508.orig/sobject.cpp openliero-20080508/sobject.cpp +--- openliero-20080508.orig/sobject.cpp 2008-05-06 09:16:43.000000000 +0300 ++++ openliero-20080508/sobject.cpp 2008-05-08 18:17:26.000000000 +0300 +@@ -9,6 +9,7 @@ + #include "text.hpp" + #include + #include ++#include + #include // TEMP + + void SObjectType::create(int x, int y, Worm* owner) +diff -ur openliero-20080508.orig/worm.cpp openliero-20080508/worm.cpp +--- openliero-20080508.orig/worm.cpp 2008-05-06 09:16:43.000000000 +0300 ++++ openliero-20080508/worm.cpp 2008-05-08 18:17:36.000000000 +0300 +@@ -6,6 +6,7 @@ + #include "constants.hpp" + #include "console.hpp" + ++#include + #include + + struct Point diff --git a/games-action/openliero/openliero-20080508.ebuild b/games-action/openliero/openliero-20080508.ebuild new file mode 100644 index 000000000..9fbafc915 --- /dev/null +++ b/games-action/openliero/openliero-20080508.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils games + +DESCRIPTION="Almost exact clone of Liero" +HOMEPAGE="http://open.liero.be/" +SRC_URI="http://stepien.cc/~jan/gentoo/distfiles/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/libsdl + media-libs/sdl-mixer" +DEPEND="${RDEPEND} + || ( dev-util/jam dev-util/ftjam )" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/${P}-gcc-4.3.patch +} + +src_compile() { + jam -qa || die "jam failed" +} + +src_install() { + dogamesbin openliero || die "dogamesbin failed" + prepgamesdir +} + +pkg_postinst() { + elog "${PN} requires the original Liero files in order to run properly." + elog "Visit http://www.liero.be/ and download a Liero package. Unpack it" + elog "and run ${PN} inside a directory with Liero." +} diff --git a/games-action/openliero/openliero-9.ebuild b/games-action/openliero/openliero-9.ebuild deleted file mode 100644 index 4f1a73da2..000000000 --- a/games-action/openliero/openliero-9.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -DESCRIPTION="Almost exact clone of Liero" -HOMEPAGE="http://open.liero.be/" -SRC_URI="http://stepien.cc/~jan/gentoo/distfiles/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -DEPEND="media-libs/libsdl" -RDEPEND="${DEPEND}" - -src_install() { - dobin openliero || die -} -- cgit v1.2.3-65-gdbad