summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-10-13 20:11:27 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-10-13 20:11:27 +0000
commit3e088d12a9ea5b95570bd9ae4c251a1f88224b2a (patch)
tree3db2a5a6db6b4a6fb50f284fbded8c30c9c6d2b3 /media-libs/libcanberra
parentfinally fixes #206822 (diff)
downloadgentoo-2-3e088d12a9ea5b95570bd9ae4c251a1f88224b2a.tar.gz
gentoo-2-3e088d12a9ea5b95570bd9ae4c251a1f88224b2a.tar.bz2
gentoo-2-3e088d12a9ea5b95570bd9ae4c251a1f88224b2a.zip
Bump to 0.10.0, fix bug #241708.
(Portage version: 2.2_rc12/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
Diffstat (limited to 'media-libs/libcanberra')
-rw-r--r--media-libs/libcanberra/ChangeLog8
-rw-r--r--media-libs/libcanberra/libcanberra-0.10.ebuild71
2 files changed, 78 insertions, 1 deletions
diff --git a/media-libs/libcanberra/ChangeLog b/media-libs/libcanberra/ChangeLog
index 378afc813e60..a863d21eaa25 100644
--- a/media-libs/libcanberra/ChangeLog
+++ b/media-libs/libcanberra/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libcanberra
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.3 2008/10/10 11:44:49 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.4 2008/10/13 20:11:27 eva Exp $
+
+*libcanberra-0.10 (13 Oct 2008)
+
+ 13 Oct 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ +libcanberra-0.10.ebuild:
+ Bump to 0.10.0, fix bug #241708.
10 Oct 2008; Raúl Porcel <armin76@gentoo.org> libcanberra-0.9.ebuild:
Add ~alpha/~ia64/~sparc wrt #239847
diff --git a/media-libs/libcanberra/libcanberra-0.10.ebuild b/media-libs/libcanberra/libcanberra-0.10.ebuild
new file mode 100644
index 000000000000..7928dec3ef44
--- /dev/null
+++ b/media-libs/libcanberra/libcanberra-0.10.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/libcanberra-0.10.ebuild,v 1.1 2008/10/13 20:11:27 eva Exp $
+
+EAPI="1"
+
+inherit gnome2-utils
+
+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 ~ia64 ~sparc ~x86"
+IUSE="alsa doc gstreamer gtk pulseaudio"
+
+RDEPEND="media-libs/libvorbis
+ sys-devel/libtool
+ alsa? ( media-libs/alsa-lib )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
+ gstreamer? ( >=media-libs/gstreamer-0.10.15 )
+ gtk? ( dev-libs/glib:2
+ >=x11-libs/gtk+-2.13.4:2
+ >=gnome-base/gconf-2 )"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.17
+ doc? ( >=dev-util/gtk-doc-1.9 )"
+
+src_compile() {
+ econf --disable-static \
+ $(use_enable alsa) \
+ $(use_enable gtk) \
+ $(use_enable pulseaudio pulse) \
+ $(use_enable gstreamer) \
+ $(use_enable doc gtk-doc) \
+ --disable-oss \
+ --disable-tdb \
+ --disable-lynx
+ # tdb support would need a split-out from samba before we can use it
+
+ emake || die "emake failed."
+}
+
+src_install() {
+ # we must delay gconf schema installation due to sandbox
+ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
+
+ emake DESTDIR="${D}" install || die "emake install failed."
+
+ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+
+ rm "${D}/usr/share/doc/${PN}/README"
+ # If the rmdir errors, you probably need to add a file to dodoc
+ # and remove the package installed above
+ rmdir "${D}/usr/share/doc/${PN}"
+ dodoc README
+}
+
+pkg_preinst() {
+ gnome2_gconf_savelist
+}
+
+pkg_postinst() {
+ gnome2_gconf_install
+}
+
+#pkg_prerm() {
+# gnome2_gconf_uninstall
+#}
+