diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-04-30 22:14:12 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-04-30 22:14:12 +0000 |
commit | 15e05b7b148b300d2dc00cc3b12280dce7e63edc (patch) | |
tree | cbb8dc3066b13c32b1c87b1560834374dbc38a5c /media-sound/ecasound | |
parent | Remove old (diff) | |
download | gentoo-2-15e05b7b148b300d2dc00cc3b12280dce7e63edc.tar.gz gentoo-2-15e05b7b148b300d2dc00cc3b12280dce7e63edc.tar.bz2 gentoo-2-15e05b7b148b300d2dc00cc3b12280dce7e63edc.zip |
Bump to 2.6.0, fixes #265940
(Portage version: 2.2_rc31/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/ecasound')
-rw-r--r-- | media-sound/ecasound/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/ecasound/ecasound-2.6.0.ebuild | 86 |
2 files changed, 93 insertions, 2 deletions
diff --git a/media-sound/ecasound/ChangeLog b/media-sound/ecasound/ChangeLog index b2155f86ac77..293a3948bc8d 100644 --- a/media-sound/ecasound/ChangeLog +++ b/media-sound/ecasound/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/ecasound -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.51 2008/11/30 20:06:53 armin76 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.52 2009/04/30 22:14:12 patrick Exp $ + +*ecasound-2.6.0 (30 Apr 2009) + + 30 Apr 2009; Patrick Lauer <patrick@gentoo.org> +ecasound-2.6.0.ebuild: + Bump to 2.6.0, fixes #265940 30 Nov 2008; Raúl Porcel <armin76@gentoo.org> ecasound-2.5.2.ebuild: sparc stable wrt #245697 diff --git a/media-sound/ecasound/ecasound-2.6.0.ebuild b/media-sound/ecasound/ecasound-2.6.0.ebuild new file mode 100644 index 000000000000..ad139d18e5ed --- /dev/null +++ b/media-sound/ecasound/ecasound-2.6.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.6.0.ebuild,v 1.1 2009/04/30 22:14:12 patrick Exp $ + +EAPI=2 + +inherit eutils multilib python + +DESCRIPTION="a package for multitrack audio processing" +HOMEPAGE="http://ecasound.seul.org/ecasound" +SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="alsa arts audiofile debug doc jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile" + +DEPEND="python? ( dev-lang/python ) + jack? ( media-sound/jack-audio-connection-kit ) + media-libs/ladspa-sdk + audiofile? ( media-libs/audiofile ) + alsa? ( media-libs/alsa-lib[midi] ) + vorbis? ( media-libs/libvorbis ) + arts? ( kde-base/arts ) + libsamplerate? ( media-libs/libsamplerate ) + mikmod? ( media-libs/libmikmod ) + ruby? ( dev-lang/ruby ) + python? ( dev-lang/python ) + ncurses? ( sys-libs/ncurses ) + sndfile? ( media-libs/libsndfile ) + sys-libs/readline" + +src_configure() { + local PYConf + + if use python; then + python_version + PYConf="--enable-pyecasound=c + --with-python-includes=/usr/include/python${PYVER} + --with-python-modules=/usr/$(get_libdir)/python${PYVER}" + else + PYConf="$myconf --disable-pyecasound" + fi + + econf $(use_enable alsa) \ + $(use_enable arts) \ + $(use_enable audiofile) \ + $(use_enable debug) \ + $(use_enable jack) \ + $(use_enable libsamplerate) \ + $(use_enable ncurses) \ + $(use_enable oss) \ + $(use_enable ruby rubyecasound) \ + $(use_enable sndfile) \ + --enable-shared \ + --with-largefile \ + --enable-sys-readline \ + ${PYConf} || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc BUGS NEWS README TODO Documentation/*.txt + use doc && dohtml Documentation/*.html +} + +pkg_postinst() { + if use python; then + ebegin "Byte-compiling ${CATEGORY}/${PF} python modules" + python_version + local PYMODULE + for PYMODULE in ecacontrol.py pyeca.py eci.py; do + python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/${PYMODULE} + done + eend $? + fi + if use arts; then + ewarn "WARNING: You have requested ecasound ARTS support," + ewarn "this is no longer supported and will go away in" + ewarn "future releases." + fi +} + +pkg_postrm() { + python_mod_cleanup +} |