summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-01-23 18:24:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-01-23 18:24:49 +0000
commitd647aa52e863a9acdfb76d8daadc80b5ee1b936b (patch)
tree8cddf51c24e7ddafd919a71aef5fc552751a9303 /games-strategy/attal
parentAdd ~alpha/~ia64/~sparc (diff)
downloadgentoo-2-d647aa52e863a9acdfb76d8daadc80b5ee1b936b.tar.gz
gentoo-2-d647aa52e863a9acdfb76d8daadc80b5ee1b936b.tar.bz2
gentoo-2-d647aa52e863a9acdfb76d8daadc80b5ee1b936b.zip
old
(Portage version: 2.1.3.19)
Diffstat (limited to 'games-strategy/attal')
-rw-r--r--games-strategy/attal/attal-0.9.4.ebuild62
-rw-r--r--games-strategy/attal/files/0.8.1-gcc34.patch11
-rw-r--r--games-strategy/attal/files/attal-0.9.4-gcc41.patch12
-rw-r--r--games-strategy/attal/files/digest-attal-0.9.46
4 files changed, 0 insertions, 91 deletions
diff --git a/games-strategy/attal/attal-0.9.4.ebuild b/games-strategy/attal/attal-0.9.4.ebuild
deleted file mode 100644
index 6654c069280e..000000000000
--- a/games-strategy/attal/attal-0.9.4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.9.4.ebuild,v 1.5 2006/06/29 13:39:04 wolf31o2 Exp $
-
-inherit eutils flag-o-matic games
-
-MY_P="${PN}-src-${PV}"
-DESCRIPTION="turn-based strategy game project"
-HOMEPAGE="http://www.attal-thegame.org/"
-SRC_URI="mirror://sourceforge/attal/${MY_P}.tar.bz2
- mirror://sourceforge/attal/themes-${PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc ~x86"
-IUSE=""
-
-DEPEND="=x11-libs/qt-3*
- media-libs/libsdl
- media-libs/sdl-mixer"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}"-gcc41.patch
- sed -i \
- -e "s:\"\./:\"${GAMES_BINDIR}/:" \
- server/serverInterface.cpp \
- client/clientInterface.cpp \
- || die "sed failed"
- sed -i \
- -e "s:\"\./:\"${GAMES_DATADIR}/${PN}/:" \
- libCommon/displayHelp.cpp \
- || die "sed failed"
- "${QTDIR}"/bin/qmake QMAKE=${QTDIR}/bin/qmake -o Makefile Makefile.pro || die "qmake failed"
- sed -i \
- "s:\./themes/:${GAMES_DATADIR}/${PN}/themes/:" \
- $(grep -Rl '\./themes/' *) \
- || die "fixing theme loc"
- find "${WORKDIR}"/themes -name .cvsignore -print0 | xargs -0 rm -f
-}
-
-src_compile() {
- # broken deps in the makefiles ...
- emake sub-libCommon || die "emake sub-libCommon failed"
- emake sub-{libFight,libClient,libServer} || die "emake libs failed"
- emake || die "emake failed"
-}
-
-src_install() {
- dogamesbin attal-* || die "dogamesbin failed"
- into "${GAMES_PREFIX}"
- dolib.so lib*.so* || die "dolib.so failed"
- insinto "${GAMES_DATADIR}"/${PN}
- doins HOWTOPLAY.html
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r "${WORKDIR}"/themes/ || die "doins themes failed"
- dodoc AUTHORS NEWS README TODO
- prepgamesdirs
-}
diff --git a/games-strategy/attal/files/0.8.1-gcc34.patch b/games-strategy/attal/files/0.8.1-gcc34.patch
deleted file mode 100644
index 55cff4e2aa33..000000000000
--- a/games-strategy/attal/files/0.8.1-gcc34.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- attal-src-0.8.1/libCommon/genericMapDisposition.cpp.orig 2004-07-14 19:51:47.783372784 -0400
-+++ attal-src-0.8.1/libCommon/genericMapDisposition.cpp 2004-07-14 19:51:56.068113312 -0400
-@@ -59,7 +59,7 @@
- delete [] _dispo;
- }
-
-- _dispo = new (DispositionType *)[ height ];
-+ _dispo = new DispositionType *[ height ];
- for( i = 0; i < height; i++ ) {
- _dispo[i] = new DispositionType[ width ];
- for( j = 0; j < width; j++ ){
diff --git a/games-strategy/attal/files/attal-0.9.4-gcc41.patch b/games-strategy/attal/files/attal-0.9.4-gcc41.patch
deleted file mode 100644
index c9ef8214e2d5..000000000000
--- a/games-strategy/attal/files/attal-0.9.4-gcc41.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur attal-src-0.9.4-orig/libCommon/creature.h attal-src-0.9.4/libCommon/creature.h
---- attal-src-0.9.4-orig/libCommon/creature.h 2006-05-25 00:50:11.000000000 -0400
-+++ attal-src-0.9.4/libCommon/creature.h 2006-05-25 00:51:51.000000000 -0400
-@@ -38,6 +38,7 @@
-
- class CreatureHandler;
- class GenericFightUnit;
-+int computeSequence( GenericFightUnit * unit );
-
- /** Manage a creature */
- enum CreatureAnimationType {
-
diff --git a/games-strategy/attal/files/digest-attal-0.9.4 b/games-strategy/attal/files/digest-attal-0.9.4
deleted file mode 100644
index da93262ca603..000000000000
--- a/games-strategy/attal/files/digest-attal-0.9.4
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 9dd03fe8eaf13180115e9674e905d71a attal-src-0.9.4.tar.bz2 271231
-RMD160 afe78aa2916ceb57706f01536db401f7bb0ab5ba attal-src-0.9.4.tar.bz2 271231
-SHA256 0b383b25554b68647e42d80eceb4b56cd5f3d2c960cd582bdeb401ada0207977 attal-src-0.9.4.tar.bz2 271231
-MD5 d42148697be3251097de5ad2d841ca04 themes-0.9.4.tar.bz2 28740999
-RMD160 646d7a60d932565053d62b2fef0fd6ccb3c693cc themes-0.9.4.tar.bz2 28740999
-SHA256 354d80cf453ad844c5a1249a5071b3801a71c9336e8fa5bc1fac70f4f8592d70 themes-0.9.4.tar.bz2 28740999