summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-11 13:43:07 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-11 13:43:07 +0000
commit97c6a2ca4e5f873fc741879f91a17e2960a8e0a4 (patch)
tree41333ad98d7ddcacad5b2f1be2223c7b5b85d347 /media-sound/synaesthesia
parent* bump (diff)
downloadgentoo-2-97c6a2ca4e5f873fc741879f91a17e2960a8e0a4.tar.gz
gentoo-2-97c6a2ca4e5f873fc741879f91a17e2960a8e0a4.tar.bz2
gentoo-2-97c6a2ca4e5f873fc741879f91a17e2960a8e0a4.zip
Small QA fix.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/synaesthesia')
-rw-r--r--media-sound/synaesthesia/synaesthesia-2.4.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/media-sound/synaesthesia/synaesthesia-2.4.ebuild b/media-sound/synaesthesia/synaesthesia-2.4.ebuild
index b7a93864afb7..505a1fcf036c 100644
--- a/media-sound/synaesthesia/synaesthesia-2.4.ebuild
+++ b/media-sound/synaesthesia/synaesthesia-2.4.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/synaesthesia/synaesthesia-2.4.ebuild,v 1.3 2008/03/24 13:04:02 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/synaesthesia/synaesthesia-2.4.ebuild,v 1.4 2009/05/11 13:43:07 ssuominen Exp $
+
+EAPI=2
DESCRIPTION="a nice graphical accompaniment to music"
HOMEPAGE="http://www.logarithmic.net/pfh/synaesthesia"
@@ -14,20 +16,18 @@ IUSE="sdl svga esd"
RDEPEND="x11-libs/libXext
x11-libs/libSM
esd? ( >=media-sound/esound-0.2.22 )
- sdl? ( >=media-libs/libsdl-1.2.0 )
+ sdl? ( >=media-libs/libsdl-1.2 )
svga? ( >=media-libs/svgalib-1.4.3 )"
DEPEND="${RDEPEND}
x11-proto/xextproto"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i -e "/CFLAGS=/s:-O4:${CFLAGS}:" \
- -e "/CXXFLAGS=/s:-O4:${CXXFLAGS}:" configure
- sed -i -e 's:void inline:inline void:' syna.h
+src_prepare() {
+ sed -e "/CFLAGS=/s:-O4:${CFLAGS}:" \
+ -e "/CXXFLAGS=/s:-O4:${CXXFLAGS}:" -i configure || die "sed failed"
+ sed -e 's:void inline:inline void:' -i syna.h || die "sed failed"
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed."
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc README
}