From c59ecb38d288a37b7fe5692815cb285b375604df Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Wed, 14 Mar 2007 21:24:25 +0000 Subject: [PATCH] Install menu entry, bug #159844 Package-Manager: portage-2.1.2.2 --- games-arcade/balloonchase/ChangeLog | 7 ++-- games-arcade/balloonchase/Manifest | 34 ++++++++++++------- .../balloonchase/balloonchase-0.9.6.ebuild | 18 +++++----- .../balloonchase/files/0.9.6-gentoo.patch | 21 +++++++----- 4 files changed, 50 insertions(+), 30 deletions(-) diff --git a/games-arcade/balloonchase/ChangeLog b/games-arcade/balloonchase/ChangeLog index 1aa4d189260f..365519d63c0c 100644 --- a/games-arcade/balloonchase/ChangeLog +++ b/games-arcade/balloonchase/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-arcade/balloonchase -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/balloonchase/ChangeLog,v 1.6 2006/05/03 02:53:47 weeve Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/balloonchase/ChangeLog,v 1.7 2007/03/14 21:24:25 nyhm Exp $ + + 14 Mar 2007; Tristan Heaven balloonchase-0.9.6.ebuild: + Install menu entry, bug #159844 03 May 2006; Jason Wever balloonchase-0.9.6.ebuild: Added ~sparc keyword. diff --git a/games-arcade/balloonchase/Manifest b/games-arcade/balloonchase/Manifest index d3d080326e30..b97ec7e0287f 100644 --- a/games-arcade/balloonchase/Manifest +++ b/games-arcade/balloonchase/Manifest @@ -1,16 +1,19 @@ -AUX 0.9.6-gentoo.patch 6297 RMD160 14a7c776d9ced0c4463bf98f329717da2eec94a1 SHA1 2185b4b6d9ed6f66a237724480534adbd029163e SHA256 0bd468407ce69ba3c8155d81acf3f3ab346bb357ddbbec0dadc39dac095ee758 -MD5 5ca33dc731be2640e79337cbee6f5fc0 files/0.9.6-gentoo.patch 6297 -RMD160 14a7c776d9ced0c4463bf98f329717da2eec94a1 files/0.9.6-gentoo.patch 6297 -SHA256 0bd468407ce69ba3c8155d81acf3f3ab346bb357ddbbec0dadc39dac095ee758 files/0.9.6-gentoo.patch 6297 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 0.9.6-gentoo.patch 6146 RMD160 e3afee8a451e337a84b786efb43d28c98ccd0460 SHA1 3082e1e74b24329c7be9d9ad8a5fc8c782bce743 SHA256 a226c13d164644089541704b74d7dc6e4886cd587165b00fc14b825cc5838670 +MD5 75de565f62031be8c78cac3d7a1aee81 files/0.9.6-gentoo.patch 6146 +RMD160 e3afee8a451e337a84b786efb43d28c98ccd0460 files/0.9.6-gentoo.patch 6146 +SHA256 a226c13d164644089541704b74d7dc6e4886cd587165b00fc14b825cc5838670 files/0.9.6-gentoo.patch 6146 DIST balloonchase-0.9.6.tar.bz2 523085 RMD160 88a25b8c76e8c68957aa2e6cfb5b84c875e48925 SHA1 af929d96be6cfb7a65fecf489c3df9f9703b4e1d SHA256 6bf3e3db80a9b38941cace397232e33c8f00597e32c0036abbe927590d04d86c -EBUILD balloonchase-0.9.6.ebuild 916 RMD160 1028b47b1b503f2fcfe1ca1e8eb4632601374949 SHA1 68652a88379ea923a75b7f1f6e8bd624f79bc28f SHA256 e917928292ebb93f65460c97d93a2b210cb4c42d320c30fb8c1eef4db07d3bc4 -MD5 19749109c80e08b71c7514ca145c1d73 balloonchase-0.9.6.ebuild 916 -RMD160 1028b47b1b503f2fcfe1ca1e8eb4632601374949 balloonchase-0.9.6.ebuild 916 -SHA256 e917928292ebb93f65460c97d93a2b210cb4c42d320c30fb8c1eef4db07d3bc4 balloonchase-0.9.6.ebuild 916 -MISC ChangeLog 873 RMD160 5c2b9948a2dff15dc40e8a03009284a4af1b4c5b SHA1 a462f3acbadee9715edb01557a40f14140f99c34 SHA256 93219c79acf6b20417f7f9f7fd980b96b598a6c0f410832da036c0579329afdf -MD5 9442aa52104a2c753dc2c401d129b8d1 ChangeLog 873 -RMD160 5c2b9948a2dff15dc40e8a03009284a4af1b4c5b ChangeLog 873 -SHA256 93219c79acf6b20417f7f9f7fd980b96b598a6c0f410832da036c0579329afdf ChangeLog 873 +EBUILD balloonchase-0.9.6.ebuild 1065 RMD160 1d6e8c2fc346efe2461bc574f7372e75906d5ef4 SHA1 91b62f1993bc330b9d39d53db145b40c1dc216b3 SHA256 085e3a3be25b406720675a04aa9c2d397664739b0ff1a43775f694db7ce4eda7 +MD5 a5edb4b5c2deb04346e4b654244074c0 balloonchase-0.9.6.ebuild 1065 +RMD160 1d6e8c2fc346efe2461bc574f7372e75906d5ef4 balloonchase-0.9.6.ebuild 1065 +SHA256 085e3a3be25b406720675a04aa9c2d397664739b0ff1a43775f694db7ce4eda7 balloonchase-0.9.6.ebuild 1065 +MISC ChangeLog 982 RMD160 d3cc3e77e832670264c64183bd64d49ee36d9dda SHA1 5a605f7732d6a584a50c73b836356ff4d4b115aa SHA256 e66ee0a3d1d26dc9619a92fd55a138bc3b00cafefd7f4324a90797797a4fdab9 +MD5 cd7ce8757bb787c1ad39f0abf49df1df ChangeLog 982 +RMD160 d3cc3e77e832670264c64183bd64d49ee36d9dda ChangeLog 982 +SHA256 e66ee0a3d1d26dc9619a92fd55a138bc3b00cafefd7f4324a90797797a4fdab9 ChangeLog 982 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -18,3 +21,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 725c8778789f7133c8d602630c2e50fb files/digest-balloonchase-0.9.6 259 RMD160 c479f3a840e0a5d0d292d57029559e1332b9d92b files/digest-balloonchase-0.9.6 259 SHA256 c3c4a8b50cc6b067d6692416d27960b2382a11d39347f6639b028244f84c7512 files/digest-balloonchase-0.9.6 259 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFF+GgPdz7hIScOURERAt1NAKDf+p5iKL4nYk/Dm2+IT3n2AKjuDQCfYW+a +bL8aDM40xkwX4Rk6AYfai5M= +=PrAB +-----END PGP SIGNATURE----- diff --git a/games-arcade/balloonchase/balloonchase-0.9.6.ebuild b/games-arcade/balloonchase/balloonchase-0.9.6.ebuild index 45f85c932a92..ba463cce65c5 100644 --- a/games-arcade/balloonchase/balloonchase-0.9.6.ebuild +++ b/games-arcade/balloonchase/balloonchase-0.9.6.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/balloonchase/balloonchase-0.9.6.ebuild,v 1.8 2006/05/03 02:53:47 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/balloonchase/balloonchase-0.9.6.ebuild,v 1.9 2007/03/14 21:24:25 nyhm Exp $ -inherit eutils games +inherit eutils toolchain-funcs games DESCRIPTION="Fly a hot air balloon and try to blow the other player out of the screen" HOMEPAGE="http://koti.mbnet.fi/makegho/c/bchase/" @@ -18,17 +18,19 @@ DEPEND="media-libs/libsdl" src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}/${PV}-gentoo.patch" - + epatch "${FILESDIR}"/${PV}-gentoo.patch + sed -i "s:g++:$(tc-getCXX):" Makefile || die "sed failed" sed -i \ -e "s:GENTOODIR:${GAMES_DATADIR}/${PN}:" src/main.c \ || die 'sed failed' } src_install() { - dogamesbin balloonchase || die "dogamesbin failed" - dodir "${GAMES_DATADIR}/${PN}" - cp -r images "${D}/${GAMES_DATADIR}/${PN}/" || die "cp failed" + dogamesbin ${PN} || die "dogamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} + doins -r images || die "doins failed" + newicon images/kp2b.bmp ${PN}.bmp + make_desktop_entry ${PN} "Balloon Chase" /usr/share/pixmaps/${PN}.bmp dodoc README prepgamesdirs } diff --git a/games-arcade/balloonchase/files/0.9.6-gentoo.patch b/games-arcade/balloonchase/files/0.9.6-gentoo.patch index 606babfec25c..55e978850bbe 100644 --- a/games-arcade/balloonchase/files/0.9.6-gentoo.patch +++ b/games-arcade/balloonchase/files/0.9.6-gentoo.patch @@ -1,18 +1,23 @@ -diff -ru balloonchase-0.9.6.orig/Makefile balloonchase-0.9.6/Makefile ---- balloonchase-0.9.6.orig/Makefile 2002-10-11 10:31:53.000000000 -0400 -+++ balloonchase-0.9.6/Makefile 2005-03-17 20:24:20.000000000 -0500 -@@ -9,7 +9,7 @@ +--- Makefile ++++ Makefile +@@ -1,4 +1,3 @@ +-LDFLAGS= -lSDL -lpthread -s + CFLAGS= -Wall # -DDEBUG + PKG_BCDIR=balloonchase-`cat src/ver` + PKG_BCVER=`cat src/ver` +@@ -9,8 +8,8 @@ clean: rm balloonchase src/*.o main: src/main.c - g++ -c -o src/main.o `sdl-config --cflags` src/main.c +- g++ -o balloonchase src/main.o `sdl-config --libs` + g++ $(CXXFLAGS) -c -o src/main.o `sdl-config --cflags` src/main.c - g++ -o balloonchase src/main.o `sdl-config --libs` ++ g++ $(LDFLAGS) -o balloonchase src/main.o `sdl-config --libs` pkg: @echo $(PKG_BCVERSION) >VERSION -diff -ru balloonchase-0.9.6.orig/src/main.c balloonchase-0.9.6/src/main.c ---- balloonchase-0.9.6.orig/src/main.c 2002-10-11 10:31:53.000000000 -0400 -+++ balloonchase-0.9.6/src/main.c 2005-03-17 20:33:12.000000000 -0500 + rm balloonchase src/*.o +--- src/main.c ++++ src/main.c @@ -333,47 +333,47 @@ int InitImages() -- 2.26.2