summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-01-26 03:26:55 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-01-26 03:26:55 +0000
commit28d5270f30b32129af2d7ff35938a0cd8034dc4b (patch)
treeafc58ad24400d58aee3c408c5c2ebb3753eea045 /games-arcade/rocksndiamonds
parentRemove ksirc patch from 3.5.6, thanks to Volker Hemmann for reporting in bug ... (diff)
downloadgentoo-2-28d5270f30b32129af2d7ff35938a0cd8034dc4b.tar.gz
gentoo-2-28d5270f30b32129af2d7ff35938a0cd8034dc4b.tar.bz2
gentoo-2-28d5270f30b32129af2d7ff35938a0cd8034dc4b.zip
version bump
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-arcade/rocksndiamonds')
-rw-r--r--games-arcade/rocksndiamonds/ChangeLog11
-rw-r--r--games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.2.333
-rw-r--r--games-arcade/rocksndiamonds/files/rocksndiamonds-3.2.3-parallel-build.patch13
-rw-r--r--games-arcade/rocksndiamonds/rocksndiamonds-3.2.3.ebuild97
4 files changed, 152 insertions, 2 deletions
diff --git a/games-arcade/rocksndiamonds/ChangeLog b/games-arcade/rocksndiamonds/ChangeLog
index b4718c1bca03..4ff9ef278fd2 100644
--- a/games-arcade/rocksndiamonds/ChangeLog
+++ b/games-arcade/rocksndiamonds/ChangeLog
@@ -1,6 +1,13 @@
# 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,
diff --git a/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.2.3 b/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.2.3
new file mode 100644
index 000000000000..1a27c21bfdcb
--- /dev/null
+++ b/games-arcade/rocksndiamonds/files/digest-rocksndiamonds-3.2.3
@@ -0,0 +1,33 @@
+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
diff --git a/games-arcade/rocksndiamonds/files/rocksndiamonds-3.2.3-parallel-build.patch b/games-arcade/rocksndiamonds/files/rocksndiamonds-3.2.3-parallel-build.patch
new file mode 100644
index 000000000000..8e3a565c7d36
--- /dev/null
+++ b/games-arcade/rocksndiamonds/files/rocksndiamonds-3.2.3-parallel-build.patch
@@ -0,0 +1,13 @@
+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)
diff --git a/games-arcade/rocksndiamonds/rocksndiamonds-3.2.3.ebuild b/games-arcade/rocksndiamonds/rocksndiamonds-3.2.3.ebuild
new file mode 100644
index 000000000000..84b8630e0e5a
--- /dev/null
+++ b/games-arcade/rocksndiamonds/rocksndiamonds-3.2.3.ebuild
@@ -0,0 +1,97 @@
+# 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
+}