summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-08-11 04:32:11 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-08-11 04:32:11 +0000
commitdc62ec82bacab01f2e7d0efcc652abd64a0e6190 (patch)
tree1872ec2fbf30b84fb870386611101e60c34a91d9 /games-puzzle
parentInitial commit. (diff)
downloadhistorical-dc62ec82bacab01f2e7d0efcc652abd64a0e6190.tar.gz
historical-dc62ec82bacab01f2e7d0efcc652abd64a0e6190.tar.bz2
historical-dc62ec82bacab01f2e7d0efcc652abd64a0e6190.zip
Add use deps; respect CXXFLAGS; use a non-404 HOMEPAGE (bug #371689)
Package-Manager: portage-2.1.10.3/cvs/Linux i686
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/shaaft/ChangeLog7
-rw-r--r--games-puzzle/shaaft/Manifest4
-rw-r--r--games-puzzle/shaaft/shaaft-0.5.0.ebuild22
3 files changed, 22 insertions, 11 deletions
diff --git a/games-puzzle/shaaft/ChangeLog b/games-puzzle/shaaft/ChangeLog
index 11837dbcf397..189d66c7f529 100644
--- a/games-puzzle/shaaft/ChangeLog
+++ b/games-puzzle/shaaft/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/shaaft
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/ChangeLog,v 1.11 2010/03/10 21:34:58 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/ChangeLog,v 1.12 2011/08/11 04:32:11 mr_bones_ Exp $
+
+ 11 Aug 2011; Michael Sterrett <mr_bones_@gentoo.org> shaaft-0.5.0.ebuild:
+ Add use deps; respect CXXFLAGS; use a non-404 HOMEPAGE (bug #371689)
10 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> shaaft-0.5.0.ebuild:
Fix libpng14 detection wrt #308887 by Locke Shinseiko.
diff --git a/games-puzzle/shaaft/Manifest b/games-puzzle/shaaft/Manifest
index fd345c652b7e..7b6b20181b3e 100644
--- a/games-puzzle/shaaft/Manifest
+++ b/games-puzzle/shaaft/Manifest
@@ -2,6 +2,6 @@ AUX shaaft-0.5.0-gcc34.patch 544 RMD160 d54ef48c0557ce2dc0774f2897b7796989e97b53
AUX shaaft-0.5.0-gcc41.patch 277 RMD160 666f376a8313f0df536f326f94552e3c6a15d307 SHA1 ac240b39a9f718cfe0038404782eea7fec62c373 SHA256 15c5a0b6a48e44c2b42dbb7a37ea348f12fc4ebcb4b9866594f39283ccbf9dd1
AUX shaaft-0.5.0-gcc43.patch 428 RMD160 1445bde8b9c4c2e3592bea9688b4cb923c960d66 SHA1 559bf65d1a5b5a1d3af16c2b2f84b2e9443807b1 SHA256 923bbf44762997fa9cef7b42c93bac31da05ae622eb8f3f12abad4f11d7a7549
DIST Shaaft-0.5.0.tar.bz2 512996 RMD160 88441778220be57923aa6ca50de0d08a365ee9fc SHA1 d9e5d70e13e406ec98dee551ec77544010c786ab SHA256 db8040c4fee36da9ec9653fd6c04ffb21112c4c9c2297ee66f08b94efa61dc80
-EBUILD shaaft-0.5.0.ebuild 1111 RMD160 4ff2d2de05620acd61616de58909dcb29f957a3e SHA1 e1e93e4c2c765f9641839bf81aa4a5a4bd185670 SHA256 e27d92c3ecc239c23a0e8e6a40b616a846ab3dd3ea7bffa14e5105e41455b680
-MISC ChangeLog 1455 RMD160 0454dde17a88d3f6e6f6e97fc92504f519c8a286 SHA1 b5d7eadccfc9614079697802debd18dd4411d608 SHA256 4b779e710e23dc6610f75cd9e7d514e0984b9346d7a4d3e3cca397413334cecc
+EBUILD shaaft-0.5.0.ebuild 1267 RMD160 44151370057e2a6939782aebbbefd5c85aebb4e3 SHA1 21293569e240aa4149e49e7fd87fe7dac7032ba8 SHA256 38d521200e9c9ab83865cecfac3c32252d9a3d4860650a53467e5f8b3ee8cf8b
+MISC ChangeLog 1603 RMD160 26e37e7e46a4e5f0f3c5210a07a9da5049cc9e85 SHA1 8ef6c083b0782bdd7b180b466ff34ccee603ccc5 SHA256 1acad0fc8c72fa96bae9e97c6270b42ee2a4950f1399f3761dc78b0a1e214d7d
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-puzzle/shaaft/shaaft-0.5.0.ebuild b/games-puzzle/shaaft/shaaft-0.5.0.ebuild
index 7433b2dd5509..a6bb2282a94a 100644
--- a/games-puzzle/shaaft/shaaft-0.5.0.ebuild
+++ b/games-puzzle/shaaft/shaaft-0.5.0.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/shaaft-0.5.0.ebuild,v 1.13 2010/03/10 21:34:58 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/shaaft-0.5.0.ebuild,v 1.14 2011/08/11 04:32:11 mr_bones_ Exp $
EAPI=2
inherit autotools eutils games
DESCRIPTION="A falling block game similar to Blockout"
-HOMEPAGE="http://criticalmass.sourceforge.net/shaaft.php"
+HOMEPAGE="http://packages.gentoo.org/package/games-puzzle/shaaft"
SRC_URI="mirror://sourceforge/criticalmass/${P/s/S}.tar.bz2"
LICENSE="GPL-2"
@@ -17,9 +17,9 @@ IUSE=""
DEPEND="virtual/opengl
sys-libs/zlib
media-libs/libpng
- media-libs/libsdl
- media-libs/sdl-mixer
- media-libs/sdl-image"
+ media-libs/libsdl[audio,opengl,video]
+ media-libs/sdl-mixer[mikmod]
+ media-libs/sdl-image[png]"
S=${WORKDIR}/${P/s/S}
@@ -31,6 +31,8 @@ src_prepare() {
sed -i \
-e 's:png12:png:g' \
+ -e '/^CFLAGS=""/d' \
+ -e '/^CXXFLAGS=""/d' \
configure.in || die
epatch \
@@ -41,8 +43,14 @@ src_prepare() {
eautoreconf
}
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --disable-optimize
+}
+
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install || die
rm -f "${D}/${GAMES_BINDIR}"/Packer
dodoc TODO.txt
prepgamesdirs