diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-10 04:16:23 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-10 04:16:23 +0000 |
commit | 3070fc92e3ef1142d7b0c894bd3677f273058e24 (patch) | |
tree | 6c7bc2a0e0f58c4a0629e3536cf19d89d1c077e9 /games-arcade | |
parent | it seems that this libtool breaks building .so files for a few ebuilds. next ... (diff) | |
download | gentoo-2-3070fc92e3ef1142d7b0c894bd3677f273058e24.tar.gz gentoo-2-3070fc92e3ef1142d7b0c894bd3677f273058e24.tar.bz2 gentoo-2-3070fc92e3ef1142d7b0c894bd3677f273058e24.zip |
update to latest debian patch; use games eclass (bug #56545)
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/xgalaga/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/xgalaga/Manifest | 4 | ||||
-rw-r--r-- | games-arcade/xgalaga/files/digest-xgalaga-2.0.34-r5 | 2 | ||||
-rw-r--r-- | games-arcade/xgalaga/xgalaga-2.0.34-r5.ebuild | 57 |
4 files changed, 69 insertions, 2 deletions
diff --git a/games-arcade/xgalaga/ChangeLog b/games-arcade/xgalaga/ChangeLog index fb28c6793eba..f7f267dc8d60 100644 --- a/games-arcade/xgalaga/ChangeLog +++ b/games-arcade/xgalaga/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-arcade/xgalaga # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/ChangeLog,v 1.5 2004/06/24 22:14:18 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/ChangeLog,v 1.6 2004/07/10 04:16:23 mr_bones_ Exp $ + +*xgalaga-2.0.34-r5 (09 Jul 2004) + + 09 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> + +xgalaga-2.0.34-r5.ebuild: + update to latest debian patch; use games eclass (bug #56545) 03 Jan 2004; Jason Wever <weeve@gentoo.org> xgalaga-2.0.34-r4.ebuild: Added ~sparc keyword, resolves bug #37075. diff --git a/games-arcade/xgalaga/Manifest b/games-arcade/xgalaga/Manifest index bd6c87e4d731..02e55ac8e843 100644 --- a/games-arcade/xgalaga/Manifest +++ b/games-arcade/xgalaga/Manifest @@ -1,4 +1,6 @@ -MD5 7006ad8e064dee01519139189b97254f xgalaga-2.0.34-r4.ebuild 1175 MD5 95071a8ed69b9501ef555ac85734d348 ChangeLog 1611 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 b76330d3cf13474b9cfeaebff1b9c8e6 xgalaga-2.0.34-r5.ebuild 1604 +MD5 7006ad8e064dee01519139189b97254f xgalaga-2.0.34-r4.ebuild 1175 MD5 2b50109bab28e73cc2ef0e628e72ac1b files/digest-xgalaga-2.0.34-r4 140 +MD5 adc25671ed76036e2b76b87a3c0b2cfe files/digest-xgalaga-2.0.34-r5 140 diff --git a/games-arcade/xgalaga/files/digest-xgalaga-2.0.34-r5 b/games-arcade/xgalaga/files/digest-xgalaga-2.0.34-r5 new file mode 100644 index 000000000000..196c5532378d --- /dev/null +++ b/games-arcade/xgalaga/files/digest-xgalaga-2.0.34-r5 @@ -0,0 +1,2 @@ +MD5 9f7ee685e9c4741b5f0edc3f91df9510 xgalaga_2.0.34.orig.tar.gz 314189 +MD5 3c3272c04079cd1530de4d93769a78ac xgalaga_2.0.34-28.diff.gz 44724 diff --git a/games-arcade/xgalaga/xgalaga-2.0.34-r5.ebuild b/games-arcade/xgalaga/xgalaga-2.0.34-r5.ebuild new file mode 100644 index 000000000000..35cd8ea5da45 --- /dev/null +++ b/games-arcade/xgalaga/xgalaga-2.0.34-r5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xgalaga/xgalaga-2.0.34-r5.ebuild,v 1.1 2004/07/10 04:16:23 mr_bones_ Exp $ + +inherit eutils games + +DESCRIPTION="Galaga game clone." +HOMEPAGE="http://rumsey.org/xgal.html" +SRC_URI="http://http.us.debian.org/debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz + http://http.us.debian.org/debian/pool/main/x/${PN}/${PN}_${PV}-28.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc alpha sparc amd64" +IUSE="" + +DEPEND="virtual/x11" + +src_unpack() { + unpack ${A} + cd ${S} + epatch "${WORKDIR}/${PN}_${PV}-28.diff" + sed -i \ + -e "/LEVELDIR\|SOUNDDIR/ s:prefix:datadir/${PN}:" \ + -e "/\/scores/ s:prefix:localstatedir/${PN}:" configure \ + || die "sed configure failed" + sed -i \ + -e '/SOUNDDEFS/ s:@prefix@:@prefix@/bin:' Makefile.in \ + || die "sed Makefile.in failed" +} + +src_compile() { + egamesconf || die + emake CPPFLAGS="-D__NO_STRING_INLINES" || die "compile problem" +} + +src_install() { + dogamesbin xgalaga xgal.sndsrv.linux || die "dogamesbin failed" + dodoc README README.SOUND CHANGES INSTALL + newman xgal.6x xgal.6 + + insinto "${GAMES_DATADIR}/${PN}/sounds" + doins sounds/*.raw || die "doins failed" + + insinto "${GAMES_DATADIR}/${PN}/levels" + doins levels/*.xgl || die "doins failed" + + insinto /usr/share/pixmaps + doins xgalaga-icon.xpm || die "doins failed" + + make_desktop_entry xgalaga xgalaga xgalaga-icon.xpm + + dodir "${GAMES_STATEDIR}/${PN}" + touch "${D}${GAMES_STATEDIR}/${PN}/scores" + fperms 660 "${GAMES_STATEDIR}/${PN}/scores" + prepgamesdirs +} |