summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-20 23:05:24 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-20 23:05:24 +0000
commitc8db5f265bd90b58b9b8c10326bd7580c868a72b (patch)
tree46047c1e3fe6d9816772717d5dd8f17e1fcfb2fa /games-arcade
parentMask whoischk. (diff)
downloadhistorical-c8db5f265bd90b58b9b8c10326bd7580c868a72b.tar.gz
historical-c8db5f265bd90b58b9b8c10326bd7580c868a72b.tar.bz2
historical-c8db5f265bd90b58b9b8c10326bd7580c868a72b.zip
Bump patchset to fix FFmpeg >= 0.5 compability wrt #269080, thanks to Wai Ling.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/stepmania/ChangeLog15
-rw-r--r--games-arcade/stepmania/Manifest8
-rw-r--r--games-arcade/stepmania/files/stepmania-3.9-newerffmpeg.diff13
-rw-r--r--games-arcade/stepmania/files/stepmania-3.9-newffmpeg.diff19
-rw-r--r--games-arcade/stepmania/stepmania-3.9-r1.ebuild (renamed from games-arcade/stepmania/stepmania-3.9.ebuild)42
5 files changed, 30 insertions, 67 deletions
diff --git a/games-arcade/stepmania/ChangeLog b/games-arcade/stepmania/ChangeLog
index abbec7021bf7..766914728ce1 100644
--- a/games-arcade/stepmania/ChangeLog
+++ b/games-arcade/stepmania/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-arcade/stepmania
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.28 2009/03/24 21:21:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.29 2009/06/20 23:05:23 ssuominen Exp $
+
+*stepmania-3.9-r1 (20 Jun 2009)
+
+ 20 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> -stepmania-3.9.ebuild,
+ +stepmania-3.9-r1.ebuild, -files/stepmania-3.9-newerffmpeg.diff,
+ -files/stepmania-3.9-newffmpeg.diff:
+ Bump patchset to fix FFmpeg >= 0.5 compability wrt #269080, thanks to Wai Ling.
24 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org> stepmania-3.9.ebuild:
add joystick use dep for bug #263553
@@ -8,12 +15,6 @@
19 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> stepmania-3.9.ebuild:
EAPI=2; add use-based dep
- 24 Nov 2008; <ssuominen@gentoo.org> stepmania-3.9.ebuild:
- Move patchset tarball out of my old dev space to gentoo mirrors.
-
- 24 Nov 2008; <ssuominen@gentoo.org> metadata.xml:
- Remove my old e-mail from metadata.xml. I don't play this.
-
15 Oct 2008; Peter Alfredsen <loki_val@gentoo.org>
+files/stepmania-3.9-newerffmpeg.diff, stepmania-3.9.ebuild:
Fix for ffmpeg 20081014. Bug 242054.
diff --git a/games-arcade/stepmania/Manifest b/games-arcade/stepmania/Manifest
index 535e6169b98f..f84ffbafacb4 100644
--- a/games-arcade/stepmania/Manifest
+++ b/games-arcade/stepmania/Manifest
@@ -1,9 +1,7 @@
AUX stepmania-3.9-gentoo.patch 941 RMD160 d352bf2106973e9a993293d3f1d6f14f7f125a60 SHA1 f8e9d59e85024b4847afe6b6bf164c83475e990a SHA256 eb82b01bcb17d0f09024deb1624e63682a27f49086e43c42b45f85821ba03b2d
-AUX stepmania-3.9-newerffmpeg.diff 636 RMD160 018c6b1a547a504ba147e1cb8385aaaadaba1a6d SHA1 da0e4ccdc987092166f9db730566e8e1f1140ce2 SHA256 0fdf126d3377bffde2404c4d062567ce1066acea1511d7017ae2f2513a0c0b03
-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 2174 RMD160 3e3d9c3355fd78c5cd3a0c36f7620787e14687e0 SHA1 609143aa75e4ffe9422f2a329ff9c5765a64bceb SHA256 d4485b402c2ae33f998d78004e8dd1789f8214dd950d7b24de7cab13b11333c0
-MISC ChangeLog 5327 RMD160 056b8a793e033e437e0a6f985d07aa8e1a5ec931 SHA1 3f8b848f4ff6ed24fcef43903a87f56252a6836f SHA256 da7ac5086062f3cbabf1e149d0b201ba182ebf0b34c580bd09364ac03975d34d
+DIST stepmania-3.9-patches-4.tar.gz 10701 RMD160 5eeae608d976b35b9a027dab514f6f7ca6a9067a SHA1 c4a82f9e726ccecebc71ddf9d9b05a1ac4442fb2 SHA256 1f43bcf349bc1e12afbc98b776f2397d57827d3a7f33416c87354ddaa8a1cb10
+EBUILD stepmania-3.9-r1.ebuild 2080 RMD160 0732d434860eab4818614cae2b2ac33e9284717a SHA1 826ddbddf1de67d9529ddc5f3e24b7daeb1596d1 SHA256 45b4be16b2ee1cfebd190578f0fc76462e9cfb329e52d0bbb0c3398b95cf1f0c
+MISC ChangeLog 5384 RMD160 3fc5cacbd4e74dd1734519f23847e661563b150d SHA1 a6c5f4776e481c14c2475e01a787514b5b8fe564 SHA256 4cf1e3eccaf14b4c5a4fdd8ce8a3c37cf0d3981470313a464081481efc56c7bf
MISC metadata.xml 227 RMD160 ec3da4cb57b0b3b31ced53a9aaf1a50b9aaf5476 SHA1 723fc50dd6141178345702256cb1ee7d8b2b41d0 SHA256 90d49a5ff32830c23dbd4940874b3fe1351f948d38c5e3c9c93220b7b0496814
diff --git a/games-arcade/stepmania/files/stepmania-3.9-newerffmpeg.diff b/games-arcade/stepmania/files/stepmania-3.9-newerffmpeg.diff
deleted file mode 100644
index d8a659da4308..000000000000
--- a/games-arcade/stepmania/files/stepmania-3.9-newerffmpeg.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: StepMania-3.9-src/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp
-===================================================================
---- StepMania-3.9-src.orig/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp
-+++ StepMania-3.9-src/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp
-@@ -574,7 +574,7 @@ int URLRageFile_read( avcodec::URLContex
- return f->Read( buf, size );
- }
-
--avcodec::offset_t URLRageFile_seek( avcodec::URLContext *h, avcodec::offset_t pos, int whence )
-+int64_t URLRageFile_seek( avcodec::URLContext *h, int64_t pos, int whence )
- {
- RageFile *f = (RageFile *) h->priv_data;
- return f->Seek( (int) pos, whence );
diff --git a/games-arcade/stepmania/files/stepmania-3.9-newffmpeg.diff b/games-arcade/stepmania/files/stepmania-3.9-newffmpeg.diff
deleted file mode 100644
index dd6f9a408bfd..000000000000
--- a/games-arcade/stepmania/files/stepmania-3.9-newffmpeg.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- StepMania-3.9-src/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp.1 2008-06-21 14:48:57.000000000 +0200
-+++ StepMania-3.9-src/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp 2008-06-21 14:49:16.000000000 +0200
-@@ -25,14 +25,14 @@
- #else
- extern "C"
- {
--#include <ffmpeg/avformat.h>
-+#include <libavformat/avformat.h>
- }
- #endif
-
- #if !defined(HAVE_IMG_CONVERT)
- extern "C"
- {
--#include <ffmpeg/swscale.h>
-+#include <libswscale/swscale.h>
- }
- #endif // HAVE_IMG_CONVERT
- void img_convert__(AVPicture *dst, int dst_pix_fmt,
diff --git a/games-arcade/stepmania/stepmania-3.9.ebuild b/games-arcade/stepmania/stepmania-3.9-r1.ebuild
index 4a279025a2d0..948362891db8 100644
--- a/games-arcade/stepmania/stepmania-3.9.ebuild
+++ b/games-arcade/stepmania/stepmania-3.9-r1.ebuild
@@ -1,22 +1,22 @@
# Copyright 1999-2009 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.19 2009/03/24 21:21:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/stepmania-3.9-r1.ebuild,v 1.1 2009/06/20 23:05:23 ssuominen Exp $
EAPI=2
inherit autotools eutils games
-MY_PV=${PV/_/-}
-
+MY_P=StepMania-${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
- mirror://gentoo/${PN}-patches-3.tar.bz2"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz
+ mirror://sourceforge/${PN}/${MY_P}-linux.tar.gz
+ http://dev.gentoo.org/~ssuominen/distfiles/${P}-patches-4.tar.gz
+ mirror://gentoo/${P}-patches-4.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug gtk jpeg mad ffmpeg vorbis force-oss"
+IUSE="debug ffmpeg force-oss gtk jpeg mad vorbis"
RESTRICT="test"
@@ -26,31 +26,26 @@ RDEPEND="gtk? ( x11-libs/gtk+:2 )
media-libs/libsdl[joystick,opengl]
jpeg? ( media-libs/jpeg )
media-libs/libpng
- ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080326 )
+ ffmpeg? ( >=media-video/ffmpeg-0.5 )
vorbis? ( media-libs/libvorbis )
virtual/opengl
virtual/glu"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-S=${WORKDIR}/StepMania-${MY_PV}-src
+S=${WORKDIR}/${MY_P}-src
src_prepare() {
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 \
- "${FILESDIR}/${P}-newffmpeg.diff" \
- "${FILESDIR}/${P}-newerffmpeg.diff" #Bug 242054
+ "${FILESDIR}"/${P}-gentoo.patch > "${T}"/${P}.patch
- AT_M4DIR="autoconf/m4"
- eautoreconf
+ EPATCH_SUFFIX=patch epatch "${T}"/${P}.patch "${WORKDIR}"/patches
+ AT_M4DIR=autoconf/m4 eautoreconf
}
src_configure() {
- econf --disable-dependency-tracking \
+ econf \
+ --disable-dependency-tracking \
$(use_with debug) \
$(use_with jpeg) \
$(use_with vorbis) \
@@ -64,22 +59,23 @@ src_install() {
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}
+ cd "${WORKDIR}"/${MY_P}
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
+ dodoc Copying.txt NEWS
+ dohtml README-FIRST.html
- make_desktop_entry ${PN} Stepmania
newicon "Themes/default/Graphics/Common window icon.png" ${PN}.png
+ make_desktop_entry ${PN} StepMania
games_make_wrapper ${PN} "${dir}"/${PN} "${dir}"
-
prepgamesdirs
}