diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-05-01 16:21:53 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-05-01 16:21:53 +0000 |
commit | db4f8cfd51e5c25eef0a189d12544d78af4b5787 (patch) | |
tree | 126725af633bdc7f26cc71573bdf423d27ded5e2 /media-libs/libcanberra | |
parent | Mask USE=gtk3 on libcanberra as well (diff) | |
download | gentoo-2-db4f8cfd51e5c25eef0a189d12544d78af4b5787.tar.gz gentoo-2-db4f8cfd51e5c25eef0a189d12544d78af4b5787.tar.bz2 gentoo-2-db4f8cfd51e5c25eef0a189d12544d78af4b5787.zip |
Add libcanberra-0.28-r1 from the gnome overlay
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libcanberra')
-rw-r--r-- | media-libs/libcanberra/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/libcanberra/libcanberra-0.28-r1.ebuild | 70 | ||||
-rw-r--r-- | media-libs/libcanberra/metadata.xml | 43 |
3 files changed, 105 insertions, 16 deletions
diff --git a/media-libs/libcanberra/ChangeLog b/media-libs/libcanberra/ChangeLog index 8523611be18b..f8527c4d070c 100644 --- a/media-libs/libcanberra/ChangeLog +++ b/media-libs/libcanberra/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libcanberra # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.66 2011/04/10 10:44:46 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.67 2011/05/01 16:21:53 nirbheek Exp $ + +*libcanberra-0.28-r1 (01 May 2011) + + 01 May 2011; Nirbheek Chauhan <nirbheek@gentoo.org> + +libcanberra-0.28-r1.ebuild: + Add libcanberra-0.28-r1 from the gnome overlay 10 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> libcanberra-0.26.ebuild: Reset dependency_libs to '' in libtool files. diff --git a/media-libs/libcanberra/libcanberra-0.28-r1.ebuild b/media-libs/libcanberra/libcanberra-0.28-r1.ebuild new file mode 100644 index 000000000000..120425214271 --- /dev/null +++ b/media-libs/libcanberra/libcanberra-0.28-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/libcanberra-0.28-r1.ebuild,v 1.1 2011/05/01 16:21:53 nirbheek Exp $ + +EAPI="4" +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 +sound tdb udev" + +COMMON_DEPEND="media-libs/libvorbis + >=sys-devel/libtool-2.2.6b + alsa? ( + media-libs/alsa-lib + udev? ( >=sys-fs/udev-160 ) ) + 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 ) +" +RDEPEND="${COMMON_DEPEND} + sound? ( x11-themes/sound-theme-freedesktop )" # Required for index.theme wrt #323379 +DEPEND="${COMMON_DEPEND} + >=dev-util/pkgconfig-0.17" + +REQUIRED_USE="udev? ( alsa )" + +src_prepare() { + # Run elibtoolize for ~x86-fbsd. + use x86-fbsd && 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) \ + $(use_enable udev) \ + --disable-lynx \ + --disable-gtk-doc \ + --with-html-dir=/usr/share/doc/${PF}/html +} + +src_install() { + # Disable parallel installation until bug #253862 is solved + emake -j1 DESTDIR="${D}" install || die + + # Remove useless .la files + # la files in /usr/lib*/${P}/ are needed + rm -v "${ED}"/usr/$(get_libdir)/gtk-*/modules/*.la || die + rm -v "${ED}"/usr/$(get_libdir)/*.la || die +} + +pkg_preinst() { gnome2_gconf_savelist; } +pkg_postinst() { gnome2_gconf_install; } diff --git a/media-libs/libcanberra/metadata.xml b/media-libs/libcanberra/metadata.xml index 75354d56856f..073731283aef 100644 --- a/media-libs/libcanberra/metadata.xml +++ b/media-libs/libcanberra/metadata.xml @@ -1,19 +1,32 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>gnome</herd> -<herd>sound</herd> -<longdescription>A small and lightweight implementation of the XDG Sound Theme Specification (http://0pointer.de/public/sound-theme-spec.html).</longdescription> -<use> - <flag name='alsa'>Enables ALSA sound driver.</flag> - <flag name='gstreamer'>Enables gstreamer sound driver. Not useful when alsa or pulseaudio is available.</flag> - <flag name='gtk'>Enables building of gtk+ helper library, gtk+ runtime sound effects and the canberra-gtk-play - utility. To enable the gtk+ sound effects add canberra-gtk-module to the colon separated list of modules - in the GTK_MODULES environment variable.</flag> - <flag name='pulseaudio'>Enables PulseAudio sound driver that should be able to support positional event sounds. - This is the preferred choice for best sound events experience and picked by default if compiled in and - possible to use at runtime.</flag> - <flag name='sound'>Install x11-themes/sound-theme-freedesktop to get sounds on Gnome and Xfce.</flag> - <flag name='tdb'>Enables Trivial Database support for caching purposes.</flag> -</use> + <herd>gnome</herd> + <herd>sound</herd> + <longdescription> + A small and lightweight implementation of the XDG Sound Theme Specification + (http://0pointer.de/public/sound-theme-spec.html) + </longdescription> + <use> + <flag name='alsa'>Enables ALSA sound driver.</flag> + <flag name='gstreamer'>Enables gstreamer sound driver. Not useful when + alsa or pulseaudio is available.</flag> + <flag name='gtk'>Enables building of gtk+ helper library, gtk+ runtime + sound effects and the canberra-gtk-play utility. To enable the gtk+ + sound effects add canberra-gtk-module to the colon separated list of + modules in the GTK_MODULES environment variable.</flag> + <flag name='gtk3'>Enables building of gtk+3 helper library, gtk+3 + runtime sound effects and the canberra-gtk-play utility. To enable + the gtk+3 sound effects add canberra-gtk-module to the colon + separated list of modules in the GTK_MODULES environment + variable.</flag> + <flag name='pulseaudio'>Enables PulseAudio sound driver that should be + able to support positional event sounds. This is the preferred + choice for best sound events experience and picked by default if + compiled in and possible to use at runtime.</flag> + <flag name='sound'>Install x11-themes/sound-theme-freedesktop to get + sounds on Gnome and Xfce.</flag> + <flag name='tdb'>Enables Trivial Database support for caching + purposes.</flag> + </use> </pkgmetadata> |