1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 DESCRIPTION="Modular audio synthesizer using Jack, LADSPA, DSSI etc."
6 HOMEPAGE="http://www.nongnu.org/om-synth/"
7 SRC_URI="http://savannah.nongnu.org/download/om-synth/${P}.tar.gz"
9 IUSE="alsa debug dssi gtk ladspa lash patch-loader"
14 RDEPEND=">=media-libs/liblo-0.22
15 media-sound/jack-audio-connection-kit
16 alsa? ( >=media-libs/alsa-lib-1.0 )
17 dssi? ( media-libs/dssi )
18 ladspa? ( media-libs/ladspa-sdk )
19 lash? ( >=media-sound/lash-0.5.0 )
20 patch-loader? ( dev-libs/libxml2 )
21 gtk? ( >=dev-cpp/gtkmm-2.4
22 >=dev-cpp/libgnomecanvasmm-2.6
23 >=dev-cpp/libglademm-2.4.1 )"
29 if use gtk && ! use patch-loader ; then
30 eerror 'USE="gtk" requires USE="patch-loader" too.'
31 die "gtk without patch-loader detected"
41 $(use_enable ladspa) \
43 $(use_enable patch-loader) \
44 $(use_enable gtk gtk-client) \
47 emake || die "emake failed"
51 emake DESTDIR="${D}" install || die "emake install failed"
52 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
57 elog "NOTE: If you want to be able to run the om-synth example"
58 elog "patches (in /usr/share/om/patches/), please install the"
59 elog "media-plugins/omins (>=0.2.0) package, too."