Portage is a package management system used by Gentoo Linux
# ChangeLog for games-arcade/rocksndiamonds
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog,v 1.30 2008/06/25 18:55:13 nixnut Exp $
25 Jun 2008; nixnut
Stable on ppc wrt bug 229119
24 Jun 2008; Christian Faulhammer
rocksndiamonds-3.2.4.ebuild:
stable x86, bug 229119
23 Jun 2008; Kenneth Prugh
rocksndiamonds-3.2.4.ebuild:
amd64 stable, bug #229119
01 Apr 2008; Michael Sterrett
rocksndiamonds-3.2.4.ebuild:
add media-libs/smpeg dep (bug #215773)
*rocksndiamonds-3.2.4 (28 Oct 2007)
28 Oct 2007; Tupone Alfredo
+files/rocksndiamonds-3.2.4-parallel-build.patch,
+rocksndiamonds-3.2.4.ebuild:
Version bump to 3.2.4
29 Jan 2007; Michael Sterrett
rocksndiamonds-3.2.3.ebuild:
Add icon for bug #155607
*rocksndiamonds-3.2.3 (26 Jan 2007)
26 Jan 2007; Michael Sterrett
+files/rocksndiamonds-3.2.3-parallel-build.patch,
+rocksndiamonds-3.2.3.ebuild:
version bump
23 Sep 2006; Mike Frysinger
+files/rocksndiamonds-3.2.2-parallel-build.patch,
rocksndiamonds-3.2.2.ebuild:
Fix parallel build #126080 by Stefaan De Roeck.
23 Sep 2006; Michael Sterrett
rocksndiamonds-3.2.2.ebuild:
add Contrib levels (bug #107252)
*rocksndiamonds-3.2.2 (23 Sep 2006)
23 Sep 2006; Michael Sterrett
+rocksndiamonds-3.2.2.ebuild:
version bump (bug #148183)
*rocksndiamonds-3.2.0 (17 Jul 2006)
17 Jul 2006; Michael Sterrett
+rocksndiamonds-3.2.0.ebuild:
version bump
28 Jan 2006; Joshua Baergen
rocksndiamonds-3.1.0.ebuild, rocksndiamonds-3.1.1.ebuild,
rocksndiamonds-3.1.2.ebuild:
Add modular X dependencies.
*rocksndiamonds-3.1.2 (12 Jan 2006)
12 Jan 2006; Michael Sterrett
+rocksndiamonds-3.1.2.ebuild:
version bump
22 Sep 2005; Michael Sterrett
rocksndiamonds-3.1.1.ebuild:
fix case where USE="-X sdl"
*rocksndiamonds-3.1.1 (24 Aug 2005)
24 Aug 2005; Michael Sterrett
+rocksndiamonds-3.1.1.ebuild:
version bump with help from gentoo-bugzilla@semisane.de (bug #103076)
27 Apr 2005; Michael Sterrett
rocksndiamonds-3.1.0.ebuild:
add user submitted levels to install (bug #90654)
11 Nov 2004; Chris Gianelloni
rocksndiamonds-3.1.0.ebuild:
Added app-arch/unzip to DEPEND and closing bug #70808.
*rocksndiamonds-3.1.0 (10 Jul 2004)
10 Jul 2004; Michael Sterrett
+rocksndiamonds-3.1.0.ebuild:
version bump
use emake
more levels (patch from Tomer Chachamu via bug #55320)
*rocksndiamonds-3.0.8 (02 Apr 2004)
02 Apr 2004; Michael Sterrett
rocksndiamonds-3.0.8.ebuild:
version bump and added two additional level packs
02 Apr 2004; Michael Sterrett
rocksndiamonds-3.0.6.ebuild:
fix IUSE
28 Mar 2004; Michael Sterrett
rocksndiamonds-3.0.6.ebuild:
enable sdl to be able to be selected as well as X since we compile both
28 Mar 2004; Michael Sterrett
rocksndiamonds-3.0.4.ebuild:
clean old version
27 Mar 2004; Michael Sterrett
rocksndiamonds-3.0.4.ebuild, rocksndiamonds-3.0.6.ebuild:
use || in DEPEND to say what we really mean
05 Jan 2004; Jon Portnoy
AMD64 keywords
*rocksndiamonds-3.0.6 (11 Oct 2003)
11 Oct 2003; Mike Frysinger
Version bump.
*rocksndiamonds-3.0.4 (15 Sep 2003)
15 Sep 2003; Michael Sterrett
rocksndiamonds-2.1.1.ebuild, rocksndiamonds-3.0.0.ebuild,
rocksndiamonds-3.0.2.ebuild:
removed old versions
15 Sep 2003; Michael Sterrett
rocksndiamonds-3.0.4.ebuild:
version bump
*rocksndiamonds-3.0.2 (27 Aug 2003)
27 Aug 2003; Michael Sterrett
rocksndiamonds-3.0.2.ebuild:
version bump
07 Aug 2003; Michael Sterrett
rocksndiamonds-3.0.0.ebuild:
don't install the man page in the bin directory
*rocksndiamonds-3.0.0 (05 Aug 2003)
05 Aug 2003; Michael Sterrett
rocksndiamonds-3.0.0.ebuild:
version bump (bug 25963)
*rocksndiamonds-2.1.1 (09 Mar 2003)
07 Jul 2003; Mike Frysinger
Added a replace-flags for arch k6 #17787.
09 Mar 2003; Mike Frysinger
Initial import. Ebuild submitted by Ron
AUX rocksndiamonds-3.2.3-parallel-build.patch 380 RMD160 c7be803b01337e5462490ba85a13b140321682b7 SHA1 500bf286a9a8e88f01dda77214921db600922904 SHA256 45b34ccf039153021b74d553553faa5fe913c68028acf59d57448f1e779df1a2
AUX rocksndiamonds-3.2.4-parallel-build.patch 380 RMD160 c7be803b01337e5462490ba85a13b140321682b7 SHA1 500bf286a9a8e88f01dda77214921db600922904 SHA256 45b34ccf039153021b74d553553faa5fe913c68028acf59d57448f1e779df1a2
DIST BD2K3-1.0.0.zip 4715324 RMD160 50b0ffdecb609711f9bfd5819b50ac1816e18588 SHA1 822f8c2767b68360f73dd5ae4bc56c3e39c2d9ba SHA256 5fc5130c859e69d6907bff87e01ff2296d59f7376202a8aacc03e55f359fb351
DIST Boulder_Dash_Dream-1.0.0.zip 10923437 RMD160 ecf209811ed15767d1114c82c800ca801d0387a4 SHA1 d6900835dee0b551ac3aeac275657817c4a26786 SHA256 6f9dc48023830fbdc318d8f18013b5a7e84ab3c815ba566a4a2c46faeb65c969
DIST Contributions-1.2.0.zip 9499312 RMD160 d6f2f83bbfeb224a09175ef0c39b5a1530f092be SHA1 5f67026debbc672fdf8effcc2dc7efd087a5ae3a SHA256 d533dc69cd136d2bb7d76d674ab087285799191e0a516320aba8ac2368ce6dd2
DIST Snake_Bite-1.0.0.zip 6506066 RMD160 b8a5d7dc61086c8b3ef08275dd597ecae63ee80d SHA1 ddf2ccf0caa2a8595ea771878827429c1f09cdad SHA256 6f6b573d89588f56cb3b326f3a42fb57277307bd709713dbef329885ac4d006d
DIST Sokoban-1.0.0.zip 295339 RMD160 b0c07aa209dad3f615a6dd0a0aeced4a527059a2 SHA1 0ae1cf65db9f8b6a76e55d7236f77a19684b6027 SHA256 63f9d36789edca22c0f9454202f9fd21fcee89111642459b5882314f13ebdc0e
DIST rnd-contrib-1.0.0.tar.gz 3389242 RMD160 54c9b860b7d027eb6e24af72e8b731df85776195 SHA1 9b55ae5865575ba76a90353b1b3883ef3950d792 SHA256 c24b56399ba202ebf60bb60316e81d7996ccd02ae281a7e54f2f555e088a1ce1
DIST rnd_jue-v7.zip 10216825 RMD160 3c8a4b86289267d30772b0a1cd3889d3a476eb49 SHA1 0396db88600db82cbdda5cc090b05974c3026509 SHA256 8b7910ce8e9170eabad917bdbe0ca2db840ed4489414022e706025fb40125906
DIST rockslevels-dx-1.0.tar.gz 211151 RMD160 1fb969e4205aa16318a8a8ae4d33de21b5050c78 SHA1 5f2d119c978c4f91bb1ff53594a8765b5237caae SHA256 23f1710710eef1dcd1c490670de16d2d58dc98f3fdd9a2df186bdca590e57579
DIST rockslevels-emc-1.0.tar.gz 3824268 RMD160 d9baa3e625f8857b40dc247f39ae16a53d27f77c SHA1 1b4de87eef54f3f8b5bb3dd6eda47588dc2182d4 SHA256 a04e554fb8b6d010c73e21de090f116dad6054e43e00edc80c59c71a8a1eaa0c
DIST rockslevels-sp-1.0.tar.gz 373564 RMD160 ddfc4b5af5bdbbabd1fd884f14f76257d75e52d3 SHA1 049edb601654bdf31046ffd60c8234a13cf19540 SHA256 770d75a5926bb924c6787a6f95ee9f7af743b629ea14005ab0375b57eb488f25
DIST rocksndiamonds-3.2.4.tar.gz 3427302 RMD160 a64116a6a17c4969bab1e79c5457b67ce0890a6b SHA1 93abd489a3e027d2553886322cd93dee8b541f35 SHA256 8973e9c8cea4395c0ba05e98329a573fbf691c00e866c8d53f573fa2d37410ac
EBUILD rocksndiamonds-3.2.4.ebuild 3107 RMD160 3e3aa4bdd94e03d7491e03e2d78f62f62512584d SHA1 58221bc8e31022dedc4754549bb40771779fe82d SHA256 780634092addae982534979db18bae8f1580a3f9ca831501ffccc252f19f7c91
MISC ChangeLog 4783 RMD160 20924e352dcc1f258ff094a64bf58ebb2484a879 SHA1 00962b9152dc6550ab01b55cf2ebbbbabbe4e24a SHA256 68909f332ca7705ba1d206cc45e3efc4f8c3a8f0a5cbd6eae99960cddd01830a
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/rocksndiamonds-3.2.4.ebuild,v 1.5 2008/06/25 18:55:13 nixnut Exp $
inherit flag-o-matic eutils games
DESCRIPTION="A Boulderdash clone"
HOMEPAGE="http://www.artsoft.org/rocksndiamonds/"
SRC_URI="http://www.artsoft.org/RELEASES/unix/rocksndiamonds/${P}.tar.gz
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Contributions-1.2.0.zip
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/BD2K3-1.0.0.zip
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Boulder_Dash_Dream-1.0.0.zip
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/rnd-contrib-1.0.0.tar.gz
http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-emc-1.0.tar.gz
http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-sp-1.0.tar.gz
http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-dx-1.0.tar.gz
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Snake_Bite-1.0.0.zip
http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Sokoban-1.0.0.zip
http://www.jb-line.de/rnd_jue-v7.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="X sdl"
DEPEND="app-arch/unzip
X? ( x11-libs/libX11 )
!sdl? ( x11-libs/libX11 )
sdl? (
>=media-libs/libsdl-1.2.3
>=media-libs/sdl-mixer-1.2.4
media-libs/sdl-net
>=media-libs/sdl-image-1.2.2
media-libs/smpeg
)"
src_unpack() {
unpack ${P}.tar.gz
cd "${S}"
unpack \
rockslevels-emc-1.0.tar.gz \
rockslevels-sp-1.0.tar.gz \
rockslevels-dx-1.0.tar.gz
# make it parallel-friendly.
epatch "${FILESDIR}"/${P}-parallel-build.patch
sed -i \
-e 's:\$(MAKE_CMD):$(MAKE) -C $(SRC_DIR):' \
-e '/^MAKE/d' \
Makefile \
|| die "sed failed"
cd levels
unpack \
rnd_jue-v7.zip \
BD2K3-1.0.0.zip \
rnd-contrib-1.0.0.tar.gz \
Snake_Bite-1.0.0.zip \
Contributions-1.2.0.zip \
Boulder_Dash_Dream-1.0.0.zip \
Sokoban-1.0.0.zip
}
src_compile() {
replace-cpu-flags k6 k6-1 k6-2 i586
local makeopts="RO_GAME_DIR=${GAMES_DATADIR}/${PN} RW_GAME_DIR=${GAMES_STATEDIR}/${PN}"
if use X || { ! use X && ! use sdl; } ; then
make clean || die
emake ${makeopts} OPTIONS="${CFLAGS}" x11 || die
mv rocksndiamonds{,.x11}
fi
if use sdl ; then
make clean || die
emake ${makeopts} OPTIONS="${CFLAGS}" sdl || die
mv rocksndiamonds{,.sdl}
fi
}
src_install() {
if use X || { ! use X && ! use sdl; } ; then
dogamesbin rocksndiamonds.x11 || die "dogamesbin failed"
fi
if use sdl ; then
dogamesbin rocksndiamonds.sdl || die "dogamesbin failed"
dosym rocksndiamonds.sdl "${GAMES_BINDIR}/rocksndiamonds"
else
dosym rocksndiamonds.x11 "${GAMES_BINDIR}/rocksndiamonds"
fi
insinto "${GAMES_DATADIR}/${PN}"
doins -r graphics levels music sounds || die "doins failed"
newman rocksndiamonds.{1,6}
dodoc CHANGES CREDITS HARDWARE README TODO docs/elements/*.txt
newicon graphics/gfx_classic/rocks_icon_32x32.pcx ${PN}.pcx
make_desktop_entry rocksndiamonds "Rocks 'N' Diamonds" /usr/share/pixmaps/${PN}.pcx
prepgamesdirs
}