diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-02-14 10:46:34 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-02-14 10:46:34 +0000 |
commit | 4126add2278a3cc3539b9a458568e957b80ac893 (patch) | |
tree | 5b7823c4faaa21e0d9fd820b8672060f1cec8c09 /games-arcade/pacmanarena | |
parent | drop =db-4.0* (diff) | |
download | gentoo-2-4126add2278a3cc3539b9a458568e957b80ac893.tar.gz gentoo-2-4126add2278a3cc3539b9a458568e957b80ac893.tar.bz2 gentoo-2-4126add2278a3cc3539b9a458568e957b80ac893.zip |
Install menu entry, bug #160241
(Portage version: 2.1.2-r9)
Diffstat (limited to 'games-arcade/pacmanarena')
-rw-r--r-- | games-arcade/pacmanarena/ChangeLog | 7 | ||||
-rw-r--r-- | games-arcade/pacmanarena/pacmanarena-0.15.ebuild | 50 |
2 files changed, 29 insertions, 28 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 <nyhm@gentoo.org> pacmanarena-0.15.ebuild: + Install menu entry, bug #160241 01 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> pacmanarena-0.15.ebuild: 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 -} |