summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libcanberra/libcanberra-0.25-r1.ebuild')
-rw-r--r--media-libs/libcanberra/libcanberra-0.25-r1.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/media-libs/libcanberra/libcanberra-0.25-r1.ebuild b/media-libs/libcanberra/libcanberra-0.25-r1.ebuild
new file mode 100644
index 0000000..f34fb1d
--- /dev/null
+++ b/media-libs/libcanberra/libcanberra-0.25-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/libcanberra-0.25.ebuild,v 1.1 2010/06/18 10:11:15 pacho Exp $
+
+EAPI=2
+inherit gnome2-utils libtool
+
+DESCRIPTION="Portable Sound Event Library"
+HOMEPAGE="http://0pointer.de/lennart/projects/libcanberra/"
+SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="alsa gstreamer +gtk +gtk3 oss pulseaudio tdb"
+
+RDEPEND="media-libs/libvorbis
+ >=sys-devel/libtool-2.2.6b
+ alsa? ( media-libs/alsa-lib )
+ gstreamer? ( >=media-libs/gstreamer-0.10.15 )
+ gtk? ( >=x11-libs/gtk+-2.20.0:2
+ >=gnome-base/gconf-2 )
+ gtk3? ( x11-libs/gtk+:3
+ >=gnome-base/gconf-2 )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
+ tdb? ( sys-libs/tdb )"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.17"
+
+src_prepare() {
+ elibtoolize
+}
+
+src_configure() {
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ --disable-dependency-tracking \
+ $(use_enable alsa) \
+ $(use_enable oss) \
+ $(use_enable pulseaudio pulse) \
+ $(use_enable gstreamer) \
+ $(use_enable gtk) \
+ $(use_enable gtk3) \
+ $(use_enable tdb) \
+ --disable-lynx \
+ --disable-gtk-doc \
+ --disable-gtk-doc-html \
+ --disable-gtk-doc-pdf \
+ --with-html-dir=/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ prepalldocs
+}
+
+pkg_preinst() { gnome2_gconf_savelist; }
+pkg_postinst() { gnome2_gconf_install; }