diff options
author | Torben Hohn <torbenh@gentoo.org> | 2004-01-22 12:26:41 +0000 |
---|---|---|
committer | Torben Hohn <torbenh@gentoo.org> | 2004-01-22 12:26:41 +0000 |
commit | bc3499dce2fa8db15d3b68d0dfeb737f3f3de325 (patch) | |
tree | 4f56015c75c14cc4006bd625786e8e8b4cd0ab1e /media-sound/ecasound | |
parent | fixed 2.3.0; added 2.3.2 (diff) | |
download | gentoo-2-bc3499dce2fa8db15d3b68d0dfeb737f3f3de325.tar.gz gentoo-2-bc3499dce2fa8db15d3b68d0dfeb737f3f3de325.tar.bz2 gentoo-2-bc3499dce2fa8db15d3b68d0dfeb737f3f3de325.zip |
fixed 2.3.0; added 2.3.2
Diffstat (limited to 'media-sound/ecasound')
-rw-r--r-- | media-sound/ecasound/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/ecasound/Manifest | 6 | ||||
-rw-r--r-- | media-sound/ecasound/ecasound-2.3.0.ebuild | 5 | ||||
-rw-r--r-- | media-sound/ecasound/ecasound-2.3.2.ebuild | 89 | ||||
-rw-r--r-- | media-sound/ecasound/files/digest-ecasound-2.3.2 | 1 |
5 files changed, 105 insertions, 5 deletions
diff --git a/media-sound/ecasound/ChangeLog b/media-sound/ecasound/ChangeLog index b4649bf655e1..2c7558fde412 100644 --- a/media-sound/ecasound/ChangeLog +++ b/media-sound/ecasound/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/ecasound # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.12 2004/01/22 11:50:22 torbenh Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.13 2004/01/22 12:26:31 torbenh Exp $ + +*ecasound-2.3.2 (22 Jan 2004) + + 22 Jan 2004; <torbenh@gentoo.org> ecasound-2.3.0.ebuild, + ecasound-2.3.2.ebuild: + fixed ecasound-2.3.0 + added ecasound-2.3.2 22 Jan 2004; <torbenh@gentoo.org> ecasound-2.2.3.ebuild, ecasound-2.3.0.ebuild, metadata.xml: diff --git a/media-sound/ecasound/Manifest b/media-sound/ecasound/Manifest index 48044e9c5b93..0e40e046a67c 100644 --- a/media-sound/ecasound/Manifest +++ b/media-sound/ecasound/Manifest @@ -1,8 +1,8 @@ -MD5 faa17ab6ce2d09e74fb9698f2308260c ChangeLog 2585 +MD5 1f32ea3075c8844f40a9208c37f14316 ChangeLog 2747 MD5 737c4573aa945ba361bc18288230985b ecasound-2.2.3.ebuild 2984 -MD5 6e1b848e140f1e3cb6b40b862ccc3a25 ecasound-2.3.0.ebuild 2738 +MD5 1d75ff0801464d6eee09a2d428c43837 ecasound-2.3.0.ebuild 2985 MD5 3be4f6e757e3057184136a002b0165f9 metadata.xml 221 -MD5 6e1b848e140f1e3cb6b40b862ccc3a25 ecasound-2.3.2.ebuild 2738 +MD5 cf8f4387463c98512f18a9ece1f223b4 ecasound-2.3.2.ebuild 2738 MD5 3bb7f0619e719cccec8c69b4f84788c3 files/digest-ecasound-2.2.3 66 MD5 30dbf7e3da44712e8b824a5e89451188 files/digest-ecasound-2.3.0 66 MD5 e68dadbc41193dfa31762ee90a4b2271 files/digest-ecasound-2.3.2 66 diff --git a/media-sound/ecasound/ecasound-2.3.0.ebuild b/media-sound/ecasound/ecasound-2.3.0.ebuild index c3c2695ee349..c74d91240897 100644 --- a/media-sound/ecasound/ecasound-2.3.0.ebuild +++ b/media-sound/ecasound/ecasound-2.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.3.0.ebuild,v 1.3 2004/01/22 11:50:22 torbenh Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.3.0.ebuild,v 1.4 2004/01/22 12:26:31 torbenh Exp $ IUSE="ncurses arts alsa python oss mikmod oggvorbis jack" @@ -30,7 +30,10 @@ DEPEND="virtual/glibc src_unpack() { unpack ${A} cd ${S} + sed -i 's:map.h:map:g' configure + sed -i "/#include <alsa\\/asoundlib.h>/i\\#define ALSA_PCM_OLD_HW_PARAMS_API 1\\" libecasound/plugins/audioio_alsa.cpp + sed -i "/#include <alsa\\/asoundlib.h>/i\\#define ALSA_PCM_OLD_HW_PARAMS_API 1\\" libecasound/plugins/audioio_alsa_named.cpp } src_compile () { diff --git a/media-sound/ecasound/ecasound-2.3.2.ebuild b/media-sound/ecasound/ecasound-2.3.2.ebuild new file mode 100644 index 000000000000..e965e00e689e --- /dev/null +++ b/media-sound/ecasound/ecasound-2.3.2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.3.2.ebuild,v 1.1 2004/01/22 12:26:31 torbenh Exp $ + +IUSE="ncurses arts alsa python oss mikmod oggvorbis jack" + +S=${WORKDIR}/${P} +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="~x86" + +DEPEND="virtual/glibc + jack? ( virtual/jack ) + media-libs/ladspa-sdk + media-libs/audiofile + alsa? ( media-libs/alsa-lib ) + oggvorbis? ( media-libs/libvorbis ) + arts? ( kde-base/arts ) + mikmod? ( media-libs/libmikmod ) + python? ( dev-lang/python ) + ncurses? ( sys-libs/ncurses )" + +# 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 + + use jack || myconf="$myconf --disable-jack" + use alsa || myconf="$myconf --disable-alsa" + use arts || myconf="$myconf --disable-arts" + use ncurses || myconf="$myconf --disable-ncurses" + use audiofile || myconf="$myconf --disable-audiofile" + use oss || myconf="$myconf --disable-oss" + + 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 + 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/lib/python$python_version" + + # ecasound configure assumes `disable' if you pass + # --(enable|disable)-pyecasound. *sigh* + #myconf="$myconf --enable-pyecasound" + + myconf="$myconf --with-python-includes=$python_includes" + myconf="$myconf --with-python-modules=$python_modules" + else + myconf="$myconf --disable-pyecasound" + fi + + einfo "configuring with ${myconf}" + econf ${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 INSTALL FAQ BUGS COPYING NEWS README TODO + dohtml `find Documentation -name "*.html"` + dodoc Documentation/edi-list.txt +} diff --git a/media-sound/ecasound/files/digest-ecasound-2.3.2 b/media-sound/ecasound/files/digest-ecasound-2.3.2 new file mode 100644 index 000000000000..aeb898210a4b --- /dev/null +++ b/media-sound/ecasound/files/digest-ecasound-2.3.2 @@ -0,0 +1 @@ +MD5 624ea41e87dc0cca73cf2057c053d4a7 ecasound-2.3.2.tar.gz 950589 |