summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-03-04 21:25:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-03-04 21:25:35 +0000
commitda570861b21c7a70ae97571f96df834225b0d7d6 (patch)
treea53300f31734be8e0b1a5399b4dde500a69f6b1c /games-fps/alephone
parentAdding gnome herd per discussion with nirbheek and gilles (diff)
downloadhistorical-da570861b21c7a70ae97571f96df834225b0d7d6.tar.gz
historical-da570861b21c7a70ae97571f96df834225b0d7d6.tar.bz2
historical-da570861b21c7a70ae97571f96df834225b0d7d6.zip
version bump
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'games-fps/alephone')
-rw-r--r--games-fps/alephone/ChangeLog10
-rw-r--r--games-fps/alephone/Manifest4
-rw-r--r--games-fps/alephone/alephone-20081226.ebuild88
3 files changed, 99 insertions, 3 deletions
diff --git a/games-fps/alephone/ChangeLog b/games-fps/alephone/ChangeLog
index 39032143a877..b60011f4cc7d 100644
--- a/games-fps/alephone/ChangeLog
+++ b/games-fps/alephone/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-fps/alephone
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.25 2008/12/05 10:08:13 armin76 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.26 2009/03/04 21:25:35 mr_bones_ Exp $
+
+*alephone-20081226 (04 Mar 2009)
+
+ 04 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +alephone-20081226.ebuild:
+ version bump
05 Dec 2008; Raúl Porcel <armin76@gentoo.org> alephone-20080721.ebuild:
x86 stable wrt #239738
diff --git a/games-fps/alephone/Manifest b/games-fps/alephone/Manifest
index 7a8f5b1a7d17..ba0a2124b0ed 100644
--- a/games-fps/alephone/Manifest
+++ b/games-fps/alephone/Manifest
@@ -1,5 +1,7 @@
AUX alephone.sh 442 RMD160 f5bf19e2752d356e51fa886dbad9fedfe12f9d34 SHA1 317ab6a122227e30cd1d508e3957e27b8cafa9bd SHA256 03d4eaec18bed5fd909604ff7efbcf4ba737a2cc76ca80161bdcb4bdf527d8b9
DIST AlephOne-20080721.tar.bz2 3025203 RMD160 91da81bec528e1006f14cf19ce8fab89c639131d SHA1 90fb2d4d4cb436f903e50e371216ee7c285554d3 SHA256 8a03b72c947e00606318b0c52d117f87352915b5f6feb926ba046a276b87b6eb
+DIST AlephOne-20081226.tar.bz2 3002611 RMD160 466639122a0507fa228a243c2e63681c3ca397ed SHA1 2a40e1079c9a148979fbb431e64f633d81faecf0 SHA256 6b752593bc97515be8ef3dce1a83d700c6bdffea1bb24496c1a5ba7f935e1576
EBUILD alephone-20080721.ebuild 2036 RMD160 f10c72ebd7edfbb068f321421986779aa448baba SHA1 c44db57e30c51809efe6edf117ca47c6e53883ff SHA256 eb3470cfbfd9072b44b2ed0b010be6a91907bea08cb1c387adb7501c6b3ae9b1
-MISC ChangeLog 3830 RMD160 da779714a09de881dd94553cabed2e08e7f4f8fe SHA1 6330f5e0a8357a444916b22d5cc46370233c15ef SHA256 bce1f0a0388181d39c61438373040b998e8301f2e72adc8552d11bc077e95fc8
+EBUILD alephone-20081226.ebuild 2307 RMD160 5dd3517b893dbac2130bfdc80cbe5c52cf108f5c SHA1 cc3a354ba4eb1fac5018757afa25822fee0f968f SHA256 401bafc7fc0df506f64192fef7a8f8ade1b0d9588516a768252f473a8745289e
+MISC ChangeLog 3966 RMD160 57bf2944f9616b6d623ad62d17df036d76b110d4 SHA1 7c0bb0e07a313b3c4dc34dc83c004871a58ab6f4 SHA256 3a02820a79dd97ce5cb43819f3879d68ee05a90c8d769911b9a92354db4e8fec
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-fps/alephone/alephone-20081226.ebuild b/games-fps/alephone/alephone-20081226.ebuild
new file mode 100644
index 000000000000..2e3cd175b475
--- /dev/null
+++ b/games-fps/alephone/alephone-20081226.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/alephone-20081226.ebuild,v 1.1 2009/03/04 21:25:35 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools games
+
+MY_P=AlephOne-${PV}
+DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon"
+HOMEPAGE="http://source.bungie.org/"
+SRC_URI="mirror://sourceforge/marathon/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 BitstreamVera"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="alsa mad mpeg opengl sndfile speex truetype vorbis"
+
+RDEPEND="media-libs/sdl-net
+ media-libs/sdl-image
+ media-libs/libsdl
+ dev-libs/expat
+ alsa? ( media-libs/alsa-lib )
+ mad? ( media-libs/libmad )
+ mpeg? ( media-libs/smpeg )
+ opengl? ( virtual/opengl )
+ sndfile? ( media-libs/libsndfile )
+ speex? ( media-libs/speex )
+ truetype? ( media-libs/sdl-ttf )
+ vorbis? ( media-libs/libvorbis )"
+DEPEND="${RDEPEND}
+ dev-libs/boost"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed "s:GAMES_DATADIR:${GAMES_DATADIR}:g" \
+ "${FILESDIR}"/${PN}.sh > "${T}"/${PN}.sh \
+ || die "sed failed"
+
+ # try using the system expat - bug #251108
+ sed -i \
+ -e '/SUBDIRS/ s/Expat//' \
+ -e 's/Expat\/libexpat.a/-lexpat/' \
+ Source_Files/Makefile.am \
+ || die "sed failed"
+ sed -i \
+ -e '/Expat/d' \
+ configure.ac \
+ || die "sed failed"
+ rm -rf Source_Files/Expat
+
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --enable-lua \
+ $(use_enable alsa) \
+ $(use_enable mad) \
+ $(use_enable mpeg smpeg) \
+ $(use_enable opengl) \
+ $(use_enable sndfile) \
+ $(use_enable speex) \
+ $(use_enable truetype ttf) \
+ $(use_enable vorbis)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dogamesbin "${T}"/${PN}.sh || die "dogamesbin failed"
+ doman docs/${PN}.6
+ dodoc AUTHORS ChangeLog README
+ dohtml docs/*.html
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ elog "Read the docs and install the data files accordingly to play."
+ echo
+ elog "If you only want to install one scenario, read"
+ elog "http://traxus.jjaro.net/traxus/AlephOne:Install_Guide#Single_scenario_3"
+ elog "If you want to install multiple scenarios, read"
+ elog "http://traxus.jjaro.net/traxus/AlephOne:Install_Guide#Multiple_scenarios_3"
+ echo
+}