summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-19 20:20:23 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-19 20:20:23 +0000
commitd8656545972191fa00e681b92d6fb7897983804f (patch)
treec2d80b8d5331ce648106b0fb71950ce5e0a4dce7 /games-arcade/tomatoes
parentBump pyicq-t to 8.1.1.1 fixing bugs #251916 and #255483. (diff)
downloadhistorical-d8656545972191fa00e681b92d6fb7897983804f.tar.gz
historical-d8656545972191fa00e681b92d6fb7897983804f.tar.bz2
historical-d8656545972191fa00e681b92d6fb7897983804f.zip
EAPI=2; add use-based dep; build cpp files with the c++ compiler
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27.8 i686
Diffstat (limited to 'games-arcade/tomatoes')
-rw-r--r--games-arcade/tomatoes/ChangeLog8
-rw-r--r--games-arcade/tomatoes/Manifest14
-rw-r--r--games-arcade/tomatoes/tomatoes-1.55-r2.ebuild23
3 files changed, 15 insertions, 30 deletions
diff --git a/games-arcade/tomatoes/ChangeLog b/games-arcade/tomatoes/ChangeLog
index ec81ccd0329f..4021fe1afa73 100644
--- a/games-arcade/tomatoes/ChangeLog
+++ b/games-arcade/tomatoes/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/tomatoes
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/ChangeLog,v 1.15 2008/05/01 15:53:35 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/ChangeLog,v 1.16 2009/01/19 20:20:23 mr_bones_ Exp $
+
+ 19 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ tomatoes-1.55-r2.ebuild:
+ EAPI=2; add use-based dep; build cpp files with the c++ compiler
01 May 2008; Tristan Heaven <nyhm@gentoo.org>
+files/tomatoes-1.55-gcc43.patch, tomatoes-1.55-r2.ebuild:
diff --git a/games-arcade/tomatoes/Manifest b/games-arcade/tomatoes/Manifest
index 91fc2fcce38a..b20706215bb6 100644
--- a/games-arcade/tomatoes/Manifest
+++ b/games-arcade/tomatoes/Manifest
@@ -1,17 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX tomatoes-1.55-c_str.patch 573 RMD160 a54c2ef6b5e5c25a31b11125cac2ea2414aae490 SHA1 2a5b04f72f2b4883d5bff8a6c392c2fa1b23055c SHA256 edc5f1804f4e287473a21d514f52f52cd020215878d8f22a7e5c51dc5a332499
AUX tomatoes-1.55-gcc43.patch 278 RMD160 0b044049e09e577f3aaadb5078d178ed56ec1d1e SHA1 ab01a9966feb84c4409c1699af22574751396c5d SHA256 0f1b0962a9620e5b28fccf96f1a13762ed54f94b5c1b4597e0ae2c032ff6ea5d
DIST tomatoes-linux-1.5.tar.bz2 8807421 RMD160 454591162df5266a6ecb88b0b67914a5c0348a04 SHA1 8dc306617800f7ccc1e8610fb39e87d8181c482d SHA256 69a3af1994cb58409be9b469e1aa4bdb91c405d99071c7431526640ec53d1300
DIST tomatoes-linux-src-1.55.tar.bz2 62947 RMD160 a57881902e3c917733058e3b9c936d2db5ca0e3a SHA1 aa123a5fa9c8c0223c602c0cffe8a5bb0ebad60c SHA256 126d001532ee5b81cc95e1a86a274d11669b8c8f65c8235ae2e9b8fbdfab4a60
-EBUILD tomatoes-1.55-r2.ebuild 2089 RMD160 7b6cfd315a8e5ef8e953eefe782befad8f220993 SHA1 80ea9da987ce3dc416b0caa427faccff9932778b SHA256 cfd736d4f5396e6f051940bca8891f6cf15fa25ec0816d78338d8c50d351725a
-MISC ChangeLog 2506 RMD160 1f63580793a5b2a72e46ab1efcbd020c4cce7770 SHA1 fed2434ce264882cff5a9cab046094ca291afaaf SHA256 9a5de35c2e7c7fe3bc1238dca71bf374b2ce3d4c80356f7b7ffbe96fdf2f64f9
+EBUILD tomatoes-1.55-r2.ebuild 1883 RMD160 47ee17ae3aee0d316f4f13299fb19e780d47db52 SHA1 e34a007971f66f9f8cee8b763f2deb3ae08c8836 SHA256 852052beaf1a9024b73ec95125614e36df23e1e453e2c5be2f0468ab9583bba4
+MISC ChangeLog 2661 RMD160 d422e4a9b682d2978a74ae7edd8d2d7bacd4a870 SHA1 9c6dc5922af90205872a43572d089ca100db3120 SHA256 0089b6ba8bd213bb1d61d31e4448c8ebc4d105e76ce19ed02e56210b8e64ed8c
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkgZ54UACgkQdz7hIScOUREHhgCeIG55uqIGwdFfZbKqn+86HZwi
-VvQAn3EG7a2aFTXJm7FYWFlqysRE/AXX
-=S9rH
------END PGP SIGNATURE-----
diff --git a/games-arcade/tomatoes/tomatoes-1.55-r2.ebuild b/games-arcade/tomatoes/tomatoes-1.55-r2.ebuild
index c18402281a19..0fd14f65ede5 100644
--- a/games-arcade/tomatoes/tomatoes-1.55-r2.ebuild
+++ b/games-arcade/tomatoes/tomatoes-1.55-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/tomatoes-1.55-r2.ebuild,v 1.5 2008/05/01 15:53:35 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/tomatoes-1.55-r2.ebuild,v 1.6 2009/01/19 20:20:23 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DATA_PV=1.5
@@ -19,27 +20,17 @@ DEPEND="virtual/opengl
virtual/glu
media-libs/libsdl
media-libs/sdl-image
- media-libs/sdl-mixer"
+ media-libs/sdl-mixer[mikmod]"
-pkg_setup() {
- if ! built_with_use media-libs/sdl-mixer mikmod ; then
- eerror "Tomatoes doesn't work properly if sdl-mixer"
- eerror "is built with USE=-mikmod"
- die "Please emerge sdl-mixer with USE=mikmod"
- fi
- games_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
mv ../tomatoes-1.5/* . || die "mv failed"
mv icon.png ${PN}.png
sed -i \
-e '/^CC/d' \
-e '/^MARCH/d' \
- -e "/^CFLAGS/s/=.*$/= ${CFLAGS} \$(SDL_FLAGS)/" \
+ -e "/(CFLAGS)/s/CC/CXX/" \
+ -e "/^CFLAGS/s/=.*$/= ${CXXFLAGS} \$(SDL_FLAGS)/" \
-e "/^LDFLAGS/s/-s$/${LDFLAGS}/" \
-e "/^MPKDIR = /s:./:${GAMES_DATADIR}/${PN}/:" \
-e "/^MUSICDIR = /s:./music/:${GAMES_DATADIR}/${PN}/music/:" \