diff options
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/trigger/ChangeLog | 11 | ||||
-rw-r--r-- | games-sports/trigger/Manifest | 16 | ||||
-rw-r--r-- | games-sports/trigger/files/digest-trigger-0.5.2 | 2 | ||||
-rw-r--r-- | games-sports/trigger/trigger-0.5.2.ebuild | 69 |
4 files changed, 84 insertions, 14 deletions
diff --git a/games-sports/trigger/ChangeLog b/games-sports/trigger/ChangeLog index c0a905e1e289..e51ebd27d433 100644 --- a/games-sports/trigger/ChangeLog +++ b/games-sports/trigger/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-sports/trigger -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/trigger/ChangeLog,v 1.7 2005/07/30 05:48:28 vapier Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/trigger/ChangeLog,v 1.8 2006/01/14 22:18:45 mr_bones_ Exp $ + +*trigger-0.5.2 (14 Jan 2006) + + 14 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org> + +trigger-0.5.2.ebuild: + version bump (bug #118909) - patches from Jasmine Langridge and Stefan + Schweizer 30 Jul 2005; Mike Frysinger <vapier@gentoo.org> +files/trigger-0.5.1c-glx-check.patch, trigger-0.5.1c.ebuild: diff --git a/games-sports/trigger/Manifest b/games-sports/trigger/Manifest index e19b5a9bc6d3..0a8f53625ca6 100644 --- a/games-sports/trigger/Manifest +++ b/games-sports/trigger/Manifest @@ -1,15 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 336c4b59fb55032317d71c5c05f80571 trigger-0.5.1c.ebuild 1389 MD5 22912a8b6736c76adf016c8d33c52bbe ChangeLog 1180 MD5 e39a2359502dafc730380be78246173f files/digest-trigger-0.5.1c 144 +MD5 066eb7ae9669a876eb928cfad337905e files/digest-trigger-0.5.2 142 MD5 fab012ed7b17d5eeb472e71a6c9c7c06 files/trigger-0.5.1c-glx-check.patch 590 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFC7Hi9gIKl8Uu19MoRAjyuAJ4hpENqUnV0Xt+wIVqJgDbDP83vogCcDl+7 -+cQkGVx+NigwItpbB6YzJxw= -=7nuf ------END PGP SIGNATURE----- +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 336c4b59fb55032317d71c5c05f80571 trigger-0.5.1c.ebuild 1389 +MD5 151f88b75e80eb771adcd943b2843b7f trigger-0.5.2.ebuild 1476 diff --git a/games-sports/trigger/files/digest-trigger-0.5.2 b/games-sports/trigger/files/digest-trigger-0.5.2 new file mode 100644 index 000000000000..2283801835f1 --- /dev/null +++ b/games-sports/trigger/files/digest-trigger-0.5.2 @@ -0,0 +1,2 @@ +MD5 3e2bbed3438eb0c44315947b7e042b2f trigger-0.5.2-data.tar.bz2 6189856 +MD5 a2d8597931002e3f32d0bb3edaccc107 trigger-0.5.2-src.tar.bz2 334659 diff --git a/games-sports/trigger/trigger-0.5.2.ebuild b/games-sports/trigger/trigger-0.5.2.ebuild new file mode 100644 index 000000000000..9b8b9450be03 --- /dev/null +++ b/games-sports/trigger/trigger-0.5.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/trigger/trigger-0.5.2.ebuild,v 1.1 2006/01/14 22:18:45 mr_bones_ Exp $ + +inherit eutils games + +DESCRIPTION="Free OpenGL rally car racing game" +HOMEPAGE="http://www.positro.net/trigger/" +SRC_URI="http://files.scapecaster.com/posit/${P}-src.tar.bz2 + http://files.scapecaster.com/posit/${P}-data.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc x86" +IUSE="" + +RDEPEND="virtual/opengl + || ( + ( x11-libs/libX11 ) + virtual/x11 ) + virtual/opengl + >=media-libs/libsdl-1.2.5 + >=media-libs/sdl-image-1.2 + media-libs/sdl-mixer + media-libs/openal + dev-games/physfs" +DEPEND="${RDEPEND} + || ( + ( x11-libs/libXt + x11-proto/xproto ) + virtual/x11 + ) + dev-util/jam" + +S=${WORKDIR}/${P}-src + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e 's:#include <GL/glew.h>:#include "glew.h":' \ + -e 's:include <GL/glxew.h>:include "glxew.h":' \ + src/glew/glew.cpp \ + src/glew/GL/glxew.h \ + || die "sed failed" +} + +src_compile() { + egamesconf --datadir="${GAMES_DATADIR}/${PN}" || die + jam || die "jam failed" +} + +src_install() { + dogamesbin trigger || die "dogamesbin failed" + + cd ../${P}-data + insinto "${GAMES_DATADIR}/${PN}" + doins -r events maps plugins sounds textures vehicles trigger.config.defs + + dodoc README.txt README-stereo.txt + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + einfo "After running ${PN} for the first time, a config file is" + einfo "available in ~/.trigger/trigger.config" + echo +} |