diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-04-08 02:15:13 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-04-08 02:15:13 +0000 |
commit | a94e7fe644f4a99772c3ae8430c7993a09d8153f (patch) | |
tree | dd66321faa43f5ac848211df7637d78286efe904 /games-fps | |
parent | Stable for HPPA (bug #214270). (diff) | |
download | gentoo-2-a94e7fe644f4a99772c3ae8430c7993a09d8153f.tar.gz gentoo-2-a94e7fe644f4a99772c3ae8430c7993a09d8153f.tar.bz2 gentoo-2-a94e7fe644f4a99772c3ae8430c7993a09d8153f.zip |
old
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/alephone/alephone-20070819.ebuild | 73 | ||||
-rw-r--r-- | games-fps/alephone/files/alephone-20070819-configure.patch | 44 |
2 files changed, 0 insertions, 117 deletions
diff --git a/games-fps/alephone/alephone-20070819.ebuild b/games-fps/alephone/alephone-20070819.ebuild deleted file mode 100644 index 16a00bf23ad4..000000000000 --- a/games-fps/alephone/alephone-20070819.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/alephone-20070819.ebuild,v 1.1 2007/08/31 16:09:32 tupone 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}-configure.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-20070819-configure.patch b/games-fps/alephone/files/alephone-20070819-configure.patch deleted file mode 100644 index 1fc1a9b602cf..000000000000 --- a/games-fps/alephone/files/alephone-20070819-configure.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- configure.ac.old 2007-08-31 02:12:32.000000000 +0200 -+++ configure.ac 2007-08-31 02:17:50.000000000 +0200 -@@ -19,6 +19,8 @@ - AC_ARG_ENABLE(sndfile, [ --enable-sndfile use libsndfile for decoding audio files [default=yes]], , enable_sndfile=yes) - AC_ARG_ENABLE(vorbis, [ --enable-vorbis enable ogg/vorbis music playback [default=yes]], , enable_vorbis=yes) - AC_ARG_ENABLE(lua, [ --enable-lua use built-in Lua scripting [default=yes]], , enable_lua=yes) -+AC_ARG_ENABLE(speex, , , enable_speex=yes) -+AC_ARG_ENABLE(smpeg, , , enable_smpeg=yes) - - dnl Checks for programs. - AC_PROG_CC -@@ -87,6 +88,7 @@ - AC_CHECK_HEADER([boost/function.hpp], , [AC_MSG_ERROR([You need boost/function.hpp from the boost library to run Aleph One])]) - AC_LANG_POP(C++) - -+if [[ "x$enable_smpeg" = "xyes" ]]; then - dnl Check for SMPEG - AC_CHECK_HEADERS([smpeg/smpeg.h], [ - AC_CHECK_LIB(smpeg, SMPEG_new, [ -@@ -94,6 +96,7 @@ - AC_DEFINE(HAVE_SMPEG, 1, [SMPEG movie playback is enabled]) - ]) - ]) -+fi - - if [[ "x$enable_mad" = "xyes" ]]; then - dnl Check for libmad -@@ -128,13 +129,16 @@ - AC_DEFINE(HAVE_LUA, 1, [Lua support is enabled]) - fi - -+if [[ "x$enable_speex" = "xyes" ]]; then - dnl Check for Speex -+CPPFLAGS="$CPPFLAGS -I/usr/include/speex" - AC_CHECK_HEADERS(speex/speex.h, [ - AC_CHECK_LIB(speex, speex_decoder_init, [ - LIBS="-lspeex $LIBS" - AC_DEFINE(SPEEX, 1, [Speex support is enabled]) - ]) - ]) -+fi - - dnl Check for ALSA - AC_CHECK_HEADERS([alsa/asoundlib.h], [ |