diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-09-13 18:11:27 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-09-13 18:11:27 +0000 |
commit | e13e31c4051346a220a336c5051d73b8eed49ece (patch) | |
tree | 74d618d7a29b91482db44e6481c3bdb3ffabd75d /media-libs/libcanberra | |
parent | version bump (diff) | |
download | gentoo-2-e13e31c4051346a220a336c5051d73b8eed49ece.tar.gz gentoo-2-e13e31c4051346a220a336c5051d73b8eed49ece.tar.bz2 gentoo-2-e13e31c4051346a220a336c5051d73b8eed49ece.zip |
Version bump; thanks to Rafał Mużyło in bug #284785 for letting me notice.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libcanberra')
-rw-r--r-- | media-libs/libcanberra/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/libcanberra/libcanberra-0.16.ebuild | 87 |
2 files changed, 95 insertions, 1 deletions
diff --git a/media-libs/libcanberra/ChangeLog b/media-libs/libcanberra/ChangeLog index 09925e8a7b81..afafa2cc0cd6 100644 --- a/media-libs/libcanberra/ChangeLog +++ b/media-libs/libcanberra/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libcanberra # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.27 2009/08/24 13:27:31 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.28 2009/09/13 18:11:27 flameeyes Exp $ + +*libcanberra-0.16 (13 Sep 2009) + + 13 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +libcanberra-0.16.ebuild: + Version bump; thanks to Rafał Mużyło in bug #284785 for letting me + notice. *libcanberra-0.15-r1 (24 Aug 2009) diff --git a/media-libs/libcanberra/libcanberra-0.16.ebuild b/media-libs/libcanberra/libcanberra-0.16.ebuild new file mode 100644 index 000000000000..aef42a784e04 --- /dev/null +++ b/media-libs/libcanberra/libcanberra-0.16.ebuild @@ -0,0 +1,87 @@ +# 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.16.ebuild,v 1.1 2009/09/13 18:11:27 flameeyes Exp $ + +EAPI="1" + +inherit eutils gnome2-utils autotools + +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 doc gstreamer +gtk oss 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 + dev-util/gtk-doc-am + doc? ( >=dev-util/gtk-doc-1.9 )" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix bug 277739, replace LT_PREREQ and LT_INIT by AC_LIBTOOL* + # macros (equivalent for earlier version), preserve backward + # compatibility with libtool-1 + epatch "${FILESDIR}/${PN}-0.14-backward-compatibility-libtool.patch" + + # Fix bug 278354, Backport AM_GCONF_SOURCE_2 macro to m4/ dir + # in case where gconf isn't installed on the system + # (eautoconf could fail) + epatch "${FILESDIR}/${PN}-0.14-am-gconf-source-2-m4.patch" + + rm lt* || die "clean-up ltmain.sh failed" + rm m4/lt* || die "clean-up lt scripts failed" + rm m4/libtool* || die "clean-up libtool script failed" + + eautoreconf +} + +src_compile() { + econf --disable-static \ + --docdir=/usr/share/doc/${PF} \ + $(use_enable alsa) \ + $(use_enable gstreamer) \ + $(use_enable gtk) \ + $(use_enable oss) \ + $(use_enable pulseaudio pulse) \ + $(use_enable doc gtk-doc) \ + --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 +} + +pkg_preinst() { + gnome2_gconf_savelist +} + +pkg_postinst() { + gnome2_gconf_install +} + +#pkg_prerm() { +# gnome2_gconf_uninstall +#} |