diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-01-13 07:38:37 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-01-13 07:38:37 +0000 |
commit | ceb74922c384a738571922e6b52d761017647f5a (patch) | |
tree | 5639cc3af2b0214143baf67f0be49b57e79004db /media-plugins/swh-plugins/swh-plugins-0.4.15-r1.ebuild | |
parent | Mask >=sci-chemistry/burrow-owl-1.4 pending unmasking of guile-gnome-platform... (diff) | |
download | gentoo-2-ceb74922c384a738571922e6b52d761017647f5a.tar.gz gentoo-2-ceb74922c384a738571922e6b52d761017647f5a.tar.bz2 gentoo-2-ceb74922c384a738571922e6b52d761017647f5a.zip |
Use system libgsm, bug #252890
(Portage version: 2.2_rc21/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'media-plugins/swh-plugins/swh-plugins-0.4.15-r1.ebuild')
-rw-r--r-- | media-plugins/swh-plugins/swh-plugins-0.4.15-r1.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/media-plugins/swh-plugins/swh-plugins-0.4.15-r1.ebuild b/media-plugins/swh-plugins/swh-plugins-0.4.15-r1.ebuild new file mode 100644 index 000000000000..1146f8089b24 --- /dev/null +++ b/media-plugins/swh-plugins/swh-plugins-0.4.15-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/swh-plugins/swh-plugins-0.4.15-r1.ebuild,v 1.1 2009/01/13 07:38:36 aballier Exp $ + +inherit eutils autotools + +DESCRIPTION="Large collection of LADSPA audio plugins/effects" +HOMEPAGE="http://plugin.org.uk" +SRC_URI="http://plugin.org.uk/releases/${PV}/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="3dnow nls sse" + +RDEPEND="media-libs/ladspa-sdk + media-sound/gsm + >=sci-libs/fftw-3" +DEPEND="${RDEPEND} + sys-devel/gettext + dev-util/cvs + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/${P}-pic.patch" + epatch "${FILESDIR}/${P}-plugindir.patch" + epatch "${FILESDIR}/${P}-riceitdown.patch" + epatch "${FILESDIR}/${P}-gettext.patch" + + # Use system libgsm, bug #252890 + rm -rf gsm + epatch "${FILESDIR}/${P}-system_gsm.patch" + + # This is to update gettext macros, otherwise they are incompatible with + # recent libtools, bug #231767 + autopoint -f || die + + # it doesn't get updated otherwise + rm -f missing + + eautoreconf + elibtoolize +} + +src_compile() { + econf ${myconf} \ + $(use_enable sse) \ + $(use_enable 3dnow) \ + $(use_enable nls) \ + $(use_enable userland_Darwin darwin) \ + --enable-fast-install \ + --disable-dependency-tracking || die "econf failed" + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog README TODO +} + +pkg_postinst() { + ewarn "WARNING: You have to be careful when using the" + ewarn "swh plugins. Be sure to lower your sound volume" + ewarn "and then play around a bit with the plugins so" + ewarn "you get a feeling for it. Otherwise your speakers" + ewarn "won't like that." +} |