summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-09-04 23:05:40 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-09-04 23:05:40 +0000
commitfda4d9adda802daf96f86ca19cb940a921bc3fcf (patch)
tree451cad207a25c405e53f59c118d6f2879c7f95ee /games-fps
parentVersion bump, bug #229667 (diff)
downloadgentoo-2-fda4d9adda802daf96f86ca19cb940a921bc3fcf.tar.gz
gentoo-2-fda4d9adda802daf96f86ca19cb940a921bc3fcf.tar.bz2
gentoo-2-fda4d9adda802daf96f86ca19cb940a921bc3fcf.zip
rm
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/alephone/alephone-20071103.ebuild73
-rw-r--r--games-fps/alephone/files/alephone-20071103-speex.patch12
2 files changed, 0 insertions, 85 deletions
diff --git a/games-fps/alephone/alephone-20071103.ebuild b/games-fps/alephone/alephone-20071103.ebuild
deleted file mode 100644
index b28e16454099..000000000000
--- a/games-fps/alephone/alephone-20071103.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/alephone-20071103.ebuild,v 1.2 2008/06/24 21:11:43 mr_bones_ Exp $
-
-inherit autotools eutils games
-
-DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon"
-HOMEPAGE="http://source.bungie.org/"
-SRC_URI="mirror://sourceforge/marathon/AlephOne-${PV}-nolibs.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="lua mad opengl smpeg sndfile speex vorbis"
-
-RDEPEND="opengl? ( virtual/opengl )
- speex? ( media-libs/speex )
- mad? ( media-libs/libmad )
- vorbis? ( media-libs/libvorbis )
- sndfile? ( media-libs/libsndfile )
- smpeg? ( media-libs/smpeg )
- media-libs/sdl-net
- media-libs/sdl-image
- media-libs/libsdl
- media-libs/alsa-lib"
-DEPEND="${RDEPEND}
- dev-libs/boost"
-
-S=${WORKDIR}/AlephOne-${PV}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed "s:GAMES_DATADIR:${GAMES_DATADIR}:g" \
- "${FILESDIR}"/${PN}.sh > "${T}"/${PN}.sh \
- || die "sed failed"
- epatch "${FILESDIR}/${P}-speex.patch"
- eautoreconf
-}
-
-src_compile() {
- egamesconf \
- --disable-dependency-tracking \
- $(use_enable lua) \
- $(use_enable mad) \
- $(use_enable opengl) \
- $(use_enable smpeg) \
- $(use_enable sndfile) \
- $(use_enable speex) \
- $(use_enable vorbis) \
- || die
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dogamesbin "${T}"/${PN}.sh || die "dogamesbin failed"
- dodoc AUTHORS ChangeLog README docs/Cheat_Codes
- dohtml docs/MML.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
-}
diff --git a/games-fps/alephone/files/alephone-20071103-speex.patch b/games-fps/alephone/files/alephone-20071103-speex.patch
deleted file mode 100644
index 7f9ec8c94142..000000000000
--- a/games-fps/alephone/files/alephone-20071103-speex.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- configure.ac 2007/12/02 04:13:53 1.56
-+++ configure.ac 2008/01/30 03:56:31 1.57
-@@ -163,6 +163,9 @@
- LIBS="-lspeex $LIBS"
- AC_DEFINE(SPEEX, 1, [Speex support is enabled])
- ])
-+ AC_CHECK_LIB(speexdsp, speex_preprocess_state_init, [
-+ LIBS="-lspeexdsp $LIBS"
-+])
- ])
- fi
-