ChangeLog

# 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.45 2008/05/29 14:26:59 hawking Exp $

29 May 2008; Ali Polatel ecasound-2.4.6.1.ebuild:
python_mod_compile is ROOT aware.

*ecasound-2.4.6.1 (06 May 2008)

06 May 2008; Samuli Suominen
+files/ecasound-2.4.6.1-gcc43.patch, +ecasound-2.4.6.1.ebuild:
Version bump for bug 220429 with GCC 4.3 patch by Peter Alfredsen.

16 Jan 2008; Fabian Groffen ecasound-2.4.3.ebuild,
ecasound-2.4.4.ebuild, ecasound-2.4.5.ebuild:
Dropped ppc-macos keyword, see you in prefix

07 Jul 2007; Diego Pettenò ecasound-2.4.5.ebuild:
Remember that ebuild(1) will not clean environment. Fix missing built_with_use.

06 Jul 2007; Diego Pettenò ecasound-2.4.5.ebuild:
Add a pkg_setup check for midi USE flag in alsa-lib.

02 Jul 2007; Diego Pettenò metadata.xml:
Hand to newly-born proaudio herd.

*ecasound-2.4.5 (15 Jun 2007)

15 Jun 2007; Samuli Suominen +ecasound-2.4.5.ebuild:
Version bump for bug 169371. Thanks to Risto Paju.

*ecasound-2.4.4 (08 Jul 2006)

08 Jul 2006; Frank van de Pol +ecasound-2.4.4.ebuild:
Version bump to 2.4.4. Closes bug #134872.

25 Jan 2006; Diego Pettenò -ecasound-2.3.3.ebuild:
Drop old version with broken PIC handling.

25 Jan 2006; Gustavo Zacarias ecasound-2.4.3.ebuild:
Stable on sparc wrt #115259

23 Jan 2006; Simon Stelling ecasound-2.4.3.ebuild:
stable on amd64

22 Jan 2006; Diego Pettenò ecasound-2.4.3.ebuild:
Use $(get_libdir) to get the site's dir for python modules.

26 Dec 2005; Luca Barbato ecasound-2.3.3.ebuild,
ecasound-2.4.3.ebuild:
oggvorbis Cleanup

15 Dec 2005; Diego Pettenò -ecasound-2.3.2.ebuild,
-ecasound-2.4.0.ebuild, -ecasound-2.4.1.ebuild, -ecasound-2.4.2.ebuild,
ecasound-2.4.3.ebuild:
Removed old version and fixed pic handling in latest version.

*ecasound-2.4.3 (09 Dec 2005)

09 Dec 2005; +ecasound-2.4.3.ebuild:
Version bump; closes bug #113007.

04 Sep 2005; Diego Pettenò ecasound-2.3.2.ebuild,
ecasound-2.3.3.ebuild, ecasound-2.4.0.ebuild, ecasound-2.4.1.ebuild,
ecasound-2.4.2.ebuild:
Don't install COPYING and INSTALL files.

*ecasound-2.4.2 (07 Aug 2005)

07 Aug 2005; Kito +ecasound-2.4.2.ebuild:
version bump. Ebuild cleanup, several use flags added -
debug,ruby,sndfile,libsamplerate.

*ecasound-2.4.1 (21 Apr 2005)

21 Apr 2005; Kito +ecasound-2.4.1.ebuild:
version bump. closes Bug #87392

*ecasound-2.4.0 (29 Mar 2005)

29 Mar 2005; Jan Brinkmann metadata.xml,
+ecasound-2.4.0.ebuild:
new upstream release, fixes #86668. updated metadata.xml, torbenh is retired.

22 Sep 2004; Jeremy Huddleston
ecasound-2.3.3.ebuild:
Removed sparc conditional around jack.

12 Jul 2004; Jeremy Huddleston
ecasound-2.3.3.ebuild:
Stable amd64

01 Jul 2004; Jeremy Huddleston
ecasound-2.3.2.ebuild, ecasound-2.3.3.ebuild:
virtual/glibc -> virtual/libc

28 Jun 2004; Jeremy Huddleston
ecasound-2.3.3.ebuild:
--with-pic for amd64. Marking ~amd64.

15 Jun 2004; Jeremy Huddleston
-ecasound-2.2.3.ebuild, -ecasound-2.3.0.ebuild:
Stable sparc and x86. Added -amd64 (Bug #54034). Removed old versions.

13 Jun 2004; Jeremy Huddleston
ecasound-2.2.3.ebuild, ecasound-2.3.0.ebuild, ecasound-2.3.2.ebuild,
ecasound-2.3.3.ebuild:
Getting rid of virtual/jack.

07 May 2004; David Holm ecasound-2.3.3.ebuild:
Added to ~ppc.

06 May 2004; Jeremy Huddleston
ecasound-2.3.3.ebuild:
Added to ~sparc.

*ecasound-2.3.3 (06 May 2004)

06 May 2004; Jeremy Huddleston
ecasound-2.3.3.ebuild:
Version bump closes bug #50102.

11 Mar 2004; Jeremy Huddleston
ecasound-2.3.0.ebuild, ecasound-2.3.2.ebuild:
Stable on x86.

28 Feb 2004; Jeremy Huddleston
ecasound-2.2.3.ebuild, ecasound-2.3.0.ebuild, ecasound-2.3.2.ebuild:
Added audiofile local USE flag for audiofile support checking.

*ecasound-2.3.2 (22 Jan 2004)

22 Jan 2004; ecasound-2.3.0.ebuild,
ecasound-2.3.2.ebuild:
fixed ecasound-2.3.0
added ecasound-2.3.2

22 Jan 2004; ecasound-2.2.3.ebuild,
ecasound-2.3.0.ebuild, metadata.xml:
Added sed Statements to fix alsa-1.0 compile Bug

17 Oct 2003; Martin Holzer ecasound-2.2.3.ebuild,
ecasound-2.3.0.ebuild:
adding jack IUSE. Closes #31048.

*ecasound-2.3.0 (20 Sep 2003)

20 Sep 2003; jje ecasound-2.3.0.ebuild:
Version bump. Closes #27593.

Submitted by: Kasper Souren

*ecasound-2.2.3 (18 May 2003)

18 May 2003; jje ecasound-2.0.4.ebuild,
ecasound-2.0.4.ebuild, ecasound-2.2.0.ebuild, ecasound-2.2.0.ebuild,
ecasound-2.2.3.ebuild:
Fix IUSE, no audiofile use flag. Remove old versions.

18 May 2003; jje ecasound-2.2.3.ebuild:
Version bump.

*ecasound-2.2.0 (29 Jan 2003)

29 Jan 2003; Tobias Eichert ecasound-2.2.0.ebuild
files/digest-ecasound-2.2.0:

Version bump.

15 Jan 2003; Nick Hadaway ecasound-2.2.0_rc1.ebuild :
changed jack depend to virtual/jack

*ecasound-2.2.0_rc1 ( 8 Jan 2003)

8 Jan 2003; Tobias Eichert ecasound-2.2.0_rc1.ebuild
files/digest-ecasound-2.2.0_rc1

Version bump.
Added "media-sound/jack-audio-connection-kit" as a dependency.
Anyways, jack support is optional but we don't have a jack USE
flag (see bug #12527). If you really like to compile ecasound
with jack disabled, just remove this dependency.
Thanks to Paul Thompson for contribution
and minor ebuild cleanups. Closes bug #12381.

*ecasound-2.0.4 (04 Aug 2002)

25 Mar 2003; Seemant Kulleen ecasound-2.0.4.ebuild,
ecasound-2.2.0.ebuild, ecasound-2.2.0_rc1.ebuild, ecasound-2.2.0_rc1.ebuild:
libmikmod to mikmod in USE, ffs, please check use.desc before adding flags
haphazardly

04 Aug 2002; Michael Nazaroff ecasound-2.0.4.ebuild:

Added initial ChangeLog which should be updated whenever the package is updated in
any way. This changelog is targetted to users. This means that the comments should
well explained and written in clean English. The details about writing correct
changelogs are explained in the skel.ChangeLog file which you can find in the root
directory of the portage repository. Thanks to Jay Felice
for the ebuild.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX ecasound-2.4.6.1-gcc43.patch 1358 RMD160 42a5d7616726acba1e493df36c96d69b492d677c SHA1 0272e4e56b22fb841138a5272e85e530d8334343 SHA256 4dba2c3c32eaf113cacb657beb6e7de26d1d0edaacbe3d8823098453e08a36f0
DIST ecasound-2.4.3.tar.gz 1112995 RMD160 c79ac8e4965155d0cd2eb80f981fc959f899bef3 SHA1 680c46276aae1eb9b6cb5bbe62337e945eb7f2f8 SHA256 18e198993d4fe696ffc495b2229d99c75583015b4b2429349fab2d5219057945
DIST ecasound-2.4.4.tar.gz 1128867 RMD160 7b9cefaea2f088c26894cf21ce121611147297cd SHA1 771aed6d6e96ae67876ef5302331ad5e6e7fbe45 SHA256 dd6afb770f97894763310d4435c1ab4ceb6529f0c0c9c790d126f22ea6f8bf77
DIST ecasound-2.4.5.tar.gz 946918 RMD160 fec2a974d8014b1530b51044678b76540ba1f9aa SHA1 28ec718f5d174819adc382744176a0e245ae704f SHA256 462f5c395ead6559ba17f4bde113084fa543660bd8637cc9d686cedc481d4768
DIST ecasound-2.4.6.1.tar.gz 949606 RMD160 6c95d83d751b293671011ee5432af7aa4e8d05cc SHA1 92afbb97bf918d907df2827a6e037c251b2768d2 SHA256 0443801a6c77fea9d537474f931177740944be59ace20d2b40410eea09d861ea
EBUILD ecasound-2.4.3.ebuild 3080 RMD160 23e30f43c4d22f921681d25902b422046fe5e399 SHA1 2b1e99c63585364d0b044b21fc5eda7cf91ce374 SHA256 c39e983280a9401fff5cec026b838536360b4a8ad5b299e26398199f7e92cbe2
EBUILD ecasound-2.4.4.ebuild 3083 RMD160 1eb5cb7a7ba25a7fa3d45d4d8c2d44bd4df2db15 SHA1 5a10bb9d04d5219414a742b0ccd174f875cc9dab SHA256 ea3ab8dede27ae859ebe908eea496977278bbdb0ffa81d0289980ab376144355
EBUILD ecasound-2.4.5.ebuild 3361 RMD160 c08e12eccff6e32983e5cbeb3655b4b2a3003580 SHA1 a2528ca585910a43736947c6d9d2e6c4b8a1fcd8 SHA256 91b4a4d5b60125e9d2a14eaca909fb1b915b34b260ecc21c60dc378e8995d2e1
EBUILD ecasound-2.4.6.1.ebuild 2600 RMD160 4f55e6424a6916a66ac45082fab2ef392b1d02ef SHA1 35179a022df961399b553f0c2a48b1d51acaaa24 SHA256 c4df9e8fadee36100d3fc64ea604332b2c739fe727b571f9c094106435cab41b
MISC ChangeLog 7131 RMD160 e56fe1f21051cb94d03fde134ab1494f3ee3de68 SHA1 363894ea2ddf4a2de1c93f0812675911cb917ec5 SHA256 258cb5bedd252b49d626e5e6e92fddd2c391ebd6adfddfba8d6cc180db587327
MISC metadata.xml 756 RMD160 6d3c33eeed4fd27e66efc39cef9df6e4f6c0c85c SHA1 ad6acbd92059cb3a42c63831bea1cca257918199 SHA256 1f0d3106e16d53e9dc59cbb3c5859e07d8381231e7eb0812eb6bf971e99aa37c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkg+vTQACgkQQU4yORhF8iBmqQCgrls/RUDYXCmP7BiEuchqYLoe
C+kAoI1d1aZGXdLpfk0mbW/mQGucXyr+
=9ma3
-----END PGP SIGNATURE-----

ecasound-2.4.3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.4.3.ebuild,v 1.9 2008/01/16 18:22:20 grobian Exp $

inherit multilib

IUSE="alsa arts audiofile debug jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile"

DESCRIPTION="A package for multitrack audio processing"
SRC_URI="http://ecasound.seul.org/download/${P}.tar.gz"
HOMEPAGE="http://eca.cx/"
LICENSE="GPL-2"

SLOT="1"
KEYWORDS="amd64 ~ppc sparc x86"

DEPEND="jack? ( media-sound/jack-audio-connection-kit )
media-libs/ladspa-sdk
audiofile? ( media-libs/audiofile )
alsa? ( media-libs/alsa-lib )
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 )"

# We don't make RDEPEND for vorbis-tools, mpg123/mpg321, timidity++ or lame -- no
# use flags for them.

src_unpack() {
unpack ${A}
cd ${S}

sed -i 's:map.h:map:g' configure
}

src_compile () {
local myconf

myconf="${myconf} --enable-shared --with-largefile"

if use python; then
#
# ecasound is braindead about finding python includes/libdirs and
# about where to install modules. Luckily, it allows us to specify
# all this.
#
local python_version python_prefix python_includes python_modules
if use userland_Darwin ; then
myconf="$myconf --enable-pyecasound=python"
else
myconf="$myconf --enable-pyecasound=c"
fi
python_version="`python -c 'import sys; print sys.version[:3]'`"
python_prefix="`python -c 'import sys; print sys.prefix'`"

python_includes="$python_prefix/include/python$python_version"
python_modules="$python_prefix/$(get_libdir)/python$python_version"

myconf="$myconf --with-python-includes=$python_includes"
myconf="$myconf --with-python-modules=$python_modules"
else
myconf="$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) \
${myconf} \
|| die "configure failed"
make || die "build failed"
}

src_install () {
make DESTDIR=${D} install || die

if use python; then
cd pyecasound || die
python -c "import compileall; compileall.compile_dir('.')" || die
python -O -c "import compileall; compileall.compile_dir('.')" || die
python_sitepkgsdir="`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3] + '/site-packages/')"`"
install *.pyc *.pyo "${D}/${python_sitepkgsdir}"
cd ..
fi

dodoc BUGS NEWS README TODO
dohtml `find Documentation -name "*.html"`
dodoc Documentation/edi-list.txt
}

pkg_postinst() {
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
}

ecasound-2.4.4.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.4.4.ebuild,v 1.3 2008/01/16 18:22:20 grobian Exp $

inherit multilib

IUSE="alsa arts audiofile debug jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile"

DESCRIPTION="A package for multitrack audio processing"
SRC_URI="http://ecasound.seul.org/download/${P}.tar.gz"
HOMEPAGE="http://eca.cx/"
LICENSE="GPL-2"

SLOT="1"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"

DEPEND="jack? ( media-sound/jack-audio-connection-kit )
media-libs/ladspa-sdk
audiofile? ( media-libs/audiofile )
alsa? ( media-libs/alsa-lib )
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 )"

# We don't make RDEPEND for vorbis-tools, mpg123/mpg321, timidity++ or lame -- no
# use flags for them.

src_unpack() {
unpack ${A}
cd ${S}

sed -i 's:map.h:map:g' configure
}

src_compile () {
local myconf

myconf="${myconf} --enable-shared --with-largefile"

if use python; then
#
# ecasound is braindead about finding python includes/libdirs and
# about where to install modules. Luckily, it allows us to specify
# all this.
#
local python_version python_prefix python_includes python_modules
if use userland_Darwin ; then
myconf="$myconf --enable-pyecasound=python"
else
myconf="$myconf --enable-pyecasound=c"
fi
python_version="`python -c 'import sys; print sys.version[:3]'`"
python_prefix="`python -c 'import sys; print sys.prefix'`"

python_includes="$python_prefix/include/python$python_version"
python_modules="$python_prefix/$(get_libdir)/python$python_version"

myconf="$myconf --with-python-includes=$python_includes"
myconf="$myconf --with-python-modules=$python_modules"
else
myconf="$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) \
${myconf} \
|| die "configure failed"
make || die "build failed"
}

src_install () {
make DESTDIR=${D} install || die

if use python; then
cd pyecasound || die
python -c "import compileall; compileall.compile_dir('.')" || die
python -O -c "import compileall; compileall.compile_dir('.')" || die
python_sitepkgsdir="`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3] + '/site-packages/')"`"
install *.pyc *.pyo "${D}/${python_sitepkgsdir}"
cd ..
fi

dodoc BUGS NEWS README TODO
dohtml `find Documentation -name "*.html"`
dodoc Documentation/edi-list.txt
}

pkg_postinst() {
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
}

ecasound-2.4.5.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.4.5.ebuild,v 1.4 2008/01/16 18:22:20 grobian Exp $

inherit multilib eutils

DESCRIPTION="a package for multitrack audio processing"
SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz"
HOMEPAGE="http://eca.cx"

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"

RDEPEND="jack? ( media-sound/jack-audio-connection-kit )
media-libs/ladspa-sdk
audiofile? ( media-libs/audiofile )
alsa? ( media-libs/alsa-lib )
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"
DEPEND="${RDEPEND}"

# We don't make RDEPEND for vorbis-tools, mpg123/mpg321, timidity++ or lame -- no
# use flags for them.

pkg_setup() {
if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
eerror ""
eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you"
eerror "need to have built media-libs/alsa-lib with midi USE flag."
die "Missing midi USE flag on media-libs/alsa-lib"
fi
}

src_compile () {
local myconf

myconf="${myconf} --enable-shared --with-largefile --enable-sys-readline"

if use python; then
# ecasound is braindead about finding python includes/libdirs and
# about where to install modules. Luckily, it allows us to specify
# all this.
local python_version python_prefix python_includes python_modules
if use userland_Darwin ; then
myconf="$myconf --enable-pyecasound=python"
else
myconf="$myconf --enable-pyecasound=c"
fi
python_version="`python -c 'import sys; print sys.version[:3]'`"
python_prefix="`python -c 'import sys; print sys.prefix'`"

python_includes="$python_prefix/include/python$python_version"
python_modules="$python_prefix/$(get_libdir)/python$python_version"

myconf="$myconf --with-python-includes=$python_includes"
myconf="$myconf --with-python-modules=$python_modules"
else
myconf="$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) \
${myconf}

emake || die "emake failed."
}

src_install () {
emake DESTDIR="${D}" install || die "emake install failed."

if use python; then
cd pyecasound
python -c "import compileall; compileall.compile_dir('.')" || die
python -O -c "import compileall; compileall.compile_dir('.')" || die
python_sitepkgsdir="`python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3] + '/site-packages/')"`"
install *.pyc *.pyo "${D}/${python_sitepkgsdir}"
cd ..
fi

dodoc BUGS NEWS README TODO Documentation/*.txt
use doc && dohtml Documentation/*.html
}

pkg_postinst() {
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
}

ecasound-2.4.6.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.4.6.1.ebuild,v 1.2 2008/05/29 14:26:59 hawking Exp $

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 )
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"

pkg_setup() {
if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
die "Re-emerge media-libs/alsa-lib with USE midi."
fi
}

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc43.patch
}

src_compile() {
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"

emake || die "emake 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
}

files

metadata.xml




proaudio


Ecasound is a software package designed for multitrack audio
processing. It can be used for simple tasks like audio playback,
recording and format conversions, as well as for multitrack
effect processing, mixing, recording and signal recycling.
Ecasound supports a wide range of audio inputs, outputs and
effect algorithms. Effects and audio objects can be combined
in various ways, and their parameters can be controlled by operator
objects like oscillators and MIDI-CCs. A versatile console mode
user-interface is included in the package.