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.8.0-r1.ebuild eternal-lands-data-1.8.0.ebuild
Date: Mon, 12 Jan 2009 22:07:29
Message-Id: E1LMUvq-0006TV-0J@stork.gentoo.org
1 rich0 09/01/12 22:06:49
2
3 Modified: ChangeLog
4 Added: eternal-lands-data-1.8.0-r1.ebuild
5 Removed: eternal-lands-data-1.8.0.ebuild
6 Log:
7 Missed shaders directory in original install - 232188
8 (Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r7-rf82 x86_64)
9
10 Revision Changes Path
11 1.20 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.20&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog?rev=1.20&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog?r1=1.19&r2=1.20
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog,v
20 retrieving revision 1.19
21 retrieving revision 1.20
22 diff -u -r1.19 -r1.20
23 --- ChangeLog 11 Jan 2009 02:37:35 -0000 1.19
24 +++ ChangeLog 12 Jan 2009 22:06:49 -0000 1.20
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.19 2009/01/11 02:37:35 rich0 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands-data/ChangeLog,v 1.20 2009/01/12 22:06:49 rich0 Exp $
30 +
31 +*eternal-lands-data-1.8.0-r1 (12 Jan 2009)
32 +
33 + 12 Jan 2009; Richard Freeman <rich0@g.o>
34 + -eternal-lands-data-1.8.0.ebuild, +eternal-lands-data-1.8.0-r1.ebuild:
35 + Missed shaders directory in original install - 232188
36
37 *eternal-lands-data-1.8.0 (11 Jan 2009)
38
39
40
41
42 1.1 games-rpg/eternal-lands-data/eternal-lands-data-1.8.0-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands-data/eternal-lands-data-1.8.0-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands-data/eternal-lands-data-1.8.0-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: eternal-lands-data-1.8.0-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 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.8.0-r1.ebuild,v 1.1 2009/01/12 22:06:49 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_180_install.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"
75
76 DEPEND="app-arch/unzip"
77
78 # Maybe one day upstream will do things in a consistent way.
79 S="${WORKDIR}/el_linux"
80
81 src_unpack() {
82 unpack ${A}
83 cd "${S}"
84
85 # Move our music files to the correct directory
86 if use music ; then
87 mkdir music
88 mv ../*.ogg ../*.pll music || die
89 fi
90 }
91
92 src_install() {
93 # These are provided by eternal-lands ebuild
94
95 rm license.txt
96 rm commands.lst
97
98 insopts -m 0660
99 insinto "${GAMES_DATADIR}/${MY_PN}"
100 doins -r 2dobjects 3dobjects actor_defs animations maps meshes \
101 particles skeletons textures tiles languages shaders skybox \
102 *.lst 3dobjects.txt *.xml \
103 || die "doins failed"
104
105 if use music ; then
106 doins -r music || die "doins music failed"
107 fi
108
109 # Removed sound from above - need to handle sound support
110
111 cd "${WORKDIR}"
112 if use sound ; then
113 doins -r sound || die "doins sound failed"
114 fi
115
116 prepgamesdirs
117 }
118
119 pkg_postinst() {
120 games_pkg_postinst
121 # Ensure that the files are writable by the game group for auto
122 # updating.
123 chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${MY_PN}"
124
125 # Make sure new files stay in games group
126 find "${ROOT}/${GAMES_DATADIR}/${MY_PN}" -type d -exec chmod g+sx {} \;
127 }