diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-12-22 13:35:38 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-12-22 13:35:38 +0000 |
commit | 4bfa2db77f0d2d2c60a7d73477515481ce98e5f8 (patch) | |
tree | 5359a740bab0df88c65dd9b124d640e634f35250 /media-sound/fluidsynth/fluidsynth-1.1.1.ebuild | |
parent | fix .pc file wrt libdir, this causes build failures for packages using pkgcon... (diff) | |
download | historical-4bfa2db77f0d2d2c60a7d73477515481ce98e5f8.tar.gz historical-4bfa2db77f0d2d2c60a7d73477515481ce98e5f8.tar.bz2 historical-4bfa2db77f0d2d2c60a7d73477515481ce98e5f8.zip |
version bump
Package-Manager: portage-2.2_rc60/cvs/Linux x86_64
Diffstat (limited to 'media-sound/fluidsynth/fluidsynth-1.1.1.ebuild')
-rw-r--r-- | media-sound/fluidsynth/fluidsynth-1.1.1.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/media-sound/fluidsynth/fluidsynth-1.1.1.ebuild b/media-sound/fluidsynth/fluidsynth-1.1.1.ebuild new file mode 100644 index 000000000000..9accc1a91536 --- /dev/null +++ b/media-sound/fluidsynth/fluidsynth-1.1.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/fluidsynth/fluidsynth-1.1.1.ebuild,v 1.1 2009/12/22 13:35:38 aballier Exp $ + +EAPI=2 +inherit libtool + +IUSE="alsa debug jack ladspa lash oss portaudio pulseaudio readline sndfile" + +DESCRIPTION="Fluidsynth is a software real-time synthesizer based on the Soundfont 2 specifications." +HOMEPAGE="http://www.fluidsynth.org/" +SRC_URI="http://savannah.nongnu.org/download/fluid/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +RDEPEND=" + >=dev-libs/glib-2.6.5 + jack? ( media-sound/jack-audio-connection-kit ) + ladspa? ( >=media-libs/ladspa-sdk-1.12 + >=media-libs/ladspa-cmt-1.15 ) + alsa? ( media-libs/alsa-lib + lash? ( >=media-sound/lash-0.5 ) ) + pulseaudio? ( >=media-sound/pulseaudio-0.9.8 ) + portaudio? ( >=media-libs/portaudio-19_pre ) + readline? ( sys-libs/readline ) + sndfile? ( media-libs/libsndfile )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${P/7a/7} + +# Alsa is required for lash support in this package. +pkg_setup() { + if use lash && ! use alsa; then + ewarn "ALSA support is required for lash support to be enabled." + ewarn "Continuing with lash support disabled." + fi +} + +src_prepare() { + elibtoolize +} + +src_configure() { + local myconf + + if use alsa; then + myconf="${myconf} $(use_enable lash)" + else + myconf="--disable-lash" + fi + + # ladcca support is deprecated in place of lash + econf \ + --disable-ladcca \ + --disable-dependency-tracking \ + $(use_enable ladspa) \ + $(use_enable jack jack-support) \ + $(use_enable oss oss-support) \ + $(use_enable alsa alsa-support) \ + $(use_enable pulseaudio pulse-support) \ + $(use_enable portaudio portaudio-support) \ + $(use_enable sndfile libsndfile-support) \ + $(use_enable lash) \ + $(use_enable debug) \ + $(use_with readline) \ + ${myconf} || die "./configure failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS NEWS README THANKS TODO +} |