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: ChangeLog eternal-lands-data-1.9.0.ebuild eternal-lands-data-1.8.0-r1.ebuild
Date: Sat, 03 Apr 2010 21:34:57
Message-Id: E1NyAzU-0003bQ-Qe@stork.gentoo.org
1 rich0 10/04/03 21:34:52
2
3 Modified: ChangeLog
4 Added: eternal-lands-data-1.9.0.ebuild
5 Removed: eternal-lands-data-1.8.0-r1.ebuild
6 Log:
7 Version bump - cleaned old non-working versions.
8 (Portage version: 2.1.7.17/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.21 games-rpg/eternal-lands-data/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 12 Jan 2009 22:06:49 -0000 1.20
24 +++ ChangeLog 3 Apr 2010 21:34:52 -0000 1.21
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-rpg/eternal-lands-data
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog,v 1.20 2009/01/12 22:06:49 rich0 Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog,v 1.21 2010/04/03 21:34:52 rich0 Exp $
31 +
32 +*eternal-lands-data-1.9.0 (03 Apr 2010)
33 +
34 + 03 Apr 2010; Richard Freeman <rich0@g.o>
35 + -eternal-lands-data-1.8.0-r1.ebuild, +eternal-lands-data-1.9.0.ebuild:
36 + Version bump - cleaned old non-working versions.
37
38 *eternal-lands-data-1.8.0-r1 (12 Jan 2009)
39
40
41
42
43 1.1 games-rpg/eternal-lands-data/eternal-lands-data-1.9.0.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands-data/eternal-lands-data-1.9.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands-data/eternal-lands-data-1.9.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: eternal-lands-data-1.9.0.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/eternal-lands-data-1.9.0.ebuild,v 1.1 2010/04/03 21:34:52 rich0 Exp $
53
54 inherit games
55
56 MUSIC_DATE="20060803"
57
58 MY_PV="${PV//_/}"
59 MY_PV="${MY_PV//./}"
60 MY_PN="${PN%*-data}"
61 DESCRIPTION="An online MMORPG written in C and SDL"
62 HOMEPAGE="http://www.eternal-lands.com"
63 SRC_URI="http://www.eternal-lands.com/el_linux_190.zip
64 music? ( mirror://gentoo/el_music_full-${MUSIC_DATE}.zip )
65 sound? ( mirror://gentoo/el_sound_150.zip )"
66 # WARNING: The music file is held at
67 # http://www.eternal-lands.com/page/music.php
68 # We only mirror it so that it is versioned by the date we mirrored it
69 # AND prefixed with el_ so as not cause any conflicts. Maybe oneday they will
70 # version their music, maybe not.
71
72 LICENSE="eternal_lands"
73 SLOT="0"
74 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
75 IUSE="music sound"
76
77 DEPEND="app-arch/unzip"
78
79 # Maybe one day upstream will do things in a consistent way.
80 S="${WORKDIR}/el_linux"
81
82 src_unpack() {
83 unpack ${A}
84 cd "${S}"
85
86 # Move our music files to the correct directory
87 if use music ; then
88 mkdir music
89 mv ../*.ogg ../*.pll music || die
90 fi
91 }
92
93 src_install() {
94 # These are provided by eternal-lands ebuild
95
96 rm license.txt
97 rm commands.lst
98
99 insopts -m 0660
100 insinto "${GAMES_DATADIR}/${MY_PN}"
101 doins -r 2dobjects 3dobjects actor_defs animations maps meshes \
102 particles skeletons shaders textures languages shaders skybox \
103 *.lst 3dobjects.txt *.xml \
104 || die "doins failed"
105
106 if use music ; then
107 doins -r music || die "doins music failed"
108 fi
109
110 # Removed sound from above - need to handle sound support
111
112 cd "${WORKDIR}"
113 if use sound ; then
114 doins -r sound || die "doins sound failed"
115 fi
116
117 prepgamesdirs
118 }
119
120 pkg_postinst() {
121 games_pkg_postinst
122 # Ensure that the files are writable by the game group for auto
123 # updating.
124 chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${MY_PN}"
125
126 # Make sure new files stay in games group
127 find "${ROOT}/${GAMES_DATADIR}/${MY_PN}" -type d -exec chmod g+sx {} \;
128 }