summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-09-06 22:19:45 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-09-06 22:19:45 +0000
commit975ee1403de038b9d6336105aa3ad46ded981190 (patch)
tree0657a2c75896ae151963fb5f485804f215d900e3 /games-fps
parentInitial import. Original ebuild by Paul Bredbury <brebs@sent.com>. Edited b... (diff)
downloadgentoo-2-975ee1403de038b9d6336105aa3ad46ded981190.tar.gz
gentoo-2-975ee1403de038b9d6336105aa3ad46ded981190.tar.bz2
gentoo-2-975ee1403de038b9d6336105aa3ad46ded981190.zip
Initial import. Original ebuild by Paul Bredbury <brebs@sent.com>. Edited by Tristan Heaven <tristanheaven@gmail.com>. Closing bug #128370.
(Portage version: 2.1.1_rc1-r1)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/tremulous/ChangeLog11
-rw-r--r--games-fps/tremulous/Manifest16
-rw-r--r--games-fps/tremulous/files/digest-tremulous-1.1.03
-rw-r--r--games-fps/tremulous/metadata.xml5
-rw-r--r--games-fps/tremulous/tremulous-1.1.0.ebuild96
5 files changed, 131 insertions, 0 deletions
diff --git a/games-fps/tremulous/ChangeLog b/games-fps/tremulous/ChangeLog
new file mode 100644
index 000000000000..5189a6260803
--- /dev/null
+++ b/games-fps/tremulous/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-fps/tremulous
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/tremulous/ChangeLog,v 1.1 2006/09/06 22:19:45 wolf31o2 Exp $
+
+*tremulous-1.1.0 (06 Sep 2006)
+
+ 06 Sep 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +tremulous-1.1.0.ebuild:
+ Initial import. Original ebuild by Paul Bredbury <brebs@sent.com>. Edited by
+ Tristan Heaven <tristanheaven@gmail.com>. Closing bug #128370.
+
diff --git a/games-fps/tremulous/Manifest b/games-fps/tremulous/Manifest
new file mode 100644
index 000000000000..dd8bfdda2b04
--- /dev/null
+++ b/games-fps/tremulous/Manifest
@@ -0,0 +1,16 @@
+DIST tremulous-1.1.0.zip 105821907 RMD160 36d25fee8ee6b348b1045ab027ab6733aef77a1d SHA1 39d820cc50eda1eff58917158bb0ec68b62f633c SHA256 c7bb66f55abc88932edee16c253e5d37f90dded2ce29cf6cb15ad4f78e378987
+EBUILD tremulous-1.1.0.ebuild 2087 RMD160 7a346f758cb6bb2fa9e02fec4fbc7b48edd7871b SHA1 6b174c81750607eb4dd4493e8ec139868b0164cb SHA256 e72d0453737247e24150fac0a001a1dd364d8fdb830631060980a0663bebb981
+MD5 5b4ddc2389d26f336e534472067357fb tremulous-1.1.0.ebuild 2087
+RMD160 7a346f758cb6bb2fa9e02fec4fbc7b48edd7871b tremulous-1.1.0.ebuild 2087
+SHA256 e72d0453737247e24150fac0a001a1dd364d8fdb830631060980a0663bebb981 tremulous-1.1.0.ebuild 2087
+MISC ChangeLog 393 RMD160 d1cbff980f6d822f2db4d803f77f37255faef7b3 SHA1 774f63e2c3ce1be4e7de55b3d7bdc9bc2c8b4eee SHA256 f968206a4abacde085823eb11986a4afb785a5b65faa22033d808d8d8ed30f2c
+MD5 d0484eb0958f175c908db8938932df3f ChangeLog 393
+RMD160 d1cbff980f6d822f2db4d803f77f37255faef7b3 ChangeLog 393
+SHA256 f968206a4abacde085823eb11986a4afb785a5b65faa22033d808d8d8ed30f2c ChangeLog 393
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 b20f67e86d7888db5aad44273ae6532a files/digest-tremulous-1.1.0 247
+RMD160 5f606ea66d8584939f64cbcd3e2439cd74d887ac files/digest-tremulous-1.1.0 247
+SHA256 e72fd29e6a2a877b17769e96c97b780f761acaf68876b9047e0f3b69e52e8bb2 files/digest-tremulous-1.1.0 247
diff --git a/games-fps/tremulous/files/digest-tremulous-1.1.0 b/games-fps/tremulous/files/digest-tremulous-1.1.0
new file mode 100644
index 000000000000..624ad9d6eb07
--- /dev/null
+++ b/games-fps/tremulous/files/digest-tremulous-1.1.0
@@ -0,0 +1,3 @@
+MD5 3df5f7565571fb9524656308347bce1b tremulous-1.1.0.zip 105821907
+RMD160 36d25fee8ee6b348b1045ab027ab6733aef77a1d tremulous-1.1.0.zip 105821907
+SHA256 c7bb66f55abc88932edee16c253e5d37f90dded2ce29cf6cb15ad4f78e378987 tremulous-1.1.0.zip 105821907
diff --git a/games-fps/tremulous/metadata.xml b/games-fps/tremulous/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-fps/tremulous/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-fps/tremulous/tremulous-1.1.0.ebuild b/games-fps/tremulous/tremulous-1.1.0.ebuild
new file mode 100644
index 000000000000..2f68f05c3913
--- /dev/null
+++ b/games-fps/tremulous/tremulous-1.1.0.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/tremulous/tremulous-1.1.0.ebuild,v 1.1 2006/09/06 22:19:45 wolf31o2 Exp $
+
+inherit eutils toolchain-funcs games
+
+DESCRIPTION="Team-based aliens vs humans FPS with buildable structures"
+HOMEPAGE="http://tremulous.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.zip
+ http://0day.icculus.org/mirrors/${PN}/${P}.zip
+ ftp://ftp.wireplay.co.uk/pub/quake3arena/mods/${PN}/${P}.zip"
+
+LICENSE="GPL-2
+ CCPL-Attribution-ShareAlike-2.5"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated openal opengl vorbis"
+
+UIDEPEND="openal? ( media-libs/openal )
+ media-libs/libsdl
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis )
+ virtual/opengl
+ || ( (
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext )
+ virtual/x11 )"
+RDEPEND="opengl? ( ${UIDEPEND} )
+ !opengl? ( !dedicated? ( ${UIDEPEND} ) )
+ !games-fps/tremulous-bin"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${PN}/${P}-src
+
+pkg_setup() {
+ games_pkg_setup
+
+ if use amd64 ; then
+ ewarn "emerge games-fps/tremulous-bin instead for better performance."
+ echo
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${PN}
+
+ unpack ./${P}-src.tar.gz
+}
+
+src_compile() {
+ buildit() { use $1 && echo 1 || echo 0 ; }
+
+ local build_client=1
+ if use dedicated && ! use opengl ; then
+ build_client=0
+ fi
+
+ emake \
+ BUILD_CLIENT=${build_client} \
+ BUILD_SERVER=$(buildit dedicated) \
+ CC="$(tc-getCC)" \
+ DEFAULT_BASEDIR="${GAMES_DATADIR}/${PN}" \
+ USE_CODEC_VORBIS=$(buildit vorbis) \
+ USE_OPENAL=$(buildit openal) \
+ USE_LOCAL_HEADERS=0 \
+ OPTIMIZE= \
+ || die "emake failed"
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r ../base || die "doins -r failed"
+
+ dodoc ChangeLog ../manual.pdf
+
+ local bindir=build/release-linux-${ARCH}
+
+ if use opengl || ! use dedicated ; then
+ newgamesbin ${bindir}/${PN}.${ARCH} ${PN} \
+ || die "newgamesbin client failed"
+ doicon misc/${PN}.xpm
+ make_desktop_entry ${PN} Tremulous ${PN}.xpm
+ fi
+
+ if use dedicated ; then
+ newgamesbin ${bindir}/tremded.${ARCH} ${PN}-ded \
+ || die "newgamesbin ded failed"
+ fi
+
+ prepgamesdirs
+}