From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/synaesthesia: synaesthesia-2.4.ebuild |
Date: | Mon, 11 May 2009 13:43:09 |
Message-Id: | E1M3Vmd-0006sK-DR@stork.gentoo.org |
1 | ssuominen 09/05/11 13:43:07 |
2 | |
3 | Modified: synaesthesia-2.4.ebuild |
4 | Log: |
5 | Small QA fix. |
6 | (Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.4 media-sound/synaesthesia/synaesthesia-2.4.ebuild |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/synaesthesia/synaesthesia-2.4.ebuild?rev=1.4&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/synaesthesia/synaesthesia-2.4.ebuild?rev=1.4&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/synaesthesia/synaesthesia-2.4.ebuild?r1=1.3&r2=1.4 |
14 | |
15 | Index: synaesthesia-2.4.ebuild |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/media-sound/synaesthesia/synaesthesia-2.4.ebuild,v |
18 | retrieving revision 1.3 |
19 | retrieving revision 1.4 |
20 | diff -u -r1.3 -r1.4 |
21 | --- synaesthesia-2.4.ebuild 24 Mar 2008 13:04:02 -0000 1.3 |
22 | +++ synaesthesia-2.4.ebuild 11 May 2009 13:43:07 -0000 1.4 |
23 | @@ -1,6 +1,8 @@ |
24 | # Copyright 1999-2008 Gentoo Foundation |
25 | # Distributed under the terms of the GNU General Public License v2 |
26 | -# $Header: /var/cvsroot/gentoo-x86/media-sound/synaesthesia/synaesthesia-2.4.ebuild,v 1.3 2008/03/24 13:04:02 coldwind Exp $ |
27 | +# $Header: /var/cvsroot/gentoo-x86/media-sound/synaesthesia/synaesthesia-2.4.ebuild,v 1.4 2009/05/11 13:43:07 ssuominen Exp $ |
28 | + |
29 | +EAPI=2 |
30 | |
31 | DESCRIPTION="a nice graphical accompaniment to music" |
32 | HOMEPAGE="http://www.logarithmic.net/pfh/synaesthesia" |
33 | @@ -14,20 +16,18 @@ |
34 | RDEPEND="x11-libs/libXext |
35 | x11-libs/libSM |
36 | esd? ( >=media-sound/esound-0.2.22 ) |
37 | - sdl? ( >=media-libs/libsdl-1.2.0 ) |
38 | + sdl? ( >=media-libs/libsdl-1.2 ) |
39 | svga? ( >=media-libs/svgalib-1.4.3 )" |
40 | DEPEND="${RDEPEND} |
41 | x11-proto/xextproto" |
42 | |
43 | -src_unpack() { |
44 | - unpack ${A} |
45 | - cd "${S}" |
46 | - sed -i -e "/CFLAGS=/s:-O4:${CFLAGS}:" \ |
47 | - -e "/CXXFLAGS=/s:-O4:${CXXFLAGS}:" configure |
48 | - sed -i -e 's:void inline:inline void:' syna.h |
49 | +src_prepare() { |
50 | + sed -e "/CFLAGS=/s:-O4:${CFLAGS}:" \ |
51 | + -e "/CXXFLAGS=/s:-O4:${CXXFLAGS}:" -i configure || die "sed failed" |
52 | + sed -e 's:void inline:inline void:' -i syna.h || die "sed failed" |
53 | } |
54 | |
55 | src_install() { |
56 | - emake DESTDIR="${D}" install || die "emake install failed." |
57 | + emake DESTDIR="${D}" install || die "emake install failed" |
58 | dodoc README |
59 | } |