diff options
author | 2006-06-30 16:36:07 +0000 | |
---|---|---|
committer | 2006-06-30 16:36:07 +0000 | |
commit | 4bb693be0f44dc79d3dafe00c99df727cfbbf40d (patch) | |
tree | ab74d81d7180a2137e38493eb5c2390db5b97c3b /media-sound/om/om-0.2.0.ebuild | |
parent | scripts/sunrise-commit: Added option to disable auto-formatting of commit mes... (diff) | |
download | sunrise-4bb693be0f44dc79d3dafe00c99df727cfbbf40d.tar.gz sunrise-4bb693be0f44dc79d3dafe00c99df727cfbbf40d.tar.bz2 sunrise-4bb693be0f44dc79d3dafe00c99df727cfbbf40d.zip |
media-sound/om: Initial ebuild (om-0.2.0.ebuild) for bug #107187 Thanks to Pär Karlsson <feinorgh@telia.com>, [xaero] <xaero@inwind.it> and Jouni Rinne <jouni.rinne@saunalahti.fi>
svn path=/sunrise/; revision=396
Diffstat (limited to 'media-sound/om/om-0.2.0.ebuild')
-rw-r--r-- | media-sound/om/om-0.2.0.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/om/om-0.2.0.ebuild b/media-sound/om/om-0.2.0.ebuild new file mode 100644 index 000000000..94e2d6bac --- /dev/null +++ b/media-sound/om/om-0.2.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Modular audio synthesizer using Jack, LADSPA, DSSI etc." +HOMEPAGE="http://www.nongnu.org/om-synth/" +SRC_URI="http://savannah.nongnu.org/download/om-synth/${P}.tar.gz" + +IUSE="alsa debug dssi gtk ladspa lash patch-loader" +LICENSE="GPL-2" +KEYWORDS="~x86" +SLOT="0" + +RDEPEND=">=media-libs/liblo-0.22 + media-sound/jack-audio-connection-kit + alsa? ( >=media-libs/alsa-lib-1.0 ) + dssi? ( media-libs/dssi ) + ladspa? ( media-libs/ladspa-sdk ) + lash? ( >=media-sound/lash-0.5.0 ) + patch-loader? ( >=dev-libs/libxml2-2.6i ) + gtk? ( >=dev-cpp/gtkmm-2.4 + >=dev-cpp/libgnomecanvasmm-2.6 + >=dev-cpp/libglademm-2.4.1 )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +pkg_setup() { + if use gtk && !use patch-loader ; then + eerror "USE="gtk" requires USE="patch-loader" too." + die + fi +} + +src_compile() { + + econf \ + $(use_enable alsa) \ + $(use_enable debug) \ + $(use_enable dssi) \ + $(use_enable ladspa) \ + $(use_enable lash) \ + $(use_enable patch-loader) \ + $(use_enable gtk gtk-client) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR=${D} install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS TODO +} + +pkg_postinst() { + einfo "" + einfo "NOTE: If you want to be able to run the om-synth example" + einfo "patches (in /usr/share/om/patches/), please install the" + einfo "media-plugins/omins (>=0.2.0) package, too." + einfo "" +} |