diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:16 +0000 |
commit | f199057b8679cd2eed424fccb45361c89a133d31 (patch) | |
tree | e6ec41e59db82809cd99452c53c9efe67a3985e3 /games-action/armagetron | |
parent | games action and arcade (diff) | |
download | gentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.tar.gz gentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.tar.bz2 gentoo-2-f199057b8679cd2eed424fccb45361c89a133d31.zip |
action games !
Diffstat (limited to 'games-action/armagetron')
15 files changed, 353 insertions, 0 deletions
diff --git a/games-action/armagetron/ChangeLog b/games-action/armagetron/ChangeLog new file mode 100644 index 000000000000..f82d47f0c1c3 --- /dev/null +++ b/games-action/armagetron/ChangeLog @@ -0,0 +1,74 @@ +# ChangeLog for app-games/armagetron +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/armagetron/ChangeLog,v 1.1 2003/09/10 19:29:16 vapier Exp $ + + 25 Aug 2003; Luke-Jr <luke-jr@gentoo.org> armagetron-0.1.4.9.ebuild, + armagetron-0.2.4-r1.ebuild, armagetron-0.2.5.1.ebuild: + Removed unneccesary font from ebuilds + + 12 Aug 2003; Luke-Jr <luke-jr@gentoo.org> metadata.xml: + Created metadata.xml + + 29 Jul 2003; Michael Sterrett <msterret@gentoo.org> + armagetron-0.2.5.1.ebuild: + use sed -i and src_compile from games eclass + +*armagetron-0.2.5.1 (27 Jul 2003) + + 27 Jul 2003; <luke-jr@gentoo.org> armagetron-0.2.5.1.ebuild: + Unstable/dev version bump to 0.2.5.1 + +*armagetron-0.2.5 (21 Jul 2003) + + 21 Jul 2003; <luke-jr@gentoo.org> armagetron-0.2.5.ebuild: + Unstable/dev version bump + + 14 Jul 2003; <luke-jr@gentoo.org> armagetron-0.2.4-r1.ebuild: + Moved ArmageTRON bin out of /opt + +*armagetron-0.2.4-r1 (12 Jul 2003) + + 12 Jul 2003; <luke-jr@gentoo.org> armagetron-0.2.4-r1.ebuild: + Maybe fixed a font problem occuring on some systems + + 10 Jul 2003; <luke-jr@gentoo.org> armagetron-0.2.4.ebuild: + 0.2.4 now uses GAMES_DATADIR for data + +*armagetron-0.2.4 (10 Jul 2003) + + 10 Jul 2003; <luke-jr@gentoo.org> armagetron-0.2.4.ebuild: + Version bump: 0.2.4 + + 08 Jul 2003; <luke-jr@gentoo.org> files/armagetron-0.2_pre2.sh: + version bump to 0.2.2 (stable) and 0.2.3 (unstable) + +*armagetron-0.2_pre2 (05 Jul 2003) + + 05 Jul 2003; <luke-jr@gentoo.org> armagetron-0.2_pre2.ebuild, + files/armagetron-0.2_pre2.sh: + Version bump to 0.2_pre2 and now uses games eclass + + 16 Aug 2002; Daniel Robbins <drobbins@gentoo.org>: various little cleanups; + No version bump (still 0.1.4.9) + +*armagetron-0.1.4.9 (24 May 2002) + + 18 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> armagetron-0.1.4.9.ebuild : + Updated to mirror://sourceforge in SRC_URI. + + 13 Aug 2002; J. Alberto Suárez López <bass@gentoo.org> + armagetron-0.1.4.9.ebuild : Added DEPEND unzip, needed for unpack the + moviepack. + + 06 Aug 2002; Mark Guertin <gerk@gentoo.org>: Added ppc to keywords + + 29 Jul 2002; Spider <spider@gentoo.org> armagetron-0.1.4.9.ebuild: Change + CXXFLAGS so we dont have -fno-exceptions. + + + 17 Jul 2002; Jose Alberto Suárez López <bass@gentoo.org> + armagetron-0.1.4.9.ebuild : Added LICENSE, KEYWORDS. + + 24 May 2002; Sean P. Kane <spk42@spkane.org> armagetron-0.1.4.9.ebuild : + First armagetron ebuild + diff --git a/games-action/armagetron/Manifest b/games-action/armagetron/Manifest new file mode 100644 index 000000000000..d8d4ab5e3e34 --- /dev/null +++ b/games-action/armagetron/Manifest @@ -0,0 +1,14 @@ +MD5 3151be2f300818d75b326a476c5679c9 ChangeLog 2475 +MD5 03c84731a1b6086e190594681f125d93 armagetron-0.1.4.9.ebuild 2093 +MD5 e62580e5e8d6b956d00a0e22e1300ba0 armagetron-0.2.4-r1.ebuild 2121 +MD5 cb34f5e24489e69198ef24f6bb485fef metadata.xml 367 +MD5 e569b6520d198cb2a4520b1fddb6ef7e armagetron-0.2.5.1.ebuild 2044 +MD5 b099d1ac147af025edade2ecdb5d4ba0 files/armagetron-0.1.4.9-Makefile.global.in.patch 400 +MD5 778ff6fa5181b49c27da527ddf9a246f files/armagetron-0.1.4.9-configure.patch 422 +MD5 f1f78fdf04c0f8cdd942f5bf1e06896a files/armagetron-0.1.4.9.sh 68 +MD5 5a17e2313a153a714e221e7ec45c2f16 files/digest-armagetron-0.1.4.9 251 +MD5 e28f3cbd064e6429d08a76e3b91e6afe files/armagetron-0.2_pre2.sh 434 +MD5 539c8007d383b7f254d331c26ed4c65d files/digest-armagetron-0.2.4-r1 247 +MD5 ca3b5d517557bec4a2223ec4673efe46 files/armagetron-0.2.4-r1.sh 353 +MD5 eff25d87d4215b2dba1dcc575047cb67 files/armagetron-0.2.4.sh 425 +MD5 e7055626980e8eacf3366ee86039d7a0 files/digest-armagetron-0.2.5.1 249 diff --git a/games-action/armagetron/armagetron-0.1.4.9.ebuild b/games-action/armagetron/armagetron-0.1.4.9.ebuild new file mode 100644 index 000000000000..bb814b828a7b --- /dev/null +++ b/games-action/armagetron/armagetron-0.1.4.9.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/armagetron/armagetron-0.1.4.9.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $ + +S=${WORKDIR}/${PN} +DESCRIPTION="armagetron: 3d tron lightcycles, just like the movie" +SRC_URI="mirror://sourceforge/armagetron/armagetron_src_${PV}.tar.gz + http://armagetron.sourceforge.net/addons/moviesounds_fq.zip + http://armagetron.sourceforge.net/addons/moviepack.zip" +HOMEPAGE="http://armagetron.sourceforge.net/" +KEYWORDS="x86 ppc" +LICENSE="GPL-2" +SLOT="0" +CXXFLAGS=${CXXFLAGS/-fno-exceptions/} +RDEPEND="virtual/x11 + virtual/opengl + media-libs/libsdl + media-libs/sdl-image + sys-libs/zlib + media-libs/libpng" + +DEPEND="$RDEPEND app-arch/unzip" + +src_unpack() { + unpack armagetron_src_${PV}.tar.gz + unpack moviesounds_fq.zip + unpack moviepack.zip + set > /tmp/emerge-env.txt + cd ${S} + # Doesn't find libs in /usr/X11R6/lib for some reason...patched + patch < ${FILESDIR}/${P}-configure.patch || die "Patch 1 Failed" + # Uses $SYNC which which conflicts with emerge + patch < ${FILESDIR}/${P}-Makefile.global.in.patch || dir "Patch 2 Failed" +} + +src_compile() { + CXXFLAGS="$CXXFLAGS" ./configure --prefix=/usr --host="${CHOST}" || die "config failed" + make all || die "Make Failed" +} + +src_install () { + # make install for armagetron is non-existant + dodir /usr/bin + dodir /usr/share/armagetron + dodir /usr/X11R6/lib/X11/fonts/truetype + cp src/tron/armagetron ${D}/usr/share/armagetron || die "No Armagetron Executable" + cp -r arenas ${D}/usr/share/armagetron/arenas + cp -r models ${D}/usr/share/armagetron/models + cp -r sound ${D}/usr/share/armagetron/sound + cp -r textures ${D}/usr/share/armagetron/textures + # maybe convert this to a .png or something + #cp tron.ico ${D}/usr/share/armagetron + dohtml doc + cp ${FILESDIR}/${P}.sh ${D}/usr/bin/armagetron + cp -r ../moviepack ${D}/usr/share/armagetron + cp -r ../moviesounds ${D}/usr/share/armagetron + chmod -R a+r ${D} + chmod a+rx ${D}/usr/bin/armagetron + chmod a+rx ${D}/usr/share/armagetron/armagetron +} diff --git a/games-action/armagetron/armagetron-0.2.4-r1.ebuild b/games-action/armagetron/armagetron-0.2.4-r1.ebuild new file mode 100644 index 000000000000..306351783dd9 --- /dev/null +++ b/games-action/armagetron/armagetron-0.2.4-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/armagetron/armagetron-0.2.4-r1.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $ + +inherit games + +IUSE="`echo " ${IUSE} " | sed 's/ dedicated //'`" + # drop 'dedicated' as it is always enabled + +S=${WORKDIR}/${PN}-${PV} +DESCRIPTION="armagetron: 3d tron lightcycles, just like the movie" +SRC_URI="mirror://sourceforge/armagetron/${P}.tar.bz2 + http://armagetron.sourceforge.net/addons/moviesounds_fq.zip + http://armagetron.sourceforge.net/addons/moviepack.zip" + +HOMEPAGE="http://armagetron.sourceforge.net/" +KEYWORDS="x86 ppc" +LICENSE="GPL-2" +SLOT="0" +CXXFLAGS=${CXXFLAGS/-fno-exceptions/} +RDEPEND="virtual/x11 + virtual/opengl + media-libs/libsdl + media-libs/sdl-image + sys-libs/zlib + media-libs/libpng" + +DEPEND="$RDEPEND app-arch/unzip" + +src_unpack() { + unpack ${PN}-${PV}.tar.bz2 + unpack moviesounds_fq.zip + unpack moviepack.zip + set > /tmp/emerge-env.txt + cd ${S} + # Uses $SYNC which which conflicts with emerge + cp Makefile.global.in Makefile.global.in.old + sed 's/$(SYNC)/$(SYNCDISK)/' < Makefile.global.in.old > \ + Makefile.global.in || die 'Makefile edit failed' +} + +src_compile() { + egamesconf || die "config failed" + emake || die "Make Failed" +} + +src_install () { + # make install for armagetron is non-existant + dodir ${GAMES_BINDIR} + dodir ${GAMES_LIBDIR}/${PN} + dodir ${GAMES_DATADIR}/${PN} + dodir /usr/share/fonts + cp src/tron/armagetron ${D}/${GAMES_LIBDIR}/${PN} || die "No Armagetron Executable" + cp -r arenas models sound textures language config \ + ${D}/${GAMES_DATADIR}/${PN}/ + # maybe convert this to a .png or something + #cp tron.ico ${D}/${GAMES_DATADIR}/${PN} + dohtml doc + newgamesbin ${FILESDIR}/${P}-r1.sh ${PN} + dosed "s:DATADIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/${PN} + dosed "s:BINDIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/${PN} + cp -r ../moviepack ${D}/${GAMES_DATADIR}/${PN} + cp -r ../moviesounds ${D}/${GAMES_DATADIR}/${PN} + chmod -R a+r ${D} + chmod a+rx ${D}/${GAMES_BINDIR}/${PN} + chmod a+rx ${D}/${GAMES_LIBDIR}/${PN}/${PN} +} diff --git a/games-action/armagetron/armagetron-0.2.5.1.ebuild b/games-action/armagetron/armagetron-0.2.5.1.ebuild new file mode 100644 index 000000000000..6efc8168c868 --- /dev/null +++ b/games-action/armagetron/armagetron-0.2.5.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/armagetron/armagetron-0.2.5.1.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $ + +inherit games + +IUSE="`echo " ${IUSE} " | sed 's/ dedicated //'`" + +S=${WORKDIR}/${PN}-${PV} +DESCRIPTION="armagetron: 3d tron lightcycles, just like the movie" +SRC_URI="mirror://sourceforge/armagetron/${P}.tar.bz2 + http://armagetron.sourceforge.net/addons/moviesounds_fq.zip + http://armagetron.sourceforge.net/addons/moviepack.zip" +HOMEPAGE="http://armagetron.sourceforge.net/" +KEYWORDS="~x86 ~ppc" +LICENSE="GPL-2" +SLOT="0" +CXXFLAGS=${CXXFLAGS/-fno-exceptions/} +RDEPEND="virtual/x11 + virtual/opengl + media-libs/libsdl + media-libs/sdl-image + sys-libs/zlib + media-libs/libpng" + +DEPEND="$RDEPEND + >=sys-apps/sed-4 + app-arch/unzip" + +src_unpack() { + unpack ${PN}-${PV}.tar.bz2 + unpack moviesounds_fq.zip + unpack moviepack.zip + set > /tmp/emerge-env.txt + cd ${S} + # Uses $SYNC which which conflicts with emerge + sed -i \ + -e 's/$(SYNC)/$(SYNCDISK)/' Makefile.global.in || \ + die 'sed Makefile.global.in failed' +} + +src_install () { + # make install for armagetron is non-existant + dodir ${GAMES_BINDIR} + dodir ${GAMES_LIBDIR}/${PN} + dodir ${GAMES_DATADIR}/${PN} + dodir /usr/share/fonts + cp src/tron/armagetron ${D}/${GAMES_LIBDIR}/${PN} || die "No Armagetron Executable" + cp -r arenas models sound textures language config \ + ${D}/${GAMES_DATADIR}/${PN}/ || die "Missing ArmageTRON data" + # maybe convert this to a .png or something + #cp tron.ico ${D}/${GAMES_DATADIR}/${PN} + dohtml doc + newgamesbin ${FILESDIR}/${PN}-0.2.4-r1.sh ${PN} || die "ArmageTRON shell script not found" + dosed "s:DATADIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/${PN} + dosed "s:BINDIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/${PN} + cp -r ../moviepack ${D}/${GAMES_DATADIR}/${PN} + cp -r ../moviesounds ${D}/${GAMES_DATADIR}/${PN} + chmod -R a+r ${D} + chmod a+rx ${D}/${GAMES_BINDIR}/${PN} + chmod a+rx ${D}/${GAMES_LIBDIR}/${PN}/${PN} +} diff --git a/games-action/armagetron/files/armagetron-0.1.4.9-Makefile.global.in.patch b/games-action/armagetron/files/armagetron-0.1.4.9-Makefile.global.in.patch new file mode 100644 index 000000000000..c496331cd407 --- /dev/null +++ b/games-action/armagetron/files/armagetron-0.1.4.9-Makefile.global.in.patch @@ -0,0 +1,11 @@ +--- Makefile.global.in Tue Jun 26 08:37:57 2001 ++++ Makefile.global.in.new Sun May 26 11:31:30 2002 +@@ -40,7 +40,7 @@ + # how to compile C++ - files + + %.o: ${srcdir}/%.cpp +- $(SYNC) # on my laptop: make sure changes get flushed to disk ++ $(SYNCDISK) # on my laptop: make sure changes get flushed to disk + $(CXX) $(CXXFLAGS) $(INCLUDES) -I${srcdir} -I${top_srcdir}/src -c $< -o $@ + + %.a: diff --git a/games-action/armagetron/files/armagetron-0.1.4.9-configure.patch b/games-action/armagetron/files/armagetron-0.1.4.9-configure.patch new file mode 100644 index 000000000000..43e2bb6604c2 --- /dev/null +++ b/games-action/armagetron/files/armagetron-0.1.4.9-configure.patch @@ -0,0 +1,13 @@ +--- configure.orig Fri May 24 19:03:13 2002 ++++ configure Fri May 24 19:05:22 2002 +@@ -1182,8 +1182,8 @@ + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +- ac_save_LIBS="$LIBS" +-LIBS="-lGLU $LIBS" ++ ac_save_LIBS="$LIBS -L/usr/X11R6/lib" ++LIBS="-lGLU $LIBS -L/usr/X11R6/lib" + cat > conftest.$ac_ext <<EOF + #line 1189 "configure" + #include "confdefs.h" diff --git a/games-action/armagetron/files/armagetron-0.1.4.9.sh b/games-action/armagetron/files/armagetron-0.1.4.9.sh new file mode 100644 index 000000000000..f25b65054ea3 --- /dev/null +++ b/games-action/armagetron/files/armagetron-0.1.4.9.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cd /usr/share/armagetron +/usr/share/armagetron/armagetron diff --git a/games-action/armagetron/files/armagetron-0.2.4-r1.sh b/games-action/armagetron/files/armagetron-0.2.4-r1.sh new file mode 100644 index 000000000000..a774ee515d37 --- /dev/null +++ b/games-action/armagetron/files/armagetron-0.2.4-r1.sh @@ -0,0 +1,9 @@ +#!/bin/sh +if [ ! -e ~/.armagetron ]; then + mkdir ~/.armagetron{,/config,/log,/var} + ln -s DATADIR/config/{{default,aiplayers}.cfg,master.srv} ~/.armagetron/config/ + cp DATADIR/config/settings.cfg ~/.armagetron/config/ + ln -s DATADIR/{arenas,models,moviesounds,textures,language,moviepack,sound} ~/.armagetron/ +fi +cd ~/.armagetron +BINDIR/armagetron "$@" diff --git a/games-action/armagetron/files/armagetron-0.2.4.sh b/games-action/armagetron/files/armagetron-0.2.4.sh new file mode 100644 index 000000000000..3b0d4d96d374 --- /dev/null +++ b/games-action/armagetron/files/armagetron-0.2.4.sh @@ -0,0 +1,9 @@ +#!/bin/sh +if [ ! -e ~/.armagetron ]; then + mkdir ~/.armagetron{,/config,/log,/var} + ln -s GAMES_DATADIR/armagetron/config/{{default,aiplayers}.cfg,master.srv} ~/.armagetron/config/ + cp GAMES_DATADIR/armagetron/config/settings.cfg ~/.armagetron/config/ + ln -s GAMES_DATADIR/armagetron/{arenas,models,moviesounds,textures,language,moviepack,sound} ~/.armagetron/ +fi +cd ~/.armagetron +GAMES_PREFIX_OPT/armagetron/armagetron "$@" diff --git a/games-action/armagetron/files/armagetron-0.2_pre2.sh b/games-action/armagetron/files/armagetron-0.2_pre2.sh new file mode 100644 index 000000000000..ab1170588b57 --- /dev/null +++ b/games-action/armagetron/files/armagetron-0.2_pre2.sh @@ -0,0 +1,9 @@ +#!/bin/sh +if [ ! -e ~/.armagetron ]; then + mkdir ~/.armagetron{,/config,/log,/var} + ln -s GAMES_PREFIX_OPT/armagetron/config/{{default,aiplayers}.cfg,master.srv} ~/.armagetron/config/ + cp GAMES_PREFIX_OPT/armagetron/config/settings.cfg ~/.armagetron/config/ + ln -s GAMES_PREFIX_OPT/armagetron/{arenas,models,moviesounds,textures,language,moviepack,sound} ~/.armagetron/ +fi +cd ~/.armagetron +GAMES_PREFIX_OPT/armagetron/armagetron "$@" diff --git a/games-action/armagetron/files/digest-armagetron-0.1.4.9 b/games-action/armagetron/files/digest-armagetron-0.1.4.9 new file mode 100644 index 000000000000..d845024c41c1 --- /dev/null +++ b/games-action/armagetron/files/digest-armagetron-0.1.4.9 @@ -0,0 +1,4 @@ +MD5 a53d8f6c729c153db31700cb41297490 armagetron_src_0.1.4.9.tar.gz 645743 +MD5 3c5d04af52eb296cdeb2fba5ecbd8899 moviesounds_fq.zip 2182021 +MD5 e2d40309dde7e1339ca6aff7599cdfa3 moviepack.zip 352253 +MD5 008bd26c244d2026d2be7658a8059ba1 Omikron.ttf 31832 diff --git a/games-action/armagetron/files/digest-armagetron-0.2.4-r1 b/games-action/armagetron/files/digest-armagetron-0.2.4-r1 new file mode 100644 index 000000000000..f5c6c8b401b1 --- /dev/null +++ b/games-action/armagetron/files/digest-armagetron-0.2.4-r1 @@ -0,0 +1,4 @@ +MD5 96d2388100c31ef915f48af19f275de1 armagetron-0.2.4.tar.bz2 1012151 +MD5 3c5d04af52eb296cdeb2fba5ecbd8899 moviesounds_fq.zip 2182021 +MD5 e2d40309dde7e1339ca6aff7599cdfa3 moviepack.zip 352253 +MD5 008bd26c244d2026d2be7658a8059ba1 Omikron.ttf 31832 diff --git a/games-action/armagetron/files/digest-armagetron-0.2.5.1 b/games-action/armagetron/files/digest-armagetron-0.2.5.1 new file mode 100644 index 000000000000..36eafb276393 --- /dev/null +++ b/games-action/armagetron/files/digest-armagetron-0.2.5.1 @@ -0,0 +1,4 @@ +MD5 99c1a776691362108911bbd67e4a27c8 armagetron-0.2.5.1.tar.bz2 1027602 +MD5 3c5d04af52eb296cdeb2fba5ecbd8899 moviesounds_fq.zip 2182021 +MD5 e2d40309dde7e1339ca6aff7599cdfa3 moviepack.zip 352253 +MD5 008bd26c244d2026d2be7658a8059ba1 Omikron.ttf 31832 diff --git a/games-action/armagetron/metadata.xml b/games-action/armagetron/metadata.xml new file mode 100644 index 000000000000..7ccf843d1c93 --- /dev/null +++ b/games-action/armagetron/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> + <email>luke-jr@gentoo.org</email> + <name>Luke-Jr</name> +</maintainer> +<longdescription>ArmageTRON is a 3D light cycle game featuring the ability to play against others online</longdescription> +</pkgmetadata> |