From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-strategy/glest: ChangeLog glest-2.0.1.ebuild |
Date: | Wed, 26 Sep 2007 22:28:08 |
Message-Id: | E1Iaeqw-0004vE-V7@stork.gentoo.org |
1 | tupone 07/09/26 21:55:30 |
2 | |
3 | Modified: ChangeLog |
4 | Added: glest-2.0.1.ebuild |
5 | Log: |
6 | Version bump to 2.0.1 Bug #191636 |
7 | (Portage version: 2.1.3.9) |
8 | |
9 | Revision Changes Path |
10 | 1.16 games-strategy/glest/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/glest/ChangeLog?rev=1.16&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/glest/ChangeLog?rev=1.16&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/glest/ChangeLog?r1=1.15&r2=1.16 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v |
19 | retrieving revision 1.15 |
20 | retrieving revision 1.16 |
21 | diff -u -r1.15 -r1.16 |
22 | --- ChangeLog 27 Jun 2007 18:04:35 -0000 1.15 |
23 | +++ ChangeLog 26 Sep 2007 21:55:30 -0000 1.16 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for games-strategy/glest |
26 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v 1.15 2007/06/27 18:04:35 nyhm Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v 1.16 2007/09/26 21:55:30 tupone Exp $ |
29 | + |
30 | +*glest-2.0.1 (26 Sep 2007) |
31 | + |
32 | + 26 Sep 2007; Tupone Alfredo <tupone@g.o> |
33 | + +files/glest-2.0.1-home.patch, +glest-2.0.1.ebuild: |
34 | + Version bump to 2.0.1 Bug #191636 by Greg Fitzgerald |
35 | |
36 | 27 Jun 2007; Tristan Heaven <nyhm@g.o> glest-2.0.0-r1.ebuild: |
37 | Don't rely on LINGUAS being set |
38 | |
39 | |
40 | |
41 | 1.1 games-strategy/glest/glest-2.0.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/glest/glest-2.0.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/glest/glest-2.0.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: glest-2.0.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2007 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/glest-2.0.1.ebuild,v 1.1 2007/09/26 21:55:30 tupone Exp $ |
51 | |
52 | inherit autotools eutils games |
53 | |
54 | L_URI="http://www.glest.org/files/contrib/translations" |
55 | DESCRIPTION="Cross-platform 3D realtime strategy game" |
56 | HOMEPAGE="http://www.glest.org/" |
57 | SRC_URI="mirror://sourceforge/${PN}/${PN}_source_${PV}.zip |
58 | mirror://sourceforge/${PN}/${PN}_data_${PV}.zip |
59 | linguas_de? ( ${L_URI}/deutsch_${PV}.zip ) |
60 | linguas_hu? ( ${L_URI}/magyar_${PV}.zip )" |
61 | |
62 | LICENSE="GPL-2 glest-data" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 -ppc ~x86" # ppc: bug #145478 |
65 | IUSE="linguas_de linguas_hu" |
66 | |
67 | RDEPEND="media-libs/libsdl |
68 | media-libs/libogg |
69 | media-libs/libvorbis |
70 | media-libs/openal |
71 | dev-libs/xerces-c |
72 | virtual/opengl |
73 | virtual/glu |
74 | x11-libs/libX11 |
75 | x11-libs/libXt |
76 | media-fonts/font-adobe-utopia-75dpi" |
77 | DEPEND="${RDEPEND} |
78 | app-arch/unzip |
79 | dev-util/jam" |
80 | |
81 | S=${WORKDIR}/mk/linux |
82 | |
83 | GAMES_USE_SDL="nojoystick" |
84 | |
85 | src_unpack() { |
86 | unpack ${A} |
87 | |
88 | local file |
89 | for file in $(find source mk -type f) ; do |
90 | edos2unix "${file}" |
91 | done |
92 | |
93 | epatch \ |
94 | "${FILESDIR}"/${P}-home.patch |
95 | |
96 | sed -i \ |
97 | -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \ |
98 | source/glest_game/main/main.cpp \ |
99 | || die "sed main.cpp failed" |
100 | |
101 | cd "${S}" |
102 | # sometimes they package configure, sometimes they don't |
103 | if [[ ! -f configure ]] ; then |
104 | chmod a+x autogen.sh |
105 | ./autogen.sh || die "autogen failed" # FIXME: use autotools.eclass |
106 | fi |
107 | |
108 | sed -i 's:-O3 -g3::' Jamrules || die "sed Jamrules failed" |
109 | } |
110 | |
111 | src_compile() { |
112 | # Fails with wx enabled, bug #130011 |
113 | egamesconf \ |
114 | --with-vorbis=/usr \ |
115 | --with-ogg=/usr \ |
116 | --with-wx-config=disabled_wx \ |
117 | || die |
118 | jam -q || die "jam failed" |
119 | } |
120 | |
121 | src_install() { |
122 | dogamesbin glest || die "dogamesbin failed" |
123 | |
124 | insinto "${GAMES_DATADIR}"/${PN} |
125 | doins glest.ini || die "doins glest.ini failed" |
126 | dodoc ../../docs/README.linux |
127 | |
128 | cd "${WORKDIR}"/glest_game |
129 | doins -r data maps scenarios techs tilesets || die "doins data failed" |
130 | dodoc docs/readme.txt |
131 | |
132 | make_desktop_entry glest Glest /usr/share/pixmaps/${PN}.bmp |
133 | newicon techs/magitech/factions/magic/units/archmage/images/archmage.bmp \ |
134 | ${PN}.bmp |
135 | |
136 | dolang() { |
137 | insinto "${GAMES_DATADIR}"/${PN}/data/lang |
138 | doins "${WORKDIR}"/${1} || die "doins ${1} failed" |
139 | } |
140 | |
141 | use linguas_de && dolang deutsch.lng |
142 | use linguas_hu && dolang magyar_${PV}.lng |
143 | |
144 | prepgamesdirs |
145 | } |
146 | |
147 | |
148 | |
149 | -- |
150 | gentoo-commits@g.o mailing list |