summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-05-06 19:18:02 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-05-06 19:18:02 +0000
commit1a57581d32483d655479dbc7d84f2cd6a7a907ca (patch)
tree60d333919649b730a3440d964d95a0827a8af4fb /media-sound/ecasound
parentBump to new upstream stable release 20080504, resolves #220605 (diff)
downloadhistorical-1a57581d32483d655479dbc7d84f2cd6a7a907ca.tar.gz
historical-1a57581d32483d655479dbc7d84f2cd6a7a907ca.tar.bz2
historical-1a57581d32483d655479dbc7d84f2cd6a7a907ca.zip
Version bump for bug 220429 with GCC 4.3 patch by Peter Alfredsen.
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'media-sound/ecasound')
-rw-r--r--media-sound/ecasound/ChangeLog8
-rw-r--r--media-sound/ecasound/Manifest5
-rw-r--r--media-sound/ecasound/ecasound-2.4.6.1.ebuild98
-rw-r--r--media-sound/ecasound/files/ecasound-2.4.6.1-gcc43.patch33
4 files changed, 142 insertions, 2 deletions
diff --git a/media-sound/ecasound/ChangeLog b/media-sound/ecasound/ChangeLog
index 96ef8f421b04..a1593b95fc5a 100644
--- a/media-sound/ecasound/ChangeLog
+++ b/media-sound/ecasound/ChangeLog
@@ -1,6 +1,12 @@
# 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.43 2008/01/16 18:22:20 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.44 2008/05/06 19:18:01 drac Exp $
+
+*ecasound-2.4.6.1 (06 May 2008)
+
+ 06 May 2008; Samuli Suominen <drac@gentoo.org>
+ +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 <grobian@gentoo.org> ecasound-2.4.3.ebuild,
ecasound-2.4.4.ebuild, ecasound-2.4.5.ebuild:
diff --git a/media-sound/ecasound/Manifest b/media-sound/ecasound/Manifest
index 486cae9629fa..cd7b190b9ae4 100644
--- a/media-sound/ecasound/Manifest
+++ b/media-sound/ecasound/Manifest
@@ -1,8 +1,11 @@
+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
-MISC ChangeLog 6804 RMD160 d124412cd3ee20320ac0f9c79e389fb195146d34 SHA1 cb68cba3fc48cca7185e528fc6f428c19e7dd4b3 SHA256 47a2b7dc634d458d2d4d05d974a4986e190414f0d4fe1d2cf9e3f554f7cbe912
+EBUILD ecasound-2.4.6.1.ebuild 2605 RMD160 26cea0e346ca3a6e28b8f35a5be7f67f53a38275 SHA1 caf7e9ad89418096926d043150fcce2061123d9e SHA256 93e805ef5feeab6f17e4fdc4e71529d25adde0a1ecb11a2ce84a0563db47ff3f
+MISC ChangeLog 7018 RMD160 b3da682001a1ad592c5e1f863beb23133958c141 SHA1 72ffb7df194d19b8e57c9800d40984ef3a75e37e SHA256 79ad4c009766fdd14d611bf8691a86979a7dcc3d32ea1a4f6df0dedeac4db0c3
MISC metadata.xml 756 RMD160 6d3c33eeed4fd27e66efc39cef9df6e4f6c0c85c SHA1 ad6acbd92059cb3a42c63831bea1cca257918199 SHA256 1f0d3106e16d53e9dc59cbb3c5859e07d8381231e7eb0812eb6bf971e99aa37c
diff --git a/media-sound/ecasound/ecasound-2.4.6.1.ebuild b/media-sound/ecasound/ecasound-2.4.6.1.ebuild
new file mode 100644
index 000000000000..aa5dac494f17
--- /dev/null
+++ b/media-sound/ecasound/ecasound-2.4.6.1.ebuild
@@ -0,0 +1,98 @@
+# 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.1 2008/05/06 19:18:01 drac 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 "${ROOT}"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
+}
diff --git a/media-sound/ecasound/files/ecasound-2.4.6.1-gcc43.patch b/media-sound/ecasound/files/ecasound-2.4.6.1-gcc43.patch
new file mode 100644
index 000000000000..f912744b9c6a
--- /dev/null
+++ b/media-sound/ecasound/files/ecasound-2.4.6.1-gcc43.patch
@@ -0,0 +1,33 @@
+diff -urNad ecasound~/ecatools/ecasignalview.cpp ecasound/ecatools/ecasignalview.cpp
+--- ecasound~/ecatools/ecasignalview.cpp 2007-08-20 22:03:30.000000000 +0900
++++ ecasound/ecatools/ecasignalview.cpp 2007-12-13 23:26:40.905257369 +0900
+@@ -31,6 +31,7 @@
+ #include <cassert>
+ #include <cmath>
+ #include <cstdio>
++#include <cstring>
+
+ #include <signal.h>
+ #include <unistd.h>
+diff -urNad ecasound~/kvutils/kvu_procedure_timer.cpp ecasound/kvutils/kvu_procedure_timer.cpp
+--- ecasound~/kvutils/kvu_procedure_timer.cpp 2007-08-20 22:03:30.000000000 +0900
++++ ecasound/kvutils/kvu_procedure_timer.cpp 2007-12-13 23:26:40.905257369 +0900
+@@ -19,6 +19,7 @@
+ // ------------------------------------------------------------------------
+
+ #include <cmath>
++#include <cstring>
+ #include <math.h> /* floor() */
+ #include "kvu_numtostr.h"
+ #include "kvu_procedure_timer.h"
+diff -urNad ecasound~/libecasound/plugins/audioio_jack_manager.cpp ecasound/libecasound/plugins/audioio_jack_manager.cpp
+--- ecasound~/libecasound/plugins/audioio_jack_manager.cpp 2007-08-20 22:03:30.000000000 +0900
++++ ecasound/libecasound/plugins/audioio_jack_manager.cpp 2007-12-13 23:26:40.906256145 +0900
+@@ -31,6 +31,7 @@
+ #include <iostream>
+ #include <string>
+
++#include <cstring>
+ #include <sys/time.h> /* gettimeofday() */
+ #include <errno.h> /* ETIMEDOUT */
+ #include <jack/jack.h>