# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/ams/ams-1.8.8_rc2.ebuild,v 1.5 2009/04/30 08:50:54 ssuominen Exp $ inherit eutils qt3 DESCRIPTION="Alsa Modular Software Synthesizer" HOMEPAGE="http://alsamodular.sourceforge.net" SRC_URI="mirror://sourceforge/alsamodular/${P/_/-}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc x86" IUSE="" RDEPEND="media-libs/alsa-lib media-sound/jack-audio-connection-kit =x11-libs/qt-3* =sci-libs/fftw-2* media-libs/ladspa-sdk media-libs/ladspa-cmt media-plugins/mcp-plugins media-plugins/swh-plugins media-libs/libclalsadrv" # File collision /usr/bin/ams wrt #247812 DEPEND="${RDEPEND} !dev-ruby/amrita" S=${WORKDIR}/${P/_/-} src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-spectrumscreen.patch } src_compile() { eqmake3 emake || die "emake failed." } src_install() { dobin ${PN} dodoc README THANKS insinto /usr/share/${PN} doins -r demos instruments tutorial *.mid } pkg_postinst() { elog "Upstream HOMEPAGE also suggests following packages to be installed:" elog "- media-plugins/amb-plugins" elog "- media-plugins/rev-plugins" elog "- media-plugins/vco-plugins" }