# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit qt4-r2 DESCRIPTION="Tool to measure loudspeaker frequency and step response, distortions' SPL and so on." HOMEPAGE="http://qt-apps.org/content/show.php/QLoud?content=57174" SRC_URI="http://gaydenko.com/qloud/download/${P}.tar.bz2" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="x11-libs/qwt:6 x11-libs/qt-gui:4 media-sound/jack-audio-connection-kit media-libs/libsndfile sci-libs/fftw" RDEPEND="${DEPEND}" S=${WORKDIR}/${PN}-${PV:0:3} src_prepare() { cd ${S} echo "INCLUDEPATH += ${EPREFIX}/usr/include/qwt6" >> src/src.pro sed \ -e 's:lqwt:lqwt6:g' \ -i src/src.pro || die } src_install() { dobin bin/qloud || die "Binary installation failed" dodoc INSTALL COPYING README || die "Doc installation failed" }