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 | 58022a8c46de1f3bdab96d66af66f742e6d260be (patch) | |
tree | 42ac2c1fd3fda2cc348361e758e8929c972e8d32 /games-arcade | |
parent | Stable on ppc wrt bug #165837. (diff) | |
download | gentoo-2-58022a8c46de1f3bdab96d66af66f742e6d260be.tar.gz gentoo-2-58022a8c46de1f3bdab96d66af66f742e6d260be.tar.bz2 gentoo-2-58022a8c46de1f3bdab96d66af66f742e6d260be.zip |
New ebuild. Bug #110104
(Portage version: 2.1.2-r9)
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/spacerider/ChangeLog | 11 | ||||
-rw-r--r-- | games-arcade/spacerider/Manifest | 24 | ||||
-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, 120 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..c882033f8d0a --- /dev/null +++ b/games-arcade/spacerider/Manifest @@ -0,0 +1,24 @@ +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 939 RMD160 f4e9c6e88a55feb2b267e3ebe44fe03da142e097 SHA1 bc4a4e7db082f735a25f1e518ea49e3a1b8b4ac2 SHA256 64669ec69597c662349a50ccf4b7b25a9d45d251885f746de790d7960f066c45 +MD5 6cbbef2840cd539bdc7922309bc12c3c spacerider-0.13.ebuild 939 +RMD160 f4e9c6e88a55feb2b267e3ebe44fe03da142e097 spacerider-0.13.ebuild 939 +SHA256 64669ec69597c662349a50ccf4b7b25a9d45d251885f746de790d7960f066c45 spacerider-0.13.ebuild 939 +MISC ChangeLog 350 RMD160 edacc41409923a8295c668e4b676938b7652f881 SHA1 07774c97a753c117469adc23e7971e4f6e37507a SHA256 9e2462ca88f968fc0b8a323fc8562c58ecddfcecd4afe85d24b94d620d6a3421 +MD5 c79e0e76941b607641fb787fd5fbefc8 ChangeLog 350 +RMD160 edacc41409923a8295c668e4b676938b7652f881 ChangeLog 350 +SHA256 9e2462ca88f968fc0b8a323fc8562c58ecddfcecd4afe85d24b94d620d6a3421 ChangeLog 350 +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 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 +} |