Gentoo Archives: gentoo-commits

From: "Richard Freeman (rich0)" <rich0@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-rpg/eternal-lands-data: eternal-lands-data-1.9.1.ebuild ChangeLog
Date: Thu, 30 Dec 2010 22:54:49
Message-Id: 20101230225439.05BB320054@flycatcher.gentoo.org
1 rich0 10/12/30 22:54:39
2
3 Modified: ChangeLog
4 Added: eternal-lands-data-1.9.1.ebuild
5 Log:
6 Bump for upcoming game server update - masked for now.
7
8 (Portage version: 2.1.9.25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.23 games-rpg/eternal-lands-data/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 13 May 2010 23:48:52 -0000 1.22
24 +++ ChangeLog 30 Dec 2010 22:54:38 -0000 1.23
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-rpg/eternal-lands-data
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog,v 1.22 2010/05/13 23:48:52 rich0 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog,v 1.23 2010/12/30 22:54:38 rich0 Exp $
30 +
31 +*eternal-lands-data-1.9.1 (30 Dec 2010)
32 +
33 + 30 Dec 2010; Richard Freeman <rich0@g.o>
34 + +eternal-lands-data-1.9.1.ebuild:
35 + Bump for upcoming game server update - masked for now.
36
37 13 May 2010; Richard Freeman <rich0@g.o>
38 eternal-lands-data-1.9.0.ebuild, metadata.xml:
39
40
41
42 1.1 games-rpg/eternal-lands-data/eternal-lands-data-1.9.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/eternal-lands-data/eternal-lands-data-1.9.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/eternal-lands-data/eternal-lands-data-1.9.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: eternal-lands-data-1.9.1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/eternal-lands-data-1.9.1.ebuild,v 1.1 2010/12/30 22:54:38 rich0 Exp $
52
53 inherit games
54
55 MUSIC_DATE="20060803"
56
57 MY_PV="${PV//_/}"
58 MY_PV="${MY_PV//./}"
59 MY_PN="${PN%*-data}"
60 DESCRIPTION="An online MMORPG written in C and SDL"
61 HOMEPAGE="http://www.eternal-lands.com"
62 SRC_URI="http://www.eternal-lands.com/el_linux_191.zip
63 music? ( mirror://gentoo/el_music_full-${MUSIC_DATE}.zip )
64 sound? ( mirror://gentoo/el_sound_150.zip )"
65 # WARNING: The music file is held at
66 # http://www.eternal-lands.com/page/music.php
67 # We only mirror it so that it is versioned by the date we mirrored it
68 # AND prefixed with el_ so as not cause any conflicts. Maybe oneday they will
69 # version their music, maybe not.
70
71 LICENSE="eternal_lands"
72 SLOT="0"
73 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
74 IUSE="music sound bloodsuckermaps"
75
76 DEPEND="app-arch/unzip
77 !bloodsuckermaps? ( !games-rpg/eternal-lands-bloodsucker )"
78
79 PDEPEND="bloodsuckermaps? ( games-rpg/eternal-lands-bloodsucker )"
80
81 # Maybe one day upstream will do things in a consistent way.
82 S="${WORKDIR}/el_linux"
83
84 src_unpack() {
85 unpack ${A}
86 cd "${S}"
87
88 # Move our music files to the correct directory
89 if use music ; then
90 mkdir music
91 mv ../*.ogg ../*.pll music || die
92 fi
93 }
94
95 src_install() {
96 # These are provided by eternal-lands ebuild
97
98 rm license.txt
99 rm commands.lst
100
101 # don't install maps if using alternate maps
102 if use bloodsuckermaps ; then
103 rm maps/anitora.bmp maps/cave1.bmp maps/cont2map10.bmp
104 rm maps/cont2map11.bmp maps/cont2map12.bmp maps/cont2map13.bmp
105 rm maps/cont2map14.bmp maps/cont2map15.bmp maps/cont2map16.bmp
106 rm maps/cont2map17.bmp maps/cont2map18.bmp maps/cont2map19.bmp
107 rm maps/cont2map1.bmp maps/cont2map20.bmp maps/cont2map21.bmp
108 rm maps/cont2map22.bmp maps/cont2map23.bmp maps/cont2map24.bmp
109 rm maps/cont2map2.bmp maps/cont2map3.bmp maps/cont2map4.bmp
110 rm maps/cont2map5.bmp maps/cont2map6.bmp maps/cont2map7.bmp
111 rm maps/cont2map8.bmp maps/cont2map9.bmp maps/irilion.bmp
112 rm maps/legend.bmp maps/map11.bmp maps/map12.bmp
113 rm maps/map13.bmp maps/map14f.bmp maps/map15f.bmp
114 rm maps/map2.bmp maps/map3.bmp maps/map4f.bmp
115 rm maps/map5nf.bmp maps/map6nf.bmp maps/map7.bmp
116 rm maps/map8.bmp maps/map9f.bmp maps/seridia.bmp
117 rm maps/startmap.bmp
118 fi
119
120 insopts -m 0660
121 insinto "${GAMES_DATADIR}/${MY_PN}"
122 doins -r 2dobjects 3dobjects actor_defs animations maps meshes \
123 particles skeletons shaders textures languages shaders skybox \
124 *.lst 3dobjects.txt *.xml \
125 || die "doins failed"
126
127 if use music ; then
128 doins -r music || die "doins music failed"
129 fi
130
131 # Removed sound from above - need to handle sound support
132
133 cd "${WORKDIR}"
134 if use sound ; then
135 doins -r sound || die "doins sound failed"
136 fi
137
138 prepgamesdirs
139 }
140
141 pkg_postinst() {
142 games_pkg_postinst
143 # Ensure that the files are writable by the game group for auto
144 # updating.
145 chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${MY_PN}"
146
147 # Make sure new files stay in games group
148 find "${ROOT}/${GAMES_DATADIR}/${MY_PN}" -type d -exec chmod g+sx {} \;
149 }