Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-fps/alephone: ChangeLog alephone-20071103.ebuild
Date: Mon, 04 Feb 2008 22:32:33
Message-Id: E1JM9rZ-00073c-OD@stork.gentoo.org
1 mr_bones_ 08/02/04 22:32:29
2
3 Modified: ChangeLog
4 Added: alephone-20071103.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.21 games-fps/alephone/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alephone/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alephone/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alephone/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 31 Aug 2007 16:09:32 -0000 1.20
23 +++ ChangeLog 4 Feb 2008 22:32:29 -0000 1.21
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-fps/alephone
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.20 2007/08/31 16:09:32 tupone Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.21 2008/02/04 22:32:29 mr_bones_ Exp $
30 +
31 +*alephone-20071103 (04 Feb 2008)
32 +
33 + 04 Feb 2008; Michael Sterrett <mr_bones_@g.o>
34 + +alephone-20071103.ebuild:
35 + version bump
36
37 *alephone-20070819 (31 Aug 2007)
38
39
40
41
42 1.1 games-fps/alephone/alephone-20071103.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alephone/alephone-20071103.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alephone/alephone-20071103.ebuild?rev=1.1&content-type=text/plain
46
47 Index: alephone-20071103.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/alephone-20071103.ebuild,v 1.1 2008/02/04 22:32:29 mr_bones_ Exp $
52
53 inherit autotools eutils games
54
55 DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon"
56 HOMEPAGE="http://source.bungie.org/"
57 SRC_URI="mirror://sourceforge/marathon/AlephOne-${PV}-nolibs.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc64 ~x86"
62 IUSE="lua mad opengl smpeg sndfile speex vorbis"
63
64 RDEPEND="opengl? ( virtual/opengl )
65 speex? ( media-libs/speex )
66 mad? ( media-libs/libmad )
67 vorbis? ( media-libs/libvorbis )
68 sndfile? ( media-libs/libsndfile )
69 smpeg? ( media-libs/smpeg )
70 media-libs/sdl-net
71 media-libs/sdl-image
72 media-libs/libsdl
73 media-libs/alsa-lib"
74 DEPEND="${RDEPEND}
75 dev-libs/boost"
76
77 S=${WORKDIR}/AlephOne-${PV}
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82 sed "s:GAMES_DATADIR:${GAMES_DATADIR}:g" \
83 "${FILESDIR}"/${PN}.sh > "${T}"/${PN}.sh \
84 || die "sed failed"
85 }
86
87 src_compile() {
88 egamesconf \
89 --disable-dependency-tracking \
90 $(use_enable lua) \
91 $(use_enable mad) \
92 $(use_enable opengl) \
93 $(use_enable smpeg) \
94 $(use_enable sndfile) \
95 $(use_enable speex) \
96 $(use_enable vorbis) \
97 || die
98 emake || die "emake failed"
99 }
100
101 src_install() {
102 emake DESTDIR="${D}" install || die "emake install failed"
103 dogamesbin "${T}"/${PN}.sh || die "dogamesbin failed"
104 dodoc AUTHORS ChangeLog README docs/Cheat_Codes
105 dohtml docs/MML.html
106 prepgamesdirs
107 }
108
109 pkg_postinst() {
110 games_pkg_postinst
111 echo
112 elog "Read the docs and install the data files accordingly to play."
113 echo
114 elog "If you only want to install one scenario, read"
115 elog "http://traxus.jjaro.net/traxus/AlephOne:Install_Guide#Single_scenario_3"
116 elog "If you want to install multiple scenarios, read"
117 elog "http://traxus.jjaro.net/traxus/AlephOne:Install_Guide#Multiple_scenarios_3"
118 echo
119 }
120
121
122
123 --
124 gentoo-commits@l.g.o mailing list