diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2007-02-18 11:10:36 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2007-02-18 11:10:36 +0000 |
commit | 3d46ea52f2382869fc4c622e58b1e5c22cd27ed9 (patch) | |
tree | ebc8764238cb2df2748a5d166b186fe0ec62b6c2 /games-arcade | |
parent | Stable on ppc wrt bug #165837. (diff) | |
download | historical-3d46ea52f2382869fc4c622e58b1e5c22cd27ed9.tar.gz historical-3d46ea52f2382869fc4c622e58b1e5c22cd27ed9.tar.bz2 historical-3d46ea52f2382869fc4c622e58b1e5c22cd27ed9.zip |
New ebuild. Bug #110104
Package-Manager: portage-2.1.2-r9
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/spacerider/ChangeLog | 11 | ||||
-rw-r--r-- | games-arcade/spacerider/Manifest | 34 | ||||
-rw-r--r-- | games-arcade/spacerider/files/digest-spacerider-0.13 | 3 | ||||
-rw-r--r-- | games-arcade/spacerider/files/spacerider-0.13-gcc41.patch | 10 | ||||
-rw-r--r-- | games-arcade/spacerider/files/spacerider-0.13-gentoo.patch | 24 | ||||
-rw-r--r-- | games-arcade/spacerider/metadata.xml | 8 | ||||
-rw-r--r-- | games-arcade/spacerider/spacerider-0.13.ebuild | 40 |
7 files changed, 130 insertions, 0 deletions
diff --git a/games-arcade/spacerider/ChangeLog b/games-arcade/spacerider/ChangeLog new file mode 100644 index 000000000000..5510adfc521a --- /dev/null +++ b/games-arcade/spacerider/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-arcade/spacerider +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/spacerider/ChangeLog,v 1.1 2007/02/18 11:10:36 tupone Exp $ + +*spacerider-0.13 (18 Feb 2007) + + 18 Feb 2007; <tupone@gentoo.org> +files/spacerider-0.13-gcc41.patch, + +files/spacerider-0.13-gentoo.patch, +metadata.xml, + +spacerider-0.13.ebuild: + New ebuild. Bug #110104 by Fernando V. + diff --git a/games-arcade/spacerider/Manifest b/games-arcade/spacerider/Manifest new file mode 100644 index 000000000000..5f2c793fcc88 --- /dev/null +++ b/games-arcade/spacerider/Manifest @@ -0,0 +1,34 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX spacerider-0.13-gcc41.patch 464 RMD160 ce69932ac0b2565344607c196286a9544beb9871 SHA1 edbdb4c919f36a0814aacf3de2764be3f2fbe10f SHA256 fcedce29dc5d09bb58b3ba2e3758ac0c5921b4233b7a5d6cd5714789db6d94a3 +MD5 675b6b9015ac8d86058146efac9a78c8 files/spacerider-0.13-gcc41.patch 464 +RMD160 ce69932ac0b2565344607c196286a9544beb9871 files/spacerider-0.13-gcc41.patch 464 +SHA256 fcedce29dc5d09bb58b3ba2e3758ac0c5921b4233b7a5d6cd5714789db6d94a3 files/spacerider-0.13-gcc41.patch 464 +AUX spacerider-0.13-gentoo.patch 754 RMD160 563d87ca4d3003166810c0353a408306ac94ea6d SHA1 a8623fa0d2bcbe09955fc20375020e71b29bb93d SHA256 0d53e8d0ab9e414a6495fe601f18775295f37783241231a1608815b8e2d12533 +MD5 a9f3a830f43459d6a1dc7a16933ec836 files/spacerider-0.13-gentoo.patch 754 +RMD160 563d87ca4d3003166810c0353a408306ac94ea6d files/spacerider-0.13-gentoo.patch 754 +SHA256 0d53e8d0ab9e414a6495fe601f18775295f37783241231a1608815b8e2d12533 files/spacerider-0.13-gentoo.patch 754 +DIST download.php?file=spacerider-0.13.tar.bz2 283861 RMD160 bd3eeae53aa69f4adcb8c7d92044856c38b0c3a5 SHA1 d7cdf84e956bd477055f1ffa093bf10eacbd8b31 SHA256 9314945b7004a64e7f511b7318af3aef5d1ab680577ba97399a8a11ab022678e +EBUILD spacerider-0.13.ebuild 1047 RMD160 a93db33836327b04949a445fe2ca58a71b4dc690 SHA1 b28c20d94bfd41bb5accc28ad3e20c9a2ed54139 SHA256 055de67f486ddb54381ad6b6bda5807ea32839056775942fd47f4435e523b6a0 +MD5 0045b9c2683c27e2edc94fedee0d5e72 spacerider-0.13.ebuild 1047 +RMD160 a93db33836327b04949a445fe2ca58a71b4dc690 spacerider-0.13.ebuild 1047 +SHA256 055de67f486ddb54381ad6b6bda5807ea32839056775942fd47f4435e523b6a0 spacerider-0.13.ebuild 1047 +MISC ChangeLog 445 RMD160 e9681fd8f38c32f545b6ad1bd7010cd7e00824e5 SHA1 0acdd6648f9c384b485a499b682b19f293001063 SHA256 5b4d4d818a3b9dc41cafd16d710057655e9d5f5e9ad8c354a0b0fa53a020534e +MD5 c7c74e24880fc5adcc5ec6ce5cef537d ChangeLog 445 +RMD160 e9681fd8f38c32f545b6ad1bd7010cd7e00824e5 ChangeLog 445 +SHA256 5b4d4d818a3b9dc41cafd16d710057655e9d5f5e9ad8c354a0b0fa53a020534e ChangeLog 445 +MISC metadata.xml 266 RMD160 30c2186669a22dea515f787f68b1be1a5a12668e SHA1 aac5da00503fe5c7638d77007fa376feff7fced9 SHA256 6e65e3f5cf03bf3f47c85b02e6950c95218fc88971a96001fca0ed90c9c32a70 +MD5 04216b0073ae12ce2a251d2128b410e9 metadata.xml 266 +RMD160 30c2186669a22dea515f787f68b1be1a5a12668e metadata.xml 266 +SHA256 6e65e3f5cf03bf3f47c85b02e6950c95218fc88971a96001fca0ed90c9c32a70 metadata.xml 266 +MD5 f98dbe339ea36e9e1bf40d2fbe9faaa3 files/digest-spacerider-0.13 304 +RMD160 70fc1d5e45394932351156eb1bad413a5674bd4c files/digest-spacerider-0.13 304 +SHA256 b04316b41ba8d06674e54dd4cf566f122dcc662857510c11d13b410a0a30bfae files/digest-spacerider-0.13 304 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFF2DQ4bfN2jvlVAhwRAjNjAJ976LNV0VFCIqELYfHaFReNrtnwMQCfWYJz ++Yl3CP0eVpph3a3ALdoqlxw= +=5SzS +-----END PGP SIGNATURE----- diff --git a/games-arcade/spacerider/files/digest-spacerider-0.13 b/games-arcade/spacerider/files/digest-spacerider-0.13 new file mode 100644 index 000000000000..da6a14f4c823 --- /dev/null +++ b/games-arcade/spacerider/files/digest-spacerider-0.13 @@ -0,0 +1,3 @@ +MD5 b908144d03d69303443cbcce065117c1 download.php?file=spacerider-0.13.tar.bz2 283861 +RMD160 bd3eeae53aa69f4adcb8c7d92044856c38b0c3a5 download.php?file=spacerider-0.13.tar.bz2 283861 +SHA256 9314945b7004a64e7f511b7318af3aef5d1ab680577ba97399a8a11ab022678e download.php?file=spacerider-0.13.tar.bz2 283861 diff --git a/games-arcade/spacerider/files/spacerider-0.13-gcc41.patch b/games-arcade/spacerider/files/spacerider-0.13-gcc41.patch new file mode 100644 index 000000000000..1a08d715ac5b --- /dev/null +++ b/games-arcade/spacerider/files/spacerider-0.13-gcc41.patch @@ -0,0 +1,10 @@ +--- spacerider.cpp.old 2007-02-18 11:25:38.000000000 +0100 ++++ spacerider.cpp 2007-02-18 11:27:00.000000000 +0100 +@@ -17,6 +17,7 @@ + #include <unistd.h> + } + ++int send_score_thread(void *param); + + Spacerider::Spacerider(const int argc, char *argv[]) : fullscreen(FULLSCREEN), game_over(false), online_highscore(ONLINE_HIGHSCORE), score_sent(false), name_input(true), highscore_thread_started(false), scroll(0), last_enemy(0), score(0), lives(LIVES), fps(FPS) + { diff --git a/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch b/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch new file mode 100644 index 000000000000..7fe1a63ef5a6 --- /dev/null +++ b/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch @@ -0,0 +1,24 @@ +--- Makefile.old 2007-02-18 11:15:20.000000000 +0100 ++++ Makefile 2007-02-18 11:19:56.000000000 +0100 +@@ -8,7 +8,6 @@ + MKDIR=mkdir -p + INSTALL=install + RM=rm -f +-CXXFLAGS=-Wall -fomit-frame-pointer -O3 `sdl-config --cflags` + OBJS=main.o globals.o spacerider.o music.o sprite.o enemy.o effect.o visible.o box.o features.o font.o image.o bullet.o + OUTPUT=spacerider + LIBS=`sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer -lSDL_net -lSDL_gfx +@@ -22,11 +21,11 @@ + + + $(OUTPUT): $(OBJS) +- $(CXX) $(CXXFLAGS) -o $(OUTPUT) $(OBJS) $(LIBS) ++ $(CXX) $(CXXFLAGS) `sdl-config --cflags` -o $(OUTPUT) $(OBJS) $(LIBS) + strip $(OUTPUT) + + %.o: %.cpp +- $(CXX) $(CXXFLAGS) -c $< ++ $(CXX) $(CXXFLAGS) `sdl-config --cflags` -c $< + + clean: + $(RM) $(OBJS) $(OUTPUT) diff --git a/games-arcade/spacerider/metadata.xml b/games-arcade/spacerider/metadata.xml new file mode 100644 index 000000000000..84cc44534ddb --- /dev/null +++ b/games-arcade/spacerider/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<longdescription lang="en"> +spacerider is a space-shooter written in C++, using the SDL. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/spacerider/spacerider-0.13.ebuild b/games-arcade/spacerider/spacerider-0.13.ebuild new file mode 100644 index 000000000000..b81765b60100 --- /dev/null +++ b/games-arcade/spacerider/spacerider-0.13.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/spacerider/spacerider-0.13.ebuild,v 1.1 2007/02/18 11:10:36 tupone Exp $ + +inherit eutils games + +DESCRIPTION="space-shooter written in C++, using the SDL" +HOMEPAGE="http://www.hackl.dhs.org/spacerider" +SRC_URI="http://www.hackl.dhs.org/data/download/download.php?file=${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="media-libs/sdl-gfx + media-libs/sdl-mixer + media-libs/sdl-image + media-libs/sdl-net + media-libs/sdl-ttf" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}"-gentoo.patch \ + "${FILESDIR}/${P}"-gcc41.patch + sed -i -e "s:/usr/share/games/spacerider:${GAMES_DATADIR}/${PN}:" \ + globals.cpp +} + +src_install() { + dogamesbin ${PN} || die "installing the executable failed" + insinto ${GAMES_DATADIR}/${PN} + doins -r data || die "installing game data files" + + dodoc AUTHORS || die "Error installing doc" + newman ${PN}.{1,6} + + prepgamesdirs +} |