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-r2.ebuild |
Date: | Wed, 24 Feb 2010 21:26:08 |
Message-Id: | E1NkOk6-0000mR-K7@stork.gentoo.org |
1 | ssuominen 10/02/24 21:26:02 |
2 | |
3 | Modified: ChangeLog |
4 | Added: stepmania-3.9-r2.ebuild |
5 | Log: |
6 | Fix crash with "Select Style" wrt #298611. |
7 | (Portage version: 2.2_rc63/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.33 games-arcade/stepmania/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/stepmania/ChangeLog?rev=1.33&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/stepmania/ChangeLog?rev=1.33&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/stepmania/ChangeLog?r1=1.32&r2=1.33 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v |
19 | retrieving revision 1.32 |
20 | retrieving revision 1.33 |
21 | diff -u -r1.32 -r1.33 |
22 | --- ChangeLog 7 Sep 2009 07:30:11 -0000 1.32 |
23 | +++ ChangeLog 24 Feb 2010 21:26:02 -0000 1.33 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for games-arcade/stepmania |
26 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.32 2009/09/07 07:30:11 ssuominen Exp $ |
28 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.33 2010/02/24 21:26:02 ssuominen Exp $ |
30 | + |
31 | +*stepmania-3.9-r2 (24 Feb 2010) |
32 | + |
33 | + 24 Feb 2010; Samuli Suominen <ssuominen@g.o> |
34 | + +stepmania-3.9-r2.ebuild: |
35 | + Fix crash with "Select Style" wrt #298611. |
36 | |
37 | 07 Sep 2009; Samuli Suominen <ssuominen@g.o> |
38 | stepmania-3.9-r1.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 games-arcade/stepmania/stepmania-3.9-r2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/stepmania/stepmania-3.9-r2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/stepmania/stepmania-3.9-r2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: stepmania-3.9-r2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/stepmania-3.9-r2.ebuild,v 1.1 2010/02/24 21:26:02 ssuominen Exp $ |
52 | |
53 | EAPI=2 |
54 | inherit autotools eutils games |
55 | |
56 | MY_P=StepMania-${PV} |
57 | DESCRIPTION="An advanced DDR simulator" |
58 | HOMEPAGE="http://www.stepmania.com/stepmania/" |
59 | SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz |
60 | mirror://sourceforge/${PN}/${MY_P}-linux.tar.gz |
61 | http://dev.gentoo.org/~ssuominen/${P}-patches-6.tar.bz2" |
62 | |
63 | LICENSE="MIT" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~ppc ~x86" |
66 | IUSE="debug ffmpeg force-oss gtk jpeg mad vorbis" |
67 | |
68 | RESTRICT="test" |
69 | |
70 | RDEPEND="gtk? ( x11-libs/gtk+:2 ) |
71 | mad? ( media-libs/libmad ) |
72 | >=dev-lang/lua-5 |
73 | media-libs/libsdl[joystick,opengl] |
74 | jpeg? ( media-libs/jpeg ) |
75 | media-libs/libpng |
76 | ffmpeg? ( >=media-video/ffmpeg-0.5 ) |
77 | vorbis? ( media-libs/libvorbis ) |
78 | virtual/opengl |
79 | virtual/glu" |
80 | DEPEND="${RDEPEND} |
81 | dev-util/pkgconfig" |
82 | |
83 | S=${WORKDIR}/${MY_P}-src |
84 | |
85 | src_prepare() { |
86 | sed "s:/usr/share/games/${PN}:${GAMES_DATADIR}/${PN}:" \ |
87 | "${FILESDIR}"/${P}-gentoo.patch > "${T}"/${P}.patch |
88 | |
89 | EPATCH_SUFFIX=patch epatch "${T}"/${P}.patch "${WORKDIR}"/patches |
90 | AT_M4DIR=autoconf/m4 eautoreconf |
91 | } |
92 | |
93 | src_configure() { |
94 | econf \ |
95 | --disable-dependency-tracking \ |
96 | $(use_with debug) \ |
97 | $(use_with jpeg) \ |
98 | $(use_with vorbis) \ |
99 | $(use_with mad mp3) \ |
100 | $(use_enable gtk gtk2) \ |
101 | $(use_enable force-oss) |
102 | } |
103 | |
104 | src_install() { |
105 | local dir=${GAMES_DATADIR}/${PN} |
106 | |
107 | exeinto "${dir}" |
108 | doexe src/stepmania || die "doexe failed" |
109 | |
110 | if use gtk; then |
111 | doexe src/GtkModule.so || die "doexe failed" |
112 | fi |
113 | |
114 | cd "${WORKDIR}"/${MY_P} |
115 | |
116 | insinto "${dir}" |
117 | doins -r Announcers BGAnimations CDTitles Characters Courses Data Docs \ |
118 | NoteSkins RandomMovies Songs Themes Visualizations || die "doins failed" |
119 | |
120 | dodoc Copying.txt NEWS |
121 | dohtml README-FIRST.html |
122 | |
123 | newicon "Themes/default/Graphics/Common window icon.png" ${PN}.png |
124 | make_desktop_entry ${PN} StepMania |
125 | |
126 | games_make_wrapper ${PN} "${dir}"/${PN} "${dir}" |
127 | prepgamesdirs |
128 | } |