Version bump #65237 by James Rose.
authorMike Frysinger <vapier@gentoo.org>
Mon, 3 Jan 2005 22:56:05 +0000 (22:56 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 3 Jan 2005 22:56:05 +0000 (22:56 +0000)
games-strategy/attal/ChangeLog
games-strategy/attal/Manifest
games-strategy/attal/attal-0.8.1.ebuild
games-strategy/attal/attal-0.9.2.ebuild [new file with mode: 0644]
games-strategy/attal/files/digest-attal-0.9.2 [new file with mode: 0644]

index 3ad9a3cdd9149b37f5526c6950eb4f891d7ad7e6..5de20e0ac6c4c9ee978066daf44522329d15bbee 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for games-strategy/attal
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.7 2004/07/16 09:21:55 dholm Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.8 2005/01/03 22:56:05 vapier Exp $
+
+*attal-0.9.2 (03 Jan 2005)
+
+  03 Jan 2005; Mike Frysinger <vapier@gentoo.org> +attal-0.9.2.ebuild:
+  Version bump #65237 by James Rose.
 
   16 Jul 2004; David Holm <dholm@gentoo.org> attal-0.8.1.ebuild:
   Added to ~ppc.
index eaaece7692a0ff5fa718c286489538bfe95c640c..91531ba6aded4b6ea978a4b8ce4f3646f2d58e8e 100644 (file)
@@ -1,15 +1,17 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 0b7c1ee7844e639c75b9045ef0a14572 ChangeLog 877
+MD5 1a62441c8bf1e62c2aa93c302912a2f8 ChangeLog 1015
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 6453017c524d5ed4040b05033028a16e attal-0.8.1.ebuild 1813
+MD5 ebc7554bcca6af817e5fbcc4ef72ccb8 attal-0.9.2.ebuild 1565
+MD5 0126090adc98e4a7fb910247dbcc3a79 attal-0.8.1.ebuild 1814
 MD5 6df2fe25a4131a625a23b8d59a92ee76 files/digest-attal-0.8.1 135
+MD5 b652104ceb9174d35cec8774053a5a50 files/digest-attal-0.9.2 135
 MD5 bc43ed577df6439f1a168a4441031b6c files/0.8.1-gcc34.patch 436
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.9.10 (GNU/Linux)
 
-iD8DBQFB2benroRuSHgZdywRAus/AKCIKvs6cliEveEubALeGp/3n+ES9wCfYi5X
-+xLAsaJylnAiH86yyhWhMbM=
-=2IjR
+iD8DBQFB2c2YroRuSHgZdywRAp2sAJ9FcEOi1z6potGm29kGWSSbVu01pgCgkFfz
+YWen/XeAh1R+tU26nSz1fK0=
+=6yS6
 -----END PGP SIGNATURE-----
index 4c9f531b80e63b22657f628ef19761edee911175..afa14c114453229ee8f0829d6990b5a9fec42a12 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.8.1.ebuild,v 1.3 2004/07/16 09:21:55 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.8.1.ebuild,v 1.4 2005/01/03 22:56:05 vapier Exp $
 
 inherit games eutils
 
diff --git a/games-strategy/attal/attal-0.9.2.ebuild b/games-strategy/attal/attal-0.9.2.ebuild
new file mode 100644 (file)
index 0000000..36897bc
--- /dev/null
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.9.2.ebuild,v 1.1 2005/01/03 22:56:05 vapier Exp $
+
+inherit games eutils flag-o-matic
+
+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*"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       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-${PV} -name .cvsignore | xargs rm -f
+}
+
+src_compile() {
+       # broken deps in the makefiles ...
+       append-flags -fPIC
+       emake \
+               CFLAGS="${CFLAGS}" \
+               CXXFLAGS="${CXXFLAGS}" \
+               sub-libCommon || die "emake sub-libCommon failed"
+       emake \
+               CFLAGS="${CFLAGS}" \
+               CXXFLAGS="${CXXFLAGS}" \
+               sub-{libFight,libClient,libServer} || die "emake libs failed"
+       emake \
+               CFLAGS="${CFLAGS}" \
+               CXXFLAGS="${CXXFLAGS}" \
+               || die "emake failed"
+}
+
+src_install() {
+       dogamesbin attal-* || die "dogamesbin failed"
+       into "${GAMES_PREFIX}"
+       dolib.so lib*.so* || die "dolib.so failed"
+       dodir "${GAMES_DATADIR}"/${PN}
+       insinto "${GAMES_DATADIR}"/${PN}/themes
+       doins -r "${WORKDIR}"/themes-${PV}/* || die "doins themes failed"
+       dodoc AUTHORS NEWS README TODO
+       prepgamesdirs
+}
diff --git a/games-strategy/attal/files/digest-attal-0.9.2 b/games-strategy/attal/files/digest-attal-0.9.2
new file mode 100644 (file)
index 0000000..81ce27b
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 42f1aa240fce700755a6182338d8ece8 attal-src-0.9.2.tar.bz2 256735
+MD5 f276f324882e41625bdb4f6f90e09617 themes-0.9.2.tar.bz2 27064203