summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-07-10 04:16:23 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-07-10 04:16:23 +0000
commit7dfc0019c4f23cbb5b4ab8761fc7cf63d8f357e6 (patch)
tree0cccc8c2ad8cb1c197bc591c019081c9a6fadbbc /games-arcade/xgalaga
parentit seems that this libtool breaks building .so files for a few ebuilds. next ... (diff)
downloadhistorical-7dfc0019c4f23cbb5b4ab8761fc7cf63d8f357e6.tar.gz
historical-7dfc0019c4f23cbb5b4ab8761fc7cf63d8f357e6.tar.bz2
historical-7dfc0019c4f23cbb5b4ab8761fc7cf63d8f357e6.zip
update to latest debian patch; use games eclass (bug #56545)
Diffstat (limited to 'games-arcade/xgalaga')
-rw-r--r--games-arcade/xgalaga/ChangeLog8
-rw-r--r--games-arcade/xgalaga/Manifest6
-rw-r--r--games-arcade/xgalaga/files/digest-xgalaga-2.0.34-r52
-rw-r--r--games-arcade/xgalaga/xgalaga-2.0.34-r5.ebuild57
4 files changed, 70 insertions, 3 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..7556b8240b9e 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 ea8f95228fcc8b1058e7c489835e319f ChangeLog 1794
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 b44de06395ee99e8d94b048bf31defa6 xgalaga-2.0.34-r5.ebuild 1605
+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
+}