1 |
tupone 07/10/28 17:07:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rocksndiamonds-3.2.4.ebuild |
5 |
Log: |
6 |
Version bump to 3.2.4 |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.26 games-arcade/rocksndiamonds/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog?rev=1.26&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog?rev=1.26&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog?r1=1.25&r2=1.26 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog,v |
19 |
retrieving revision 1.25 |
20 |
retrieving revision 1.26 |
21 |
diff -u -r1.25 -r1.26 |
22 |
--- ChangeLog 29 Jan 2007 03:17:50 -0000 1.25 |
23 |
+++ ChangeLog 28 Oct 2007 17:07:50 -0000 1.26 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for games-arcade/rocksndiamonds |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog,v 1.25 2007/01/29 03:17:50 mr_bones_ Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog,v 1.26 2007/10/28 17:07:50 tupone Exp $ |
29 |
+ |
30 |
+*rocksndiamonds-3.2.4 (28 Oct 2007) |
31 |
+ |
32 |
+ 28 Oct 2007; Tupone Alfredo <tupone@g.o> |
33 |
+ +files/rocksndiamonds-3.2.4-parallel-build.patch, |
34 |
+ +rocksndiamonds-3.2.4.ebuild: |
35 |
+ Version bump to 3.2.4 |
36 |
|
37 |
29 Jan 2007; Michael Sterrett <mr_bones_@g.o> |
38 |
rocksndiamonds-3.2.3.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 games-arcade/rocksndiamonds/rocksndiamonds-3.2.4.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/rocksndiamonds/rocksndiamonds-3.2.4.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/rocksndiamonds/rocksndiamonds-3.2.4.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: rocksndiamonds-3.2.4.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/rocksndiamonds-3.2.4.ebuild,v 1.1 2007/10/28 17:07:50 tupone Exp $ |
52 |
|
53 |
inherit flag-o-matic eutils games |
54 |
|
55 |
DESCRIPTION="A Boulderdash clone" |
56 |
HOMEPAGE="http://www.artsoft.org/rocksndiamonds/" |
57 |
SRC_URI="http://www.artsoft.org/RELEASES/unix/rocksndiamonds/${P}.tar.gz |
58 |
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Contributions-1.2.0.zip |
59 |
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/BD2K3-1.0.0.zip |
60 |
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Boulder_Dash_Dream-1.0.0.zip |
61 |
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/rnd-contrib-1.0.0.tar.gz |
62 |
http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-emc-1.0.tar.gz |
63 |
http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-sp-1.0.tar.gz |
64 |
http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-dx-1.0.tar.gz |
65 |
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Snake_Bite-1.0.0.zip |
66 |
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Sokoban-1.0.0.zip |
67 |
http://www.jb-line.de/rnd_jue-v7.zip" |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~ppc ~x86" |
72 |
IUSE="X sdl" |
73 |
|
74 |
DEPEND="app-arch/unzip |
75 |
X? ( x11-libs/libX11 ) |
76 |
!sdl? ( x11-libs/libX11 ) |
77 |
sdl? ( |
78 |
>=media-libs/libsdl-1.2.3 |
79 |
>=media-libs/sdl-mixer-1.2.4 |
80 |
media-libs/sdl-net |
81 |
>=media-libs/sdl-image-1.2.2 |
82 |
)" |
83 |
|
84 |
src_unpack() { |
85 |
unpack ${P}.tar.gz |
86 |
cd "${S}" |
87 |
unpack \ |
88 |
rockslevels-emc-1.0.tar.gz \ |
89 |
rockslevels-sp-1.0.tar.gz \ |
90 |
rockslevels-dx-1.0.tar.gz |
91 |
|
92 |
# make it parallel-friendly. |
93 |
epatch "${FILESDIR}"/${P}-parallel-build.patch |
94 |
sed -i \ |
95 |
-e 's:\$(MAKE_CMD):$(MAKE) -C $(SRC_DIR):' \ |
96 |
-e '/^MAKE/d' \ |
97 |
Makefile \ |
98 |
|| die "sed failed" |
99 |
|
100 |
cd levels |
101 |
unpack \ |
102 |
rnd_jue-v7.zip \ |
103 |
BD2K3-1.0.0.zip \ |
104 |
rnd-contrib-1.0.0.tar.gz \ |
105 |
Snake_Bite-1.0.0.zip \ |
106 |
Contributions-1.2.0.zip \ |
107 |
Boulder_Dash_Dream-1.0.0.zip \ |
108 |
Sokoban-1.0.0.zip |
109 |
} |
110 |
|
111 |
src_compile() { |
112 |
replace-cpu-flags k6 k6-1 k6-2 i586 |
113 |
|
114 |
local makeopts="RO_GAME_DIR=${GAMES_DATADIR}/${PN} RW_GAME_DIR=${GAMES_STATEDIR}/${PN}" |
115 |
if use X || { ! use X && ! use sdl; } ; then |
116 |
make clean || die |
117 |
emake ${makeopts} OPTIONS="${CFLAGS}" x11 || die |
118 |
mv rocksndiamonds{,.x11} |
119 |
fi |
120 |
if use sdl ; then |
121 |
make clean || die |
122 |
emake ${makeopts} OPTIONS="${CFLAGS}" sdl || die |
123 |
mv rocksndiamonds{,.sdl} |
124 |
fi |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
if use X || { ! use X && ! use sdl; } ; then |
129 |
dogamesbin rocksndiamonds.x11 || die "dogamesbin failed" |
130 |
fi |
131 |
if use sdl ; then |
132 |
dogamesbin rocksndiamonds.sdl || die "dogamesbin failed" |
133 |
dosym rocksndiamonds.sdl "${GAMES_BINDIR}/rocksndiamonds" |
134 |
else |
135 |
dosym rocksndiamonds.x11 "${GAMES_BINDIR}/rocksndiamonds" |
136 |
fi |
137 |
insinto "${GAMES_DATADIR}/${PN}" |
138 |
doins -r graphics levels music sounds || die "doins failed" |
139 |
|
140 |
newman rocksndiamonds.{1,6} |
141 |
dodoc CHANGES CREDITS HARDWARE README TODO docs/elements/*.txt |
142 |
newicon graphics/gfx_classic/rocks_icon_32x32.pcx ${PN}.pcx |
143 |
make_desktop_entry rocksndiamonds "Rocks 'N' Diamonds" /usr/share/pixmaps/${PN}.pcx |
144 |
|
145 |
prepgamesdirs |
146 |
} |
147 |
|
148 |
|
149 |
|
150 |
-- |
151 |
gentoo-commits@g.o mailing list |