Index: swh-plugins-0.4.15.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-plugins/swh-plugins/swh-plugins-0.4.15.ebuild,v --- swh-plugins-0.4.15.ebuild 18 Apr 2008 22:08:08 -0000 1.4 +++ swh-plugins-0.4.15.ebuild 14 Jul 2008 15:59:10 -0000 @@ -2,8 +2,6 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/swh-plugins/swh-plugins-0.4.15.ebuild,v 1.4 2008/04/18 22:08:08 maekke Exp $ -WANT_AUTOMAKE="1.8" - inherit eutils autotools DESCRIPTION="Large collection of LADSPA audio plugins/effects" @@ -18,6 +16,7 @@ RDEPEND="media-libs/ladspa-sdk >=sci-libs/fftw-3" DEPEND="${RDEPEND} + sys-devel/gettext dev-util/pkgconfig" src_unpack() { @@ -28,9 +27,13 @@ epatch "${FILESDIR}/${P}-plugindir.patch" epatch "${FILESDIR}/${P}-riceitdown.patch" - # This is needed to run autoreconf with newer autotools - sed -i -e 's:@MKINSTALLDIRS@:$(top_srcdir)/mkinstalldirs:' \ - po/Makefile.in.in || die "mkinstalldirs sed failed" + # Borrowed from enlightenment.eclass + cp $(type -P gettextize) "${T}"/ || die "could not copy gettextize" + sed -i -e 's:read dummy < /dev/tty::' "${T}"/gettextize + "${T}"/gettextize --force --copy || die "failed to update gettext" + + # it doesn't get updated otherwise + rm -f missing eautoreconf elibtoolize