# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/qjackconnect/qjackconnect-0.0.3b-r1.ebuild,v 1.18 2008/04/10 18:44:31 aballier Exp $ inherit qt3 toolchain-funcs IUSE="" DESCRIPTION="A QT based patchbay for the JACK Audio Connection Kit" HOMEPAGE="http://www.suse.de/~mana/jack.html" SRC_URI="ftp://ftp.suse.com/pub/people/mana/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc sparc x86" DEPEND="$(qt_min_version 3.1) media-sound/jack-audio-connection-kit media-libs/alsa-lib" src_unpack() { unpack ${A} cd "${S}" sed \ -e "s:/usr/lib/qt3:/usr/qt/3:" \ -e "s:-O2 -g:${CXXFLAGS}:" \ -e "s:gcc -g -o ${PN}:\$(CXX) \$(LDFLAGS) -o ${PN}:" \ < make_qjackconnect > Makefile } src_compile() { emake CXX="$(tc-getCXX)" || die } src_install() { dobin qjackconnect }