# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=2 inherit flag-o-matic multilib eutils DESCRIPTION="A simple harddisk recorder writing from an input audio stream to a .wav file" HOMEPAGE="http://alsamodular.sourceforge.net/" SRC_URI="mirror://sourceforge/alsamodular/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="x11-libs/qt-gui:4 media-sound/jack-audio-connection-kit media-libs/alsa-lib" DEPEND="${RDEPEND} dev-util/pkgconfig" src_configure() { append-ldflags -L/usr/$(get_libdir)/qt4 econf \ --disable-dependency-tracking } src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README doicon src/pixmaps/qarecord_48.xpm make_desktop_entry "qarecord" \ QARecord qarecord_48 \ 'Recorder;X-Jack;X-Recorders;Audio;AudioVideo;Application;' \ || die "make_desktop_entry failed" }