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