1 |
rich0 07/12/29 03:16:05 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: eternal-lands-1.5.0.ebuild |
5 |
Log: |
6 |
Version bump - #201161 |
7 |
(Portage version: 2.1.3.19) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 games-rpg/eternal-lands/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands/metadata.xml?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands/metadata.xml?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands/metadata.xml?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/metadata.xml,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- metadata.xml 2 Oct 2007 08:52:30 -0000 1.3 |
23 |
+++ metadata.xml 29 Dec 2007 03:16:04 -0000 1.4 |
24 |
@@ -2,6 +2,10 @@ |
25 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
26 |
<pkgmetadata> |
27 |
<herd>games</herd> |
28 |
+<maintainer> |
29 |
+ <email>rich0@g.o</email> |
30 |
+ <name>Richard Freeman</name> |
31 |
+</maintainer> |
32 |
<longdescription>Eternal Lands is a FREE MMORPG (massively multiplayer online |
33 |
role playing game)</longdescription> |
34 |
</pkgmetadata> |
35 |
|
36 |
|
37 |
|
38 |
1.35 games-rpg/eternal-lands/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands/ChangeLog?rev=1.35&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands/ChangeLog?rev=1.35&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands/ChangeLog?r1=1.34&r2=1.35 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/ChangeLog,v |
47 |
retrieving revision 1.34 |
48 |
retrieving revision 1.35 |
49 |
diff -u -r1.34 -r1.35 |
50 |
--- ChangeLog 13 May 2007 20:26:01 -0000 1.34 |
51 |
+++ ChangeLog 29 Dec 2007 03:16:04 -0000 1.35 |
52 |
@@ -1,6 +1,12 @@ |
53 |
# ChangeLog for games-rpg/eternal-lands |
54 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/ChangeLog,v 1.34 2007/05/13 20:26:01 uberlord Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/ChangeLog,v 1.35 2007/12/29 03:16:04 rich0 Exp $ |
57 |
+ |
58 |
+*eternal-lands-1.5.0 (29 Dec 2007) |
59 |
+ |
60 |
+ 29 Dec 2007; Richard Freeman <rich0@g.o> metadata.xml, |
61 |
+ +eternal-lands-1.5.0.ebuild: |
62 |
+ Version bump - #201161 |
63 |
|
64 |
13 May 2007; Roy Marples <uberlord@g.o> eternal-lands-1.3.3.ebuild: |
65 |
We only work if cal3d isn't built with 16bit-indicies, #177858 thanks to |
66 |
|
67 |
|
68 |
|
69 |
1.1 games-rpg/eternal-lands/eternal-lands-1.5.0.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.5.0.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.5.0.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: eternal-lands-1.5.0.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2007 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.5.0.ebuild,v 1.1 2007/12/29 03:16:04 rich0 Exp $ |
79 |
|
80 |
inherit eutils flag-o-matic games |
81 |
|
82 |
MY_PV="${PV//_/}" |
83 |
MY_PV="${MY_PV//./}" |
84 |
S="${WORKDIR}/elc" |
85 |
DESCRIPTION="An online MMORPG written in C and SDL" |
86 |
HOMEPAGE="http://www.eternal-lands.com" |
87 |
SRC_URI="mirror://gentoo/elc_${MY_PV}.tar.bz2 |
88 |
mirror://gentoo/eternal-lands.png" |
89 |
|
90 |
# NOTE: Sometimes you'll have to roll your own elc tarball from their CVS |
91 |
# tree as they don't always release one. |
92 |
# If they do then use this in SRC_URI instead |
93 |
# ftp://ftp.berlios.de/pub/elc/elc_${MY_PV}.tgz |
94 |
|
95 |
LICENSE="eternal_lands" |
96 |
SLOT="0" |
97 |
KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
98 |
IUSE="debug doc kernel_linux" |
99 |
|
100 |
RDEPEND="x11-libs/libX11 |
101 |
x11-libs/libXau |
102 |
x11-libs/libXdmcp |
103 |
x11-libs/libXext |
104 |
virtual/opengl |
105 |
>=media-libs/libsdl-1.2.5 |
106 |
>=media-libs/sdl-net-1.2.5 |
107 |
media-libs/openal |
108 |
media-libs/freealut |
109 |
media-libs/libvorbis |
110 |
>=dev-libs/libxml2-2.6.7 |
111 |
media-libs/cal3d |
112 |
!=media-libs/cal3d-0.11.0_pre20050823 |
113 |
>=media-libs/libpng-1.2.8 |
114 |
media-libs/sdl-image |
115 |
media-libs/mesa |
116 |
~games-rpg/${PN}-data-${PV}" |
117 |
|
118 |
DEPEND="${RDEPEND} |
119 |
>=app-admin/eselect-opengl-1.0.6-r1 |
120 |
app-arch/unzip |
121 |
doc? ( >=app-doc/doxygen-1.3.8 |
122 |
>=media-gfx/graphviz-1.10 )" |
123 |
|
124 |
pkg_setup() { |
125 |
if built_with_use media-libs/cal3d 16bit-indices ; then |
126 |
eerror "${PN} won't work if media-libs/cal3d has been built with 16bit-indices" |
127 |
die "re-emerge media-libs/cal3d without the 16bit-indices USE flag" |
128 |
fi |
129 |
} |
130 |
|
131 |
src_unpack() { |
132 |
OPTIONS="-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\""" |
133 |
S_CLIENT="${WORKDIR}/elc" |
134 |
BROWSER="firefox" |
135 |
|
136 |
unpack ${A} |
137 |
cd "${S}" |
138 |
|
139 |
# Create updated files with correct perms and allow dir creation |
140 |
#epatch "${FILESDIR}/${PN}-1.3.0-update-createdir.patch" |
141 |
|
142 |
# Build for amd64 |
143 |
use amd64 && OPTIONS="${OPTIONS} -DX86_64" |
144 |
|
145 |
# This should be default in the next version |
146 |
OPTIONS="${OPTIONS} -DUSE_ACTOR_DEFAULTS -DGL_EXTENSION_CHECK" |
147 |
|
148 |
# Add debugging options |
149 |
if use debug ; then |
150 |
OPTIONS="${OPTIONS} -DMEMORY_DEBUG" |
151 |
append-flags -ggdb |
152 |
fi |
153 |
|
154 |
sed \ |
155 |
-e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O0 -ggdb -pipe@CFLAGS=${CFLAGS} ${OPTIONS} @g"\ |
156 |
-e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O0 -ggdb -pipe@CXXFLAGS=${CXXFLAGS} ${OPTIONS} @g"\ |
157 |
-e 's/lopenal/lopenal -l alut/' \ |
158 |
Makefile.linux > Makefile \ |
159 |
|| die "sed failed" |
160 |
sed -i \ |
161 |
-e 's/#browser/browser/g' \ |
162 |
-e "s/browser = mozilla/#browser = ${BROWSER}/g" \ |
163 |
-e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \ |
164 |
el.ini || die "sed failed" |
165 |
|
166 |
# Support BSD in the Linux makefile - it's easier |
167 |
use kernel_linux || sed -i -e 's/^CFLAGS=.*/& -DBSD/' Makefile || die "sed failed" |
168 |
|
169 |
# Gah |
170 |
sed -i -e 's/CXX=g++/CXX=gcc/' Makefile || die "sed failed" |
171 |
|
172 |
# Finally, update the server |
173 |
sed -i -e '/#server_address =/ s/.*/#server_address = game.eternal-lands.com/' \ |
174 |
el.ini || die "sed failed" |
175 |
} |
176 |
|
177 |
src_compile() { |
178 |
emake || die "make failed" |
179 |
if use doc; then |
180 |
emake docs || die "Failed to create documentation, try with USE=-doc" |
181 |
mv ./docs/html/ ../client || die "Failed to move documentation directory" |
182 |
fi |
183 |
} |
184 |
|
185 |
src_install() { |
186 |
newgamesbin el.x86.linux.bin el || die "newgamesbin failed" |
187 |
doicon "${DISTDIR}/eternal-lands.png" |
188 |
make_desktop_entry el "Eternal Lands" |
189 |
|
190 |
insopts -m 0660 |
191 |
insinto "${GAMES_DATADIR}/${PN}" |
192 |
doins -r *.ini *.txt commands.lst || die "doins failed" |
193 |
|
194 |
if use doc ; then |
195 |
dohtml -r client/* |
196 |
fi |
197 |
|
198 |
prepgamesdirs |
199 |
} |
200 |
|
201 |
pkg_postinst() { |
202 |
games_pkg_postinst |
203 |
elog "Auto Update is now enabled in Eternal Lands" |
204 |
elog "If an update occurs then the client will suddenly exit" |
205 |
elog "Updates only happen when the game first loads" |
206 |
elog "Please don't report this behaviour as a bug" |
207 |
|
208 |
# Ensure that the files are writable by the game group for auto |
209 |
# updating. |
210 |
chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${PN}" |
211 |
|
212 |
# Make sure new files stay in games group |
213 |
find "${ROOT}/${GAMES_DATADIR}/${PN}" -type d -exec chmod g+sx {} \; |
214 |
} |
215 |
|
216 |
|
217 |
|
218 |
-- |
219 |
gentoo-commits@g.o mailing list |