From 5a5aaf579e78bdbc56eb9acb528ceb5312837fca Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Wed, 14 Feb 2007 10:46:34 +0000 Subject: [PATCH] Install menu entry, bug #160241 Package-Manager: portage-2.1.2-r9 --- games-arcade/pacmanarena/ChangeLog | 7 ++- games-arcade/pacmanarena/Manifest | 28 +++++------ .../pacmanarena/pacmanarena-0.15.ebuild | 50 +++++++++---------- 3 files changed, 43 insertions(+), 42 deletions(-) diff --git a/games-arcade/pacmanarena/ChangeLog b/games-arcade/pacmanarena/ChangeLog index 7bcc7c042d9f..70c0bf31a063 100644 --- a/games-arcade/pacmanarena/ChangeLog +++ b/games-arcade/pacmanarena/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-arcade/pacmanarena -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/pacmanarena/ChangeLog,v 1.12 2006/12/01 20:32:47 wolf31o2 Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/pacmanarena/ChangeLog,v 1.13 2007/02/14 10:46:34 nyhm Exp $ + + 14 Feb 2007; Tristan Heaven pacmanarena-0.15.ebuild: + Install menu entry, bug #160241 01 Dec 2006; Chris Gianelloni pacmanarena-0.15.ebuild: diff --git a/games-arcade/pacmanarena/Manifest b/games-arcade/pacmanarena/Manifest index 6dbacc926eca..a3e3a4ddeab0 100644 --- a/games-arcade/pacmanarena/Manifest +++ b/games-arcade/pacmanarena/Manifest @@ -1,16 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -DIST pacman-arena-0.15.tar.bz2 100112 RMD160 8f2f8cb6c79a4d5eb862e2349ea3772be1127ee6 SHA256 3f151518f3d4a9595ea03f9ef681e8a8829e88e76fb5d39bab0249906121fc23 -DIST pacman-data-0.0.zip 11994364 RMD160 0b2c03338e247418a51d528addb6cadaeb8deb2e SHA256 7949f080ca0ba4c02d737c5bb365856c3e66f103838329be8c1857d6c297b9b8 -EBUILD pacmanarena-0.15.ebuild 1375 RMD160 8af97679e4edfaa660d6fe8c9623e46692de2b72 SHA1 ea932d58e73edc1069082cbab071557ded433049 SHA256 2da2a33ffe6e0828c339fe35ca7315574d7d7aa86bc5a17f0efe8a52a0d6dc6d -MD5 2e49da1ecf84dcb1a32013fb7140f81a pacmanarena-0.15.ebuild 1375 -RMD160 8af97679e4edfaa660d6fe8c9623e46692de2b72 pacmanarena-0.15.ebuild 1375 -SHA256 2da2a33ffe6e0828c339fe35ca7315574d7d7aa86bc5a17f0efe8a52a0d6dc6d pacmanarena-0.15.ebuild 1375 -MISC ChangeLog 1586 RMD160 9bcd6625b3ae0fb96372c0fe6fcbdbe7327c8d1b SHA1 757fbff166819808f5330f6faa8d414429c94db0 SHA256 a451ea647b224741b440222e9cde1159df379d55d719ee6fd81a42520dd57e3a -MD5 98eb89e3ace60c42170ae6c5208aeab1 ChangeLog 1586 -RMD160 9bcd6625b3ae0fb96372c0fe6fcbdbe7327c8d1b ChangeLog 1586 -SHA256 a451ea647b224741b440222e9cde1159df379d55d719ee6fd81a42520dd57e3a ChangeLog 1586 +DIST pacman-arena-0.15.tar.bz2 100112 RMD160 8f2f8cb6c79a4d5eb862e2349ea3772be1127ee6 SHA1 d627186c1bb130208d6a240c3e451e41ed572b32 SHA256 3f151518f3d4a9595ea03f9ef681e8a8829e88e76fb5d39bab0249906121fc23 +DIST pacman-data-0.0.zip 11994364 RMD160 0b2c03338e247418a51d528addb6cadaeb8deb2e SHA1 4d274d4cbbbdb445d109cd2bb4aa0a21b2444dd1 SHA256 7949f080ca0ba4c02d737c5bb365856c3e66f103838329be8c1857d6c297b9b8 +EBUILD pacmanarena-0.15.ebuild 1304 RMD160 35041a71df952d3ab6fc32db19cab99314389ad1 SHA1 68b9b9a0066301c0e0ebb3e87d34743c9277cab6 SHA256 193ed3c6a8bde2fb572089175f9b2c118d9f26e52bebb2d89bddf804577a8fed +MD5 fd27f29276357002e95c361bcc2b74f8 pacmanarena-0.15.ebuild 1304 +RMD160 35041a71df952d3ab6fc32db19cab99314389ad1 pacmanarena-0.15.ebuild 1304 +SHA256 193ed3c6a8bde2fb572089175f9b2c118d9f26e52bebb2d89bddf804577a8fed pacmanarena-0.15.ebuild 1304 +MISC ChangeLog 1690 RMD160 b3895ac6234b40750aa19cd0cc487b13e3f33e46 SHA1 d21174d19c897e703465dd87e8871d0650a47ebc SHA256 f612027d4b731061a82d15c1920937ca168a529528179338389adcc78c5a3ecc +MD5 47546fd19bd916a6ff9ffaef6cbdbc3b ChangeLog 1690 +RMD160 b3895ac6234b40750aa19cd0cc487b13e3f33e46 ChangeLog 1690 +SHA256 f612027d4b731061a82d15c1920937ca168a529528179338389adcc78c5a3ecc ChangeLog 1690 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -19,9 +19,9 @@ MD5 57130ea07186d7af3774a0454ad94aa6 files/digest-pacmanarena-0.15 500 RMD160 db1f867b30e4b922d248971a8d94523b19f6e3ee files/digest-pacmanarena-0.15 500 SHA256 46fafa4f19eb4e1fa8445be97b68dad91140cda8ebae3ff3ce2923b57b34bcdf files/digest-pacmanarena-0.15 500 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFFcJF2kT4lNIS36YERAnFCAJsFwPRYtU5Pp7njTrO/P1Ti8Wt5XACgnJe6 -v+2bkvclR9y+Bz+0sofJGIw= -=5fKi +iD8DBQFF0uiRdz7hIScOURERAtWTAJ0QJSDn4D3kKMb08wZyR0m5HMG+ewCglexQ +AKr72bgYFiE8bqXFgAJ2gpc= +=APbK -----END PGP SIGNATURE----- diff --git a/games-arcade/pacmanarena/pacmanarena-0.15.ebuild b/games-arcade/pacmanarena/pacmanarena-0.15.ebuild index 80b9fefdea73..6b933d5ae4d1 100644 --- a/games-arcade/pacmanarena/pacmanarena-0.15.ebuild +++ b/games-arcade/pacmanarena/pacmanarena-0.15.ebuild @@ -1,25 +1,25 @@ -# 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/pacmanarena/pacmanarena-0.15.ebuild,v 1.12 2006/12/01 20:32:47 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/pacmanarena/pacmanarena-0.15.ebuild,v 1.13 2007/02/14 10:46:34 nyhm Exp $ -inherit games +inherit eutils games DESCRIPTION="a Pacman clone in full 3D with a few surprises. Rockets, bombs and explosions abound." -HOMEPAGE="http://sourceforge.net/projects/pacmanarena/" -SRC_URI="mirror://sourceforge/pacmanarena/pacman-arena-${PV}.tar.bz2 - mirror://sourceforge/pacmanarena/pacman-data-0.0.zip" +HOMEPAGE="http://pacmanarena.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/pacman-arena-${PV}.tar.bz2 + mirror://sourceforge/${PN}/pacman-data-0.0.zip" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 x86" -IUSE="vorbis" +IUSE="" RDEPEND="virtual/opengl - >=media-libs/sdl-mixer-1.2.4 - >=media-libs/sdl-net-1.2.4 - vorbis? ( media-libs/libvorbis )" + virtual/glu + media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-net" DEPEND="${RDEPEND} - x11-libs/libXt app-arch/unzip" S=${WORKDIR}/pacman @@ -31,23 +31,21 @@ src_unpack() { sed -i \ -e "/^CFLAGS/ s:pacman:${PN}:" \ - Makefile.in || die "sed file.h failed" + -e '1i CC=@CC@' \ + Makefile.in \ + || die "sed Makefile.in failed" + sed -i \ + -e '/CFLAGS/s:-g::' \ + configure \ + || die "sed configure failed" } src_install() { - newgamesbin pacman pacmanarena || die "newgamesbin failed" - dodir ${GAMES_DATADIR}/${PN} - cp -r gfx/ sfx/ ${D}${GAMES_DATADIR}/${PN} || die "cp failed" - dodoc README || die "dodoc failed" + newgamesbin pacman ${PN} || die "newgamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} + doins -r gfx sfx || die "doins failed" + newicon gfx/pacman_arena1.tga ${PN}.tga + make_desktop_entry ${PN} "Pacman Arena" /usr/share/pixmaps/${PN}.tga + dodoc README prepgamesdirs } - -pkg_postinst() { - games_pkg_postinst - if ! use vorbis ; then - echo - ewarn "You need vorbis in your USE var and sdl components build" - ewarn "with vorbis to have sound." - echo - fi -} -- 2.26.2