# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Om is a realtime modular synthesizer for GNU/Linux audio systems using the Jack audio server and LADSPA or DSSI plugins." HOMEPAGE="http://www.nongnu.org/om-synth/" SRC_URI="http://savannah.nongnu.org/download/om-synth/om-${PV}.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="debug ladspa dssi gtk lash alsa patch-loader" DEPEND=" >=media-libs/alsa-lib-1.0 >=media-sound/jack-audio-connection-kit-0.99.0 >=media-libs/liblo-0.22 >=dev-libs/libxml2-2.6 gtk? ( >=dev-cpp/gtkmm-2.4 >=dev-cpp/libgnomecanvasmm-2.6 >=dev-cpp/libglademm-2.4 ) " RDEPEND="" #src_unpack() { # pwd # read # unpack ${A} # #if use ppc; then # # epatch ${FILESDIR}/${PV}-OSS.patch # #fi #} src_compile() { if use dssi; then ewarn "i don't care if dssi is in portage, sorry!" fi if use lash; then ewarn "i don't care if lash is in portage, sorry!" fi cd ${WORKDIR}/om-${PV} econf $(use_enable gtk gtk-client) \ $(use_enable patch-loader patch-loader) \ $(use_enable ladspa ladspa) \ $(use_enable dssi dssi) \ $(use_enable lash lash) \ $(use_enable alsa alsa) \ $(use_enable debug debug) \ || die "Failed configuring om-synth!" emake || die "Failed making om-synth!" } src_install() { cd ${WORKDIR}/om-${PV} dodoc AUTHORS COPYING INSTALL NEWS README THANKS TODO dobin src/engine/om dobin src/clients/gtk/src/om_gtk dobin src/clients/demolition/om_demolition dobin src/clients/patch_loader/om_patch_loader insinto ${D}/usr/share/${P} for i in src/clients/patches/*.om; do doins "$i"; done }