Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/stepmania: ChangeLog stepmania-3.9-r1.ebuild stepmania-3.9.ebuild
Date: Sat, 20 Jun 2009 23:05:43
Message-Id: E1MI9ch-0003mz-KV@stork.gentoo.org
1 ssuominen 09/06/20 23:05:23
2
3 Modified: ChangeLog
4 Added: stepmania-3.9-r1.ebuild
5 Removed: stepmania-3.9.ebuild
6 Log:
7 Bump patchset to fix FFmpeg >= 0.5 compability wrt #269080, thanks to Wai Ling.
8 (Portage version: 2.2_rc33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.29 games-arcade/stepmania/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/stepmania/ChangeLog?rev=1.29&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/stepmania/ChangeLog?rev=1.29&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/stepmania/ChangeLog?r1=1.28&r2=1.29
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v
20 retrieving revision 1.28
21 retrieving revision 1.29
22 diff -u -r1.28 -r1.29
23 --- ChangeLog 24 Mar 2009 21:21:23 -0000 1.28
24 +++ ChangeLog 20 Jun 2009 23:05:23 -0000 1.29
25 @@ -1,6 +1,13 @@
26 # ChangeLog for games-arcade/stepmania
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.28 2009/03/24 21:21:23 mr_bones_ Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.29 2009/06/20 23:05:23 ssuominen Exp $
30 +
31 +*stepmania-3.9-r1 (20 Jun 2009)
32 +
33 + 20 Jun 2009; Samuli Suominen <ssuominen@g.o> -stepmania-3.9.ebuild,
34 + +stepmania-3.9-r1.ebuild, -files/stepmania-3.9-newerffmpeg.diff,
35 + -files/stepmania-3.9-newffmpeg.diff:
36 + Bump patchset to fix FFmpeg >= 0.5 compability wrt #269080, thanks to Wai Ling.
37
38 24 Mar 2009; Michael Sterrett <mr_bones_@g.o> stepmania-3.9.ebuild:
39 add joystick use dep for bug #263553
40 @@ -8,12 +15,6 @@
41 19 Jan 2009; Michael Sterrett <mr_bones_@g.o> stepmania-3.9.ebuild:
42 EAPI=2; add use-based dep
43
44 - 24 Nov 2008; <ssuominen@g.o> stepmania-3.9.ebuild:
45 - Move patchset tarball out of my old dev space to gentoo mirrors.
46 -
47 - 24 Nov 2008; <ssuominen@g.o> metadata.xml:
48 - Remove my old e-mail from metadata.xml. I don't play this.
49 -
50 15 Oct 2008; Peter Alfredsen <loki_val@g.o>
51 +files/stepmania-3.9-newerffmpeg.diff, stepmania-3.9.ebuild:
52 Fix for ffmpeg 20081014. Bug 242054.
53
54
55
56 1.1 games-arcade/stepmania/stepmania-3.9-r1.ebuild
57
58 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/stepmania/stepmania-3.9-r1.ebuild?rev=1.1&view=markup
59 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/stepmania/stepmania-3.9-r1.ebuild?rev=1.1&content-type=text/plain
60
61 Index: stepmania-3.9-r1.ebuild
62 ===================================================================
63 # Copyright 1999-2009 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 # $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/stepmania-3.9-r1.ebuild,v 1.1 2009/06/20 23:05:23 ssuominen Exp $
66
67 EAPI=2
68 inherit autotools eutils games
69
70 MY_P=StepMania-${PV}
71 DESCRIPTION="An advanced DDR simulator"
72 HOMEPAGE="http://www.stepmania.com/stepmania/"
73 SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz
74 mirror://sourceforge/${PN}/${MY_P}-linux.tar.gz
75 http://dev.gentoo.org/~ssuominen/distfiles/${P}-patches-4.tar.gz
76 mirror://gentoo/${P}-patches-4.tar.gz"
77
78 LICENSE="MIT"
79 SLOT="0"
80 KEYWORDS="~amd64 ~ppc ~x86"
81 IUSE="debug ffmpeg force-oss gtk jpeg mad vorbis"
82
83 RESTRICT="test"
84
85 RDEPEND="gtk? ( x11-libs/gtk+:2 )
86 mad? ( media-libs/libmad )
87 >=dev-lang/lua-5
88 media-libs/libsdl[joystick,opengl]
89 jpeg? ( media-libs/jpeg )
90 media-libs/libpng
91 ffmpeg? ( >=media-video/ffmpeg-0.5 )
92 vorbis? ( media-libs/libvorbis )
93 virtual/opengl
94 virtual/glu"
95 DEPEND="${RDEPEND}
96 dev-util/pkgconfig"
97
98 S=${WORKDIR}/${MY_P}-src
99
100 src_prepare() {
101 sed "s:/usr/share/games/${PN}:${GAMES_DATADIR}/${PN}:" \
102 "${FILESDIR}"/${P}-gentoo.patch > "${T}"/${P}.patch
103
104 EPATCH_SUFFIX=patch epatch "${T}"/${P}.patch "${WORKDIR}"/patches
105 AT_M4DIR=autoconf/m4 eautoreconf
106 }
107
108 src_configure() {
109 econf \
110 --disable-dependency-tracking \
111 $(use_with debug) \
112 $(use_with jpeg) \
113 $(use_with vorbis) \
114 $(use_with mad mp3) \
115 $(use_enable gtk gtk2) \
116 $(use_enable force-oss)
117 }
118
119 src_install() {
120 local dir=${GAMES_DATADIR}/${PN}
121
122 exeinto "${dir}"
123 doexe src/stepmania || die "doexe failed"
124
125 if use gtk; then
126 doexe src/GtkModule.so || die "doexe failed"
127 fi
128
129 cd "${WORKDIR}"/${MY_P}
130
131 insinto "${dir}"
132 doins -r Announcers BGAnimations CDTitles Characters Courses Data Docs \
133 NoteSkins RandomMovies Songs Themes Visualizations || die "doins failed"
134
135 dodoc Copying.txt NEWS
136 dohtml README-FIRST.html
137
138 newicon "Themes/default/Graphics/Common window icon.png" ${PN}.png
139 make_desktop_entry ${PN} StepMania
140
141 games_make_wrapper ${PN} "${dir}"/${PN} "${dir}"
142 prepgamesdirs
143 }