Portage is a package management system used by Gentoo Linux
# ChangeLog for games-arcade/stepmania
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.22 2008/06/21 13:20:46 hanno Exp $
21 Jun 2008; Hanno Boeck
+files/stepmania-3.9-newffmpeg.diff, stepmania-3.9.ebuild:
Fix paths for latest ffmpeg.
14 Apr 2008; Samuli Suominen
Bumping patch level to 3 for bug 216128, GCC 4.3 compability patch by
David Carlos Manuelda.
08 Mar 2008; Samuli Suominen
Bump patchset to fix bug 203935, configure dying without ffmpeg available.
15 Sep 2007; Samuli Suominen
Changed SRC_URI to gentoo mirrors.
07 Aug 2007; Samuli Suominen
-files/stepmania-3.9-64bits.patch, -files/stepmania-3.9-alias.patch,
-files/stepmania-3.9-alsa.patch, -files/stepmania-3.9-crashfix.patch,
-files/stepmania-3.9-ffmpeg.patch,
-files/stepmania-3.9-ffmpeg-stdint.patch,
-files/stepmania-3.9-gcc41.patch, -files/stepmania-3.9-gettid.patch,
-files/stepmania-3.9-lua51.patch, -files/stepmania-3.9-sdl.patch,
-files/stepmania-3.9-vorbis.patch, stepmania-3.9.ebuild:
Fix remaining issues, building with ffmpeg and swscale, without jpeg and
others. Move all patches to tarball since they are about 60 kilobytes.
Thanks to Petri "Akheron" Lehtinen for making this possible.
01 Aug 2007; Samuli Suominen
+files/stepmania-3.9-crashfix.patch,
+files/stepmania-3.9-ffmpeg-stdint.patch,
+files/stepmania-3.9-gettid.patch, +files/stepmania-3.9-lua51.patch,
files/stepmania-3.9-vorbis.patch, stepmania-3.9.ebuild:
Fix building with lua-5.1, ffmpeg-0.4.9_p20070330, glibc-2.5, bugs 159023,
165266. Thanks to Stephen Bridges, Nicolas Litchinko and Petri Lehtinen.
12 Dec 2006; Chris Gianelloni
+files/stepmania-3.9-alias.patch, stepmania-3.9.ebuild:
Added patch from Charles Christie
#148781.
10 Dec 2006; Tristan Heaven
Fix typo and cleanup, bug #157601
01 Dec 2006; Chris Gianelloni
Added built_with_use check for bug #156609.
17 Nov 2006; Michael Sterrett
stable for x86
24 Oct 2006;
stepmania-3.9.ebuild:
Compilation on amd64 fixed. Bug #138365 by Bryan Jacobs
10 Sep 2006;
stepmania-3.9.ebuild:
Fixing stepmania SDL error. Bug #135440 by Damien THEBAULT
01 Jun 2006;
stepmania-3.9.ebuild:
Fix ogg support, bug #131418 by Nicolas Blanco
12 May 2006; Chris Gianelloni
Changed maintainer back to games since warpzero is being retired.
*stepmania-3.9 (26 Apr 2006)
26 Apr 2006;
+files/stepmania-3.9-ffmpeg.patch, +files/stepmania-3.9-gcc41.patch,
+files/stepmania-3.9-gentoo.patch, +stepmania-3.9.ebuild:
Bumped version, bug #109535 by Robert Lundmark
Adding ffmpeg and alsa patch thanks to Damien THEBAULT
Adding menu icon thanks to Simon Ruggier
Adding USE flag force-oss, bug #94554 by Loïc Lacombe
Fixing compilation with gcc-4.1, bug #127693 by zyprexa,
thanks to Hanno Meyer-Thurow
13 Apr 2006; Chris Gianelloni
stepmania-3.9_rc2.ebuild, stepmania-3.9_rc3.ebuild:
Removed redundant pkg_setup.
24 Mar 2006; Chris Gianelloni
stepmania-3.9_rc2.ebuild, stepmania-3.9_rc3.ebuild:
Removing unnecessary pkg_postinst.
06 Sep 2005; Chris Gianelloni
stepmania-3.9_rc2.ebuild, stepmania-3.9_rc3.ebuild:
oggvorbis -> vorbis for bug #94254.
07 Jun 2005; Malcolm Lashley
~amd64 - closes bug #94997
*stepmania-3.9_rc3 (21 May 2005)
21 May 2005; Joshua Charles Campbell
+files/stepmania-3.9-rc3-gentoo.patch, +stepmania-3.9_rc3.ebuild:
bump on the bizump
*stepmania-rc2 (07 Nov 2004)
30 Nov 2004; Joshua Charles Campbell warpzero@gentoo.org stepmania-3.9_rc2.ebuild :
Fixed keywords.
07 Nov 2004; Joshua Charles Campbell warpzero@gentoo.org stepmania-3.9-rc2a-gentoo.patch, stepmania-3.9_rc2.ebuild :
Initial import. Ebuild submitted by Sean Burke sburke@onewest.net
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX stepmania-3.9-gentoo.patch 941 RMD160 d352bf2106973e9a993293d3f1d6f14f7f125a60 SHA1 f8e9d59e85024b4847afe6b6bf164c83475e990a SHA256 eb82b01bcb17d0f09024deb1624e63682a27f49086e43c42b45f85821ba03b2d
AUX stepmania-3.9-newffmpeg.diff 527 RMD160 b78e8cd88ad14605afb4bf7c1876b02fe8b4df3f SHA1 5b715fffdc52ca39e4e4a25d2ed65b4994a6ba31 SHA256 b2f735b1532b782f2aac9d99e793ab7e86856c6cf18ae9d6f9b21729f6a05ab8
DIST StepMania-3.9-linux.tar.gz 10174400 RMD160 426b11d652669be85753161f2cd03f2fe81df860 SHA1 100b1a2771fec1d208798ef03ba164259a589bf2 SHA256 ccb6e549e8d026e79de7d6bbfadc7f1ac7f7c05242a90edf56cf652f5ddeaae0
DIST StepMania-3.9-src.tar.gz 3090223 RMD160 e7451192fe67f53a7a93baf99bf9a20bc3d1f7cf SHA1 b2d2c3a50c23506844ba7e22289e59d270bb8b2e SHA256 31082d388fa64b9764aee4d7628f377bc0fe47b8f157b8bcc66d9e3678479c85
DIST stepmania-patches-3.tar.bz2 10043 RMD160 6d120931f7482fbe2908eb4d3f34a8b3e4a99b5d SHA1 26b835c0316b07a42d92ede3ecd51485a477d845 SHA256 e5f988b7e404846612f5bb327d0c3bbf2552de0ef20fde9943510b00fc54502c
EBUILD stepmania-3.9.ebuild 2304 RMD160 610fb0938363f372365b9e5eb3434294d1869254 SHA1 c3f0804e485316945a68b7b308af2371c8d8c3e9 SHA256 f2ff6301a2b00bcfb83af2bd25c9834937e2bcdd2dafe6287e593e4362a845e4
MISC ChangeLog 4563 RMD160 8048b17b3da8937a084238ebb326261d41cf1622 SHA1 b4909b0087f9ed855edab3a885ecaadb8ba9cde1 SHA256 427196c18b8329752e3044c91fc1a0f8e245e0fc5abaf6f5766411d253952595
MISC metadata.xml 252 RMD160 e411517dfb6780a014783443250bcc27b2f2ab55 SHA1 2b0c462d2a8f8ef492eec0126df154578d704c2d SHA256 9d0e4b5866a81feafc2114ba80b39a45e341eb905734f978cbabc588bcabcd85
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhdADsACgkQr2QksT29OyDXbgCfYzkV7qG0ShOsTW+xu689+1PI
4M8AoJ8UewSsk7OYjOkbREEJo6Ycskqm
=eLR7
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/stepmania-3.9.ebuild,v 1.14 2008/06/21 13:20:46 hanno Exp $
inherit autotools eutils games
MY_PV=${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
http://dev.gentoo.org/~drac/${PN}-patches-3.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug gtk jpeg mad ffmpeg vorbis force-oss"
RESTRICT="test"
RDEPEND="gtk? ( >=x11-libs/gtk+-2 )
mad? ( media-libs/libmad )
>=dev-lang/lua-5
media-libs/libsdl
jpeg? ( media-libs/jpeg )
media-libs/libpng
ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20070330 )
vorbis? ( media-libs/libvorbis )
virtual/opengl
virtual/glu"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/StepMania-${MY_PV}-src
pkg_setup() {
games_pkg_setup
built_with_use media-libs/libsdl opengl \
|| die "You need to compile media-libs/libsdl with USE=opengl."
}
src_unpack() {
unpack ${A}
cd "${S}"
sed "s:/usr/share/games/${PN}:${GAMES_DATADIR}/${PN}:" \
"${FILESDIR}"/${P}-gentoo.patch > "${T}"/gentoo.patch
EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patches
epatch "${T}"/gentoo.patch
epatch "${FILESDIR}/${P}-newffmpeg.diff"
AT_M4DIR="autoconf/m4"
eautoreconf
}
src_compile() {
econf --disable-dependency-tracking \
$(use_with debug) \
$(use_with jpeg) \
$(use_with vorbis) \
$(use_with mad mp3) \
$(use_enable gtk gtk2) \
$(use_enable force-oss)
emake || die "emake failed."
}
src_install() {
local dir=${GAMES_DATADIR}/${PN}
exeinto "${dir}"
doexe src/stepmania || die "doexe failed"
if use gtk; then
doexe src/GtkModule.so || die "doexe failed"
fi
cd "${WORKDIR}"/StepMania-${MY_PV}
insinto "${dir}"
doins -r Announcers BGAnimations CDTitles Characters Courses Data Docs \
NoteSkins RandomMovies Songs Themes Visualizations || die "doins failed"
dodoc Copying.txt NEWS README-FIRST.html
make_desktop_entry ${PN} Stepmania
newicon "Themes/default/Graphics/Common window icon.png" ${PN}.png
games_make_wrapper ${PN} "${dir}"/${PN} "${dir}"
prepgamesdirs
}