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-20091015.ebuild |
Date: | Mon, 02 Nov 2009 18:05:24 |
Message-Id: | E1N51HO-0001vS-99@stork.gentoo.org |
1 | mr_bones_ 09/11/02 18:05:22 |
2 | |
3 | Modified: ChangeLog |
4 | Added: alephone-20091015.ebuild |
5 | Log: |
6 | version bump |
7 | (Portage version: 2.1.6.13/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.27 games-fps/alephone/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alephone/ChangeLog?rev=1.27&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alephone/ChangeLog?rev=1.27&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alephone/ChangeLog?r1=1.26&r2=1.27 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v |
19 | retrieving revision 1.26 |
20 | retrieving revision 1.27 |
21 | diff -u -r1.26 -r1.27 |
22 | --- ChangeLog 4 Mar 2009 21:25:35 -0000 1.26 |
23 | +++ ChangeLog 2 Nov 2009 18:05:21 -0000 1.27 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for games-fps/alephone |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.26 2009/03/04 21:25:35 mr_bones_ Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.27 2009/11/02 18:05:21 mr_bones_ Exp $ |
29 | + |
30 | +*alephone-20091015 (02 Nov 2009) |
31 | + |
32 | + 02 Nov 2009; Michael Sterrett <mr_bones_@g.o> |
33 | + +alephone-20091015.ebuild: |
34 | + version bump |
35 | |
36 | *alephone-20081226 (04 Mar 2009) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 games-fps/alephone/alephone-20091015.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alephone/alephone-20091015.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alephone/alephone-20091015.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: alephone-20091015.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/alephone-20091015.ebuild,v 1.1 2009/11/02 18:05:21 mr_bones_ Exp $ |
51 | |
52 | EAPI=2 |
53 | inherit autotools games |
54 | |
55 | MY_P=AlephOne-${PV} |
56 | DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon" |
57 | HOMEPAGE="http://source.bungie.org/" |
58 | SRC_URI="mirror://sourceforge/marathon/${MY_P}.tar.bz2" |
59 | |
60 | LICENSE="GPL-2 BitstreamVera" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~ppc64 ~x86" |
63 | IUSE="alsa mad mpeg opengl sndfile speex truetype vorbis" |
64 | |
65 | RDEPEND="media-libs/sdl-net |
66 | media-libs/sdl-image |
67 | media-libs/libsdl |
68 | dev-libs/expat |
69 | alsa? ( media-libs/alsa-lib ) |
70 | mad? ( media-libs/libmad ) |
71 | mpeg? ( media-libs/smpeg ) |
72 | opengl? ( virtual/opengl ) |
73 | sndfile? ( media-libs/libsndfile ) |
74 | speex? ( media-libs/speex ) |
75 | truetype? ( media-libs/sdl-ttf ) |
76 | vorbis? ( media-libs/libvorbis )" |
77 | DEPEND="${RDEPEND} |
78 | dev-libs/boost" |
79 | |
80 | S=${WORKDIR}/${MY_P} |
81 | |
82 | src_prepare() { |
83 | sed "s:GAMES_DATADIR:${GAMES_DATADIR}:g" \ |
84 | "${FILESDIR}"/${PN}.sh > "${T}"/${PN}.sh \ |
85 | || die "sed failed" |
86 | |
87 | # try using the system expat - bug #251108 |
88 | sed -i \ |
89 | -e '/SUBDIRS/ s/Expat//' \ |
90 | -e 's/Expat\/libexpat.a/-lexpat/' \ |
91 | Source_Files/Makefile.am \ |
92 | || die "sed failed" |
93 | sed -i \ |
94 | -e '/Expat/d' \ |
95 | configure.ac \ |
96 | || die "sed failed" |
97 | rm -rf Source_Files/Expat |
98 | |
99 | eautoreconf |
100 | } |
101 | |
102 | src_configure() { |
103 | egamesconf \ |
104 | --disable-dependency-tracking \ |
105 | --enable-lua \ |
106 | $(use_enable alsa) \ |
107 | $(use_enable mad) \ |
108 | $(use_enable mpeg smpeg) \ |
109 | $(use_enable opengl) \ |
110 | $(use_enable sndfile) \ |
111 | $(use_enable speex) \ |
112 | $(use_enable truetype ttf) \ |
113 | $(use_enable vorbis) |
114 | } |
115 | |
116 | src_install() { |
117 | emake DESTDIR="${D}" install || die "emake install failed" |
118 | dogamesbin "${T}"/${PN}.sh || die "dogamesbin failed" |
119 | doman docs/${PN}.6 |
120 | dodoc AUTHORS ChangeLog README |
121 | dohtml docs/*.html |
122 | prepgamesdirs |
123 | } |
124 | |
125 | pkg_postinst() { |
126 | games_pkg_postinst |
127 | echo |
128 | elog "Read the docs and install the data files accordingly to play." |
129 | echo |
130 | elog "If you only want to install one scenario, read" |
131 | elog "http://traxus.bungie.org/index.php/Aleph_One_install_guide#Single_scenario_3" |
132 | elog "If you want to install multiple scenarios, read" |
133 | elog "http://traxus.bungie.org/index.php/Aleph_One_install_guide#Multiple_scenarios_3" |
134 | echo |
135 | } |