# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Free Music Instrument Tuner" HOMEPAGE="http://home.gna.org/fmit/" #SRC_URI="http://download.gna.org/fmit/fmit-0.97.0.tar.bz2" SRC_URI="http://download.gna.org/fmit/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" #IUSE="debug alsa alsatest oss jack portaudio" # --enable-portaudio fails IUSE="debug alsa alsatest oss jack" DEPEND=">=x11-libs/qt-3.3.5 >=sci-libs/fftw-3.0.1 virtual/glut" RDEPEND="alsa? ( media-libs/alsa-lib ) \ jack? ( media-sound/jack-audio-connection-kit ) \ portaudio? ( media-libs/portaudio )" src_compile() { myconf="${myconf} $(use_enable debug) \ $(use_enable alsa) \ $(use_enable oss) \ $(use_enable jack)" econf ${myconf} || die "econf failed!" emake || die "emake failed!" } src_install() { emake DESTDIR="${D}" install || die "Install failed" }