summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libcanberra/libcanberra-0.14.ebuild')
-rw-r--r--media-libs/libcanberra/libcanberra-0.14.ebuild19
1 files changed, 16 insertions, 3 deletions
diff --git a/media-libs/libcanberra/libcanberra-0.14.ebuild b/media-libs/libcanberra/libcanberra-0.14.ebuild
index 80fbb8cc8f58..3ea05c66b1a2 100644
--- a/media-libs/libcanberra/libcanberra-0.14.ebuild
+++ b/media-libs/libcanberra/libcanberra-0.14.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/libcanberra-0.14.ebuild,v 1.2 2009/07/16 11:01:07 mrpouet Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/libcanberra-0.14.ebuild,v 1.3 2009/07/17 10:52:03 mrpouet Exp $
EAPI="1"
-inherit eutils gnome2-utils
+inherit eutils gnome2-utils autotools
DESCRIPTION="Portable Sound Event Library"
HOMEPAGE="http://0pointer.de/lennart/projects/libcanberra/"
@@ -16,7 +16,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="alsa doc gstreamer +gtk oss pulseaudio"
RDEPEND="media-libs/libvorbis
- >=sys-devel/libtool-2.2
+ sys-devel/libtool
alsa? ( media-libs/alsa-lib )
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
gstreamer? ( >=media-libs/gstreamer-0.10.15 )
@@ -27,6 +27,19 @@ DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.17
doc? ( >=dev-util/gtk-doc-1.9 )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-backward-compatibility-libtool.patch"
+
+ rm "${S}/lt*" || die "clean-up ltmain.sh failed"
+ rm "${S}/m4/lt*" || die "clean-up lt scripts failed"
+ rm "${S}/m4/libtool*" || die "clean-up libtool script failed"
+
+ eautoreconf
+}
+
src_compile() {
econf --disable-static \
$(use_enable alsa) \