summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Charles Campbell <warpzero@gentoo.org>2005-05-21 05:39:10 +0000
committerJoshua Charles Campbell <warpzero@gentoo.org>2005-05-21 05:39:10 +0000
commitf48dc25483589a5e022b78042f8a92cecf5a6ba7 (patch)
tree85807df681ea1fd2f1558d6c1d3439e398403b35 /games-arcade/stepmania
parentmask x11-misc/pathfinder as well for rphillips (diff)
downloadhistorical-f48dc25483589a5e022b78042f8a92cecf5a6ba7.tar.gz
historical-f48dc25483589a5e022b78042f8a92cecf5a6ba7.tar.bz2
historical-f48dc25483589a5e022b78042f8a92cecf5a6ba7.zip
LOOSEN UP AND LETS GET READY TO GROOVE
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-arcade/stepmania')
-rw-r--r--games-arcade/stepmania/ChangeLog10
-rw-r--r--games-arcade/stepmania/Manifest5
-rw-r--r--games-arcade/stepmania/files/digest-stepmania-3.9_rc32
-rw-r--r--games-arcade/stepmania/files/stepmania-3.9-rc3-gentoo.patch21
-rw-r--r--games-arcade/stepmania/stepmania-3.9_rc3.ebuild79
5 files changed, 114 insertions, 3 deletions
diff --git a/games-arcade/stepmania/ChangeLog b/games-arcade/stepmania/ChangeLog
index 21a6d274ae7c..3b8f88ca761b 100644
--- a/games-arcade/stepmania/ChangeLog
+++ b/games-arcade/stepmania/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-arcade/stepmania
-# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.2 2004/12/01 04:08:52 warpzero Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.3 2005/05/21 05:39:10 warpzero Exp $
+
+*stepmania-3.9_rc3 (21 May 2005)
+
+ 21 May 2005; Joshua Charles Campbell <warpzero@gentoo.org>
+ +files/stepmania-3.9-rc3-gentoo.patch, +stepmania-3.9_rc3.ebuild:
+ bump on the bizump
*stepmania-rc2 (07 Nov 2004)
diff --git a/games-arcade/stepmania/Manifest b/games-arcade/stepmania/Manifest
index 1c238d702bc5..603ae98c49e7 100644
--- a/games-arcade/stepmania/Manifest
+++ b/games-arcade/stepmania/Manifest
@@ -1,5 +1,8 @@
+MD5 fe2bd39b664d2e0de94062e8cdd52dc5 stepmania-3.9_rc3.ebuild 1946
MD5 fc8ea31377dda50487575c3e8e2197da stepmania-3.9_rc2.ebuild 1947
-MD5 d4c6f34e0e03229e9677fe03c9d68f70 ChangeLog 543
+MD5 407e358eab84d81a928c9babdbf5f57d ChangeLog 728
MD5 f3ebb905cea252821e25daaddca4b456 metadata.xml 331
MD5 c677a89ef81e3059eb5cf189c563b5ac files/stepmania-3.9-rc2a-gentoo.patch 987
MD5 1f6776bc0e064c03ef664e7484d15f81 files/digest-stepmania-3.9_rc2 153
+MD5 8ecd81c0e2caeeb512ce65e2c72279ba files/digest-stepmania-3.9_rc3 150
+MD5 7680563f58b063abc61c82a9c55a12d4 files/stepmania-3.9-rc3-gentoo.patch 985
diff --git a/games-arcade/stepmania/files/digest-stepmania-3.9_rc3 b/games-arcade/stepmania/files/digest-stepmania-3.9_rc3
new file mode 100644
index 000000000000..6f7360a766d7
--- /dev/null
+++ b/games-arcade/stepmania/files/digest-stepmania-3.9_rc3
@@ -0,0 +1,2 @@
+MD5 0bfda8ed58362575083d6dc9b8a32a96 StepMania-3.9-rc3-src.tar.gz 3035711
+MD5 1c1279d20bf7f11f96b0aaa65aaebcce StepMania-3.9-rc3-linux.tar.gz 9515927
diff --git a/games-arcade/stepmania/files/stepmania-3.9-rc3-gentoo.patch b/games-arcade/stepmania/files/stepmania-3.9-rc3-gentoo.patch
new file mode 100644
index 000000000000..cf242ed77945
--- /dev/null
+++ b/games-arcade/stepmania/files/stepmania-3.9-rc3-gentoo.patch
@@ -0,0 +1,21 @@
+--- StepMania-3.9-rc3-src/src/RageFileManager.cpp 2004-09-06 03:36:12.000000000 -0600
++++ StepMania-3.9-rc3-src/src/RageFileManager.cpp 2005-05-15 00:22:41.000000000 -0600
+@@ -154,7 +154,7 @@
+ * scores. It would need to handle permissions properly. */
+ /* RageFileManager::Mount( "dir", "/var/lib/games/stepmania", "Data/Profiles" ); */
+
+- // CString Home = getenv( "HOME" ) + "/" + PRODUCT_NAME;
++ CString Home = ssprintf( "%s/%s", getenv( "HOME" ), PACKAGE );
+
+ /*
+ * Next: path to write general mutable user data. If the above path fails (eg.
+@@ -181,7 +181,8 @@
+ if( Root == "" )
+ RageException::Throw( "Couldn't find \"Songs\"" );
+
+- RageFileManager::Mount( "dir", Root, "" );
++ RageFileManager::Mount( "dir", Home, "" );
++ RageFileManager::Mount( "dir", "/usr/share/games/stepmania", "" );
+ #elif defined(_WINDOWS)
+ /* All Windows data goes in the directory one level above the executable. */
+ CHECKPOINT_M( ssprintf( "DOE \"%s\"", DirOfExecutable.c_str()) );
diff --git a/games-arcade/stepmania/stepmania-3.9_rc3.ebuild b/games-arcade/stepmania/stepmania-3.9_rc3.ebuild
new file mode 100644
index 000000000000..7cc57535c54c
--- /dev/null
+++ b/games-arcade/stepmania/stepmania-3.9_rc3.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/stepmania-3.9_rc3.ebuild,v 1.1 2005/05/21 05:39:10 warpzero Exp $
+
+inherit eutils games
+
+IUSE="debug gtk jpeg mad mpeg oggvorbis"
+
+MY_PV="${PV/_/-}"
+S="${WORKDIR}/StepMania-${MY_PV}-src"
+SMDATA="${WORKDIR}/StepMania-${MY_PV}"
+DESCRIPTION="An advanced DDR simulator"
+HOMEPAGE="http://www.stepmania.com/stepmania/"
+SRC_URI="mirror://sourceforge/stepmania/StepMania-${MY_PV}-src.tar.gz
+ mirror://sourceforge/stepmania/StepMania-${MY_PV}-linux.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="x86 ~ppc"
+
+DEPEND="gtk? ( >=x11-libs/gtk+-2.0 )
+ mad? ( media-libs/libmad )
+ >=dev-lang/lua-5.0
+ media-libs/libsdl
+ jpeg? ( media-libs/jpeg )
+ media-libs/libpng
+ sys-libs/zlib
+ mpeg? ( media-video/ffmpeg )
+ oggvorbis? ( media-libs/libvorbis )
+ virtual/opengl"
+
+pkg_setup() {
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/stepmania-${MY_PV}-gentoo.patch
+ cd ${S}
+}
+
+src_compile() {
+ local myconf
+ use debug && myconf="${myconf} --with-debug"
+ use jpeg || myconf="${myconf} --without-jpeg"
+ use oggvorbis || myconf="${myconf} --without-vorbis"
+ use mad || myconf="${myconf} --without-mp3"
+ use gtk || myconf="${myconf} --disable-gtk2"
+
+ econf ${myconf} || die "Configure failed"
+
+ emake || die "Make failed"
+}
+
+src_install() {
+ local dir=${GAMES_DATADIR}/${PN}
+
+ dodir ${dir}
+ exeinto ${dir}
+ doexe src/stepmania || die "Install failed"
+ if use gtk; then
+ doexe src/GtkModule.so || die "Install failed"
+ fi
+
+ insinto ${dir}
+
+ cd ${SMDATA}
+ doins Copying.txt NEWS README-FIRST.html || die "Install failed"
+ cp -r Announcers BGAnimations CDTitles Characters Courses Data Docs \
+ NoteSkins RandomMovies Songs Themes Visualizations ${D}/${dir} || die "Install failed"
+
+ games_make_wrapper stepmania ${dir}/stepmania ${dir}
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+}