summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2006-11-23 20:12:31 +0000
committerTristan Heaven <tristan@gentoo.org>2006-11-23 20:12:31 +0000
commit58c1b6076c859c3ef0e39ae819231eb0cd13ff8c (patch)
tree5b58515dcbddb497f2f6d500e2f47a96ca186206 /games-arcade/rocksndiamonds
parentVersion bump - 2.6.19_rc6 (diff)
downloadhistorical-58c1b6076c859c3ef0e39ae819231eb0cd13ff8c.tar.gz
historical-58c1b6076c859c3ef0e39ae819231eb0cd13ff8c.tar.bz2
historical-58c1b6076c859c3ef0e39ae819231eb0cd13ff8c.zip
Remove old versions
Package-Manager: portage-2.1.2_rc2-r1
Diffstat (limited to 'games-arcade/rocksndiamonds')
-rw-r--r--games-arcade/rocksndiamonds/Manifest23
-rw-r--r--games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.1.225
-rw-r--r--games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.2.027
-rw-r--r--games-arcade/rocksndiamonds/rocksndiamonds-3.1.2.ebuild90
-rw-r--r--games-arcade/rocksndiamonds/rocksndiamonds-3.2.0.ebuild90
5 files changed, 3 insertions, 252 deletions
diff --git a/games-arcade/rocksndiamonds/Manifest b/games-arcade/rocksndiamonds/Manifest
index 545f59653177..60412f7ec3b3 100644
--- a/games-arcade/rocksndiamonds/Manifest
+++ b/games-arcade/rocksndiamonds/Manifest
@@ -11,22 +11,11 @@ DIST Contributions-1.2.0.zip 9499312 RMD160 d6f2f83bbfeb224a09175ef0c39b5a1530f0
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-v6.zip 9997237 RMD160 4847529e5bb5802270331cdc81a500f8b8b7efbe SHA1 f615505d4af68ede01a3df97bd3687f4daf0a99d SHA256 e301ad119ab0835621ee9a52dd23b34632dbc43926d3f94a60837a1d03734753
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.1.2.tar.gz 3120830
-DIST rocksndiamonds-3.2.0.tar.gz 3215788 RMD160 396eed9b9bb264b3fcb128f7fd26003ed57876f6 SHA1 76d5f4029bf437d94d56d464f05e4a3e32e1307b SHA256 e85175ecbfc91623ec1f6b62fe2b23d69b00cc57482c9c4ddab275de6af60f99
DIST rocksndiamonds-3.2.2.tar.gz 3232607 RMD160 54e83393ffb4a8e341f78321cfd88f75849d42c9 SHA1 fe427c95fe0b1cf8955268fd0c565861fe7a1346 SHA256 71de1a4600373e3355119e3cc9708aeeb9b6fdc837f6eb8fa1c29783ae92a1fd
-EBUILD rocksndiamonds-3.1.2.ebuild 2790 RMD160 6ff5eb28e12c7f39c8348347df5b29cd4f573148 SHA1 82fd3f744a8a2a9b2c4e8844bebe46b8be887dd9 SHA256 ba02bd7c7ee75bad78af212037dfa2fa9fbb726816c2b0fd79670e1ef680187c
-MD5 8c173ea1c27bb861c60b7752a639d764 rocksndiamonds-3.1.2.ebuild 2790
-RMD160 6ff5eb28e12c7f39c8348347df5b29cd4f573148 rocksndiamonds-3.1.2.ebuild 2790
-SHA256 ba02bd7c7ee75bad78af212037dfa2fa9fbb726816c2b0fd79670e1ef680187c rocksndiamonds-3.1.2.ebuild 2790
-EBUILD rocksndiamonds-3.2.0.ebuild 2786 RMD160 12e15c5584208dcd1db588358df8a7a1c367b0cf SHA1 508663109529b1d380badcc6a5ed09feb2d84b42 SHA256 e4ca42c014bb7de4e4ac5d18c19aee4ddf7124e5089c7e438790ea39e1229130
-MD5 03388a7f9458627b747b634217e598f5 rocksndiamonds-3.2.0.ebuild 2786
-RMD160 12e15c5584208dcd1db588358df8a7a1c367b0cf rocksndiamonds-3.2.0.ebuild 2786
-SHA256 e4ca42c014bb7de4e4ac5d18c19aee4ddf7124e5089c7e438790ea39e1229130 rocksndiamonds-3.2.0.ebuild 2786
EBUILD rocksndiamonds-3.2.2.ebuild 2950 RMD160 e9e56901bcb02f8f0de8c9c2833ff61d1b325286 SHA1 4b4dd27ce613d08a9f7450a6296ad73ff0172620 SHA256 573f9c86a3048aad653bbddc431627448999005158168f3f6ee0afe36b852477
MD5 2619551ef6c7d1952b7df6c31721fb27 rocksndiamonds-3.2.2.ebuild 2950
RMD160 e9e56901bcb02f8f0de8c9c2833ff61d1b325286 rocksndiamonds-3.2.2.ebuild 2950
@@ -39,19 +28,13 @@ MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be525
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
-MD5 dedd07c5a3906304bb2ac3ed15fddb95 files/digest-rocksndiamonds-3.1.2 2073
-RMD160 cadd05f1001b2673d705cf10e84e4c3172d9834c files/digest-rocksndiamonds-3.1.2 2073
-SHA256 de99ae35651a45d256a8d3dbc3e1911d59d43c884f0b2b43859d773167eb5155 files/digest-rocksndiamonds-3.1.2 2073
-MD5 4d9036299513d39a4fd6311fcb311683 files/digest-rocksndiamonds-3.2.0 2268
-RMD160 ba38a10ff1e36559e12bd5cffba26bde07c17391 files/digest-rocksndiamonds-3.2.0 2268
-SHA256 4a2dbf85b81c14dd95003c46c9565c505e3a337bcf8c38dfe4489c05d4ece7e3 files/digest-rocksndiamonds-3.2.0 2268
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)
-iD8DBQFFFR1mamhnQswr0vIRAi/ZAKCkbAS251r1GqIu11289UP2lWTU/wCfaoV/
-8/NbHgThhNN+z8uuPE4H0Ac=
-=J3rV
+iD8DBQFFZgC2dz7hIScOURERAqfzAKCxtnN4abQzTQcNuhQs8t2rs50uqwCgzXwa
+86AJ0xk+5mkJHPf2Z28SK1c=
+=qqNQ
-----END PGP SIGNATURE-----
diff --git a/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.1.2 b/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.1.2
deleted file mode 100644
index 55f1198a0ee2..000000000000
--- a/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.1.2
+++ /dev/null
@@ -1,25 +0,0 @@
-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 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 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 ca201ef0cd6b48f0ae4faf68b9717f02 rnd_jue-v6.zip 9997237
-RMD160 4847529e5bb5802270331cdc81a500f8b8b7efbe rnd_jue-v6.zip 9997237
-SHA256 e301ad119ab0835621ee9a52dd23b34632dbc43926d3f94a60837a1d03734753 rnd_jue-v6.zip 9997237
-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 489d1c1401ef1fe1bd218ba465b05594 rocksndiamonds-3.1.2.tar.gz 3120830
diff --git a/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.2.0 b/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.2.0
deleted file mode 100644
index 22c99fa375f8..000000000000
--- a/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.2.0
+++ /dev/null
@@ -1,27 +0,0 @@
-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 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 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 0403e252fd978095e9546c0f10fa55ac rocksndiamonds-3.2.0.tar.gz 3215788
-RMD160 396eed9b9bb264b3fcb128f7fd26003ed57876f6 rocksndiamonds-3.2.0.tar.gz 3215788
-SHA256 e85175ecbfc91623ec1f6b62fe2b23d69b00cc57482c9c4ddab275de6af60f99 rocksndiamonds-3.2.0.tar.gz 3215788
diff --git a/games-arcade/rocksndiamonds/rocksndiamonds-3.1.2.ebuild b/games-arcade/rocksndiamonds/rocksndiamonds-3.1.2.ebuild
deleted file mode 100644
index 02e9e33c7457..000000000000
--- a/games-arcade/rocksndiamonds/rocksndiamonds-3.1.2.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/rocksndiamonds-3.1.2.ebuild,v 1.2 2006/01/29 00:00:27 joshuabaergen 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/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.jb-line.de/rnd_jue-v6.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="X sdl"
-
-DEPEND="app-arch/unzip
- X? ( || ( x11-libs/libX11 virtual/x11 ) )
- !sdl? ( || ( x11-libs/libX11 virtual/x11 ) )
- 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.
- sed -i \
- -e 's:\$(MAKE_CMD):$(MAKE) -C $(SRC_DIR):' \
- -e '/^MAKE/d' \
- Makefile \
- || die "sed failed"
-
- cd levels
- unpack \
- rnd_jue-v6.zip \
- BD2K3-1.0.0.zip \
- rnd-contrib-1.0.0.tar.gz \
- Snake_Bite-1.0.0.zip \
- Boulder_Dash_Dream-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
-}
diff --git a/games-arcade/rocksndiamonds/rocksndiamonds-3.2.0.ebuild b/games-arcade/rocksndiamonds/rocksndiamonds-3.2.0.ebuild
deleted file mode 100644
index 5cc01c339188..000000000000
--- a/games-arcade/rocksndiamonds/rocksndiamonds-3.2.0.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/rocksndiamonds/rocksndiamonds-3.2.0.ebuild,v 1.1 2006/07/17 03:28:09 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/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.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 virtual/x11 ) )
- !sdl? ( || ( x11-libs/libX11 virtual/x11 ) )
- 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.
- 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 \
- Boulder_Dash_Dream-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
-}