# ChangeLog for games-arcade/rocksndiamonds
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog,v 1.23 2006/09/23 11:41:17 vapier Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/ChangeLog,v 1.24 2007/01/26 03:26:55 mr_bones_ Exp $
+
+*rocksndiamonds-3.2.3 (26 Jan 2007)
+
+ 26 Jan 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/rocksndiamonds-3.2.3-parallel-build.patch,
+ +rocksndiamonds-3.2.3.ebuild:
+ version bump
23 Sep 2006; Mike Frysinger <vapier@gentoo.org>
+files/rocksndiamonds-3.2.2-parallel-build.patch,
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX rocksndiamonds-3.2.2-parallel-build.patch 380 RMD160 c7be803b01337e5462490ba85a13b140321682b7 SHA1 500bf286a9a8e88f01dda77214921db600922904 SHA256 45b34ccf039153021b74d553553faa5fe913c68028acf59d57448f1e779df1a2
MD5 e32e5d43ac5ba72b7710c2b97c3abec2 files/rocksndiamonds-3.2.2-parallel-build.patch 380
RMD160 c7be803b01337e5462490ba85a13b140321682b7 files/rocksndiamonds-3.2.2-parallel-build.patch 380
SHA256 45b34ccf039153021b74d553553faa5fe913c68028acf59d57448f1e779df1a2 files/rocksndiamonds-3.2.2-parallel-build.patch 380
+AUX rocksndiamonds-3.2.3-parallel-build.patch 380 RMD160 c7be803b01337e5462490ba85a13b140321682b7 SHA1 500bf286a9a8e88f01dda77214921db600922904 SHA256 45b34ccf039153021b74d553553faa5fe913c68028acf59d57448f1e779df1a2
+MD5 e32e5d43ac5ba72b7710c2b97c3abec2 files/rocksndiamonds-3.2.3-parallel-build.patch 380
+RMD160 c7be803b01337e5462490ba85a13b140321682b7 files/rocksndiamonds-3.2.3-parallel-build.patch 380
+SHA256 45b34ccf039153021b74d553553faa5fe913c68028acf59d57448f1e779df1a2 files/rocksndiamonds-3.2.3-parallel-build.patch 380
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 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.2.tar.gz 3232607 RMD160 54e83393ffb4a8e341f78321cfd88f75849d42c9 SHA1 fe427c95fe0b1cf8955268fd0c565861fe7a1346 SHA256 71de1a4600373e3355119e3cc9708aeeb9b6fdc837f6eb8fa1c29783ae92a1fd
+DIST rocksndiamonds-3.2.3.tar.gz 3266249 RMD160 ad0c908648059be98d8741058f4995481dae25ea SHA1 2fafccb58fc0cc9cf321f49c4dc981bb112bb7ac SHA256 1585d3a5ee73519c3213115fb7a8cde4c845511eef9e9cf986c228c811eba1f4
EBUILD rocksndiamonds-3.2.2.ebuild 2996 RMD160 57bc6e6933bf034060377d942f2d97a1ba825e41 SHA1 b047d7248508b635d383857dd230b21f34d5a5eb SHA256 7a03d729d9e2a866dca73529978b3a464c93693b04cc9168b464e0d953673efa
MD5 ac7ea0ce0fabc342cb6d96c3f4086083 rocksndiamonds-3.2.2.ebuild 2996
RMD160 57bc6e6933bf034060377d942f2d97a1ba825e41 rocksndiamonds-3.2.2.ebuild 2996
SHA256 7a03d729d9e2a866dca73529978b3a464c93693b04cc9168b464e0d953673efa rocksndiamonds-3.2.2.ebuild 2996
-MISC ChangeLog 3827 RMD160 cc7bb9a0cf23777c4afee23e9cc10ee919ac24bf SHA1 6c77eccf5232e98c135de34a5180058bf7ecbb28 SHA256 3f37241b6be9c3edcd5ff16ff37b171f9d3a6ab0e9780f8e7556739db91c9d36
-MD5 0f46a817447b7437c43db39faf31dc87 ChangeLog 3827
-RMD160 cc7bb9a0cf23777c4afee23e9cc10ee919ac24bf ChangeLog 3827
-SHA256 3f37241b6be9c3edcd5ff16ff37b171f9d3a6ab0e9780f8e7556739db91c9d36 ChangeLog 3827
+EBUILD rocksndiamonds-3.2.3.ebuild 3001 RMD160 59abfee41f205123e5257bb14d7b265acfb0e86f SHA1 0b47c01d9f22f67c10278147ba02845c57307e8b SHA256 c1cacbb4e610ae1b288160f4766d417285e9faf7762c050a5176b9ea8cb20f0b
+MD5 3e3e635c7b13cf7fd49492a3fd88537f rocksndiamonds-3.2.3.ebuild 3001
+RMD160 59abfee41f205123e5257bb14d7b265acfb0e86f rocksndiamonds-3.2.3.ebuild 3001
+SHA256 c1cacbb4e610ae1b288160f4766d417285e9faf7762c050a5176b9ea8cb20f0b rocksndiamonds-3.2.3.ebuild 3001
+MISC ChangeLog 4022 RMD160 c6061a7a912dae7b859c7c8a84d97927675839df SHA1 3e6677582b2893219601567b5b6fc5703ae555ad SHA256 24e2c7fb2292ee04236bb94d117b2b64abe390d1c9128006b0f9a92148a6a4c5
+MD5 58c0aa5562d316dfd171597846f3babc ChangeLog 4022
+RMD160 c6061a7a912dae7b859c7c8a84d97927675839df ChangeLog 4022
+SHA256 24e2c7fb2292ee04236bb94d117b2b64abe390d1c9128006b0f9a92148a6a4c5 ChangeLog 4022
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
MD5 005bbd7c5ce1079b6ee3a9fc2fa9809b files/digest-rocksndiamonds-3.2.2 2753
RMD160 691b8c90430511e6ccf1360da0c3117ceb7cba14 files/digest-rocksndiamonds-3.2.2 2753
SHA256 a6b25c5a0246bc1b104b036bb2fb0575b078bdfbd61fdfb91e56fcefd9876abd files/digest-rocksndiamonds-3.2.2 2753
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFZgRYdz7hIScOURERArlCAJ404/Eg1yexAzGhFts+WQEuSOEhpACfWiTz
-rUvmck28tu4qsLL3CYFjvz0=
-=Ylw6
------END PGP SIGNATURE-----
+MD5 c4cba22a3a58bd7fdc12443def39d7ee files/digest-rocksndiamonds-3.2.3 2753
+RMD160 5b29d176c87e6790433cd126062d0801b622d9eb files/digest-rocksndiamonds-3.2.3 2753
+SHA256 cd45975591407ab0c42e8eb74c2d653899cdd01b3c423c7aeb10ddfe278f2521 files/digest-rocksndiamonds-3.2.3 2753
--- /dev/null
+MD5 ebc8e019fa9a799757d90828e242c206 BD2K3-1.0.0.zip 4715324
+RMD160 50b0ffdecb609711f9bfd5819b50ac1816e18588 BD2K3-1.0.0.zip 4715324
+SHA256 5fc5130c859e69d6907bff87e01ff2296d59f7376202a8aacc03e55f359fb351 BD2K3-1.0.0.zip 4715324
+MD5 a7d78a41eb13932efce568cedc9b3388 Boulder_Dash_Dream-1.0.0.zip 10923437
+RMD160 ecf209811ed15767d1114c82c800ca801d0387a4 Boulder_Dash_Dream-1.0.0.zip 10923437
+SHA256 6f9dc48023830fbdc318d8f18013b5a7e84ab3c815ba566a4a2c46faeb65c969 Boulder_Dash_Dream-1.0.0.zip 10923437
+MD5 573f4e04ad4e1490804bc0154133c1c8 Contributions-1.2.0.zip 9499312
+RMD160 d6f2f83bbfeb224a09175ef0c39b5a1530f092be Contributions-1.2.0.zip 9499312
+SHA256 d533dc69cd136d2bb7d76d674ab087285799191e0a516320aba8ac2368ce6dd2 Contributions-1.2.0.zip 9499312
+MD5 52ef211765c995ea40ecb646345fdc2b Snake_Bite-1.0.0.zip 6506066
+RMD160 b8a5d7dc61086c8b3ef08275dd597ecae63ee80d Snake_Bite-1.0.0.zip 6506066
+SHA256 6f6b573d89588f56cb3b326f3a42fb57277307bd709713dbef329885ac4d006d Snake_Bite-1.0.0.zip 6506066
+MD5 3af33cfa0277e9358696c7bf22096d1a Sokoban-1.0.0.zip 295339
+RMD160 b0c07aa209dad3f615a6dd0a0aeced4a527059a2 Sokoban-1.0.0.zip 295339
+SHA256 63f9d36789edca22c0f9454202f9fd21fcee89111642459b5882314f13ebdc0e Sokoban-1.0.0.zip 295339
+MD5 bc5c427c2408c2886ceb13f59d2e3e75 rnd-contrib-1.0.0.tar.gz 3389242
+RMD160 54c9b860b7d027eb6e24af72e8b731df85776195 rnd-contrib-1.0.0.tar.gz 3389242
+SHA256 c24b56399ba202ebf60bb60316e81d7996ccd02ae281a7e54f2f555e088a1ce1 rnd-contrib-1.0.0.tar.gz 3389242
+MD5 37b08861cac0bb5c0e3cc07b10fff1e2 rnd_jue-v7.zip 10216825
+RMD160 3c8a4b86289267d30772b0a1cd3889d3a476eb49 rnd_jue-v7.zip 10216825
+SHA256 8b7910ce8e9170eabad917bdbe0ca2db840ed4489414022e706025fb40125906 rnd_jue-v7.zip 10216825
+MD5 fbc250f7995c666c1c745dbaf591ce32 rockslevels-dx-1.0.tar.gz 211151
+RMD160 1fb969e4205aa16318a8a8ae4d33de21b5050c78 rockslevels-dx-1.0.tar.gz 211151
+SHA256 23f1710710eef1dcd1c490670de16d2d58dc98f3fdd9a2df186bdca590e57579 rockslevels-dx-1.0.tar.gz 211151
+MD5 9c6cbf7394e465a90af66236dc1db6f5 rockslevels-emc-1.0.tar.gz 3824268
+RMD160 d9baa3e625f8857b40dc247f39ae16a53d27f77c rockslevels-emc-1.0.tar.gz 3824268
+SHA256 a04e554fb8b6d010c73e21de090f116dad6054e43e00edc80c59c71a8a1eaa0c rockslevels-emc-1.0.tar.gz 3824268
+MD5 3af9a97e59f29995f3f7fc4da0595af6 rockslevels-sp-1.0.tar.gz 373564
+RMD160 ddfc4b5af5bdbbabd1fd884f14f76257d75e52d3 rockslevels-sp-1.0.tar.gz 373564
+SHA256 770d75a5926bb924c6787a6f95ee9f7af743b629ea14005ab0375b57eb488f25 rockslevels-sp-1.0.tar.gz 373564
+MD5 9e206899bdb5cddebf504d47bd75d62b rocksndiamonds-3.2.3.tar.gz 3266249
+RMD160 ad0c908648059be98d8741058f4995481dae25ea rocksndiamonds-3.2.3.tar.gz 3266249
+SHA256 1585d3a5ee73519c3213115fb7a8cde4c845511eef9e9cf986c228c811eba1f4 rocksndiamonds-3.2.3.tar.gz 3266249
--- /dev/null
+http://bugs.gentoo.org/126080
+
+--- src/Makefile
++++ src/Makefile
+@@ -220,7 +220,7 @@
+ # build targets
+ # -----------------------------------------------------------------------------
+
+-all: libgame_dir game_em_dir $(PROGNAME)
++all: $(PROGNAME)
+
+ $(PROGNAME): $(RNDLIBS) $(TIMESTAMP_FILE) $(OBJS) $(ICON)
+ $(CC) $(PROFILING) $(OBJS) $(ICON) $(RNDLIBS) $(LDFLAGS) -o $(PROGNAME)
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/rocksndiamonds-3.2.3.ebuild,v 1.1 2007/01/26 03:26:55 mr_bones_ 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
+ )"
+
+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
+ make_desktop_entry rocksndiamonds "Rocks 'N' Diamonds"
+
+ prepgamesdirs
+}