--- ecasound-2.4.5.ebuild 2008-01-16 19:36:22.000000000 +0100 +++ ecasound-2.4.6.1.ebuild 2008-05-05 20:56:03.000000000 +0200 @@ -4,11 +4,11 @@ inherit multilib eutils DESCRIPTION="a package for multitrack audio processing" SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz" -HOMEPAGE="http://eca.cx" +HOMEPAGE="http://ecasound.seul.org/ecasound/" 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" @@ -38,11 +38,17 @@ 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 () { +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-gcc43.patch" +} + +src_compile() { local myconf myconf="${myconf} --enable-shared --with-largefile --enable-sys-readline" if use python; then @@ -81,11 +87,11 @@ ${myconf} emake || die "emake failed." } -src_install () { +src_install() { emake DESTDIR="${D}" install || die "emake install failed." if use python; then cd pyecasound python -c "import compileall; compileall.compile_dir('.')" || die