# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/meterbridge/meterbridge-0.9.3.ebuild,v 1.1 2011/04/26 18:21:07 aballier Exp $ EAPI=2 inherit eutils autotools DESCRIPTION="Software meterbridge for the UNIX based JACK audio system." HOMEPAGE="http://plugin.org.uk/meterbridge/" SRC_URI="http://plugin.org.uk/meterbridge/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" RDEPEND="media-sound/jack-audio-connection-kit >=media-libs/libsdl-1.2 >=media-libs/sdl-image-1.2.10[png] virtual/opengl" DEPEND="${RDEPEND} dev-util/pkgconfig" src_prepare() { epatch "${FILESDIR}"/${P}-gcc41.patch epatch "${FILESDIR}"/${P}-asneeded.patch epatch "${FILESDIR}"/${P}-cflags.patch eautoreconf } src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog }