diff options
author | Mart Raudsepp <leio@gentoo.org> | 2008-10-05 06:37:11 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2008-10-05 06:37:11 +0000 |
commit | c15c5897590b551bcb654bd6841ce9c3f40505f5 (patch) | |
tree | 000e5fa073c8597d876d6f0fa9aee6e5141b7150 /media-libs/libcanberra | |
parent | Initial import - default freedesktop.org sound theme package (diff) | |
download | gentoo-2-c15c5897590b551bcb654bd6841ce9c3f40505f5.tar.gz gentoo-2-c15c5897590b551bcb654bd6841ce9c3f40505f5.tar.bz2 gentoo-2-c15c5897590b551bcb654bd6841ce9c3f40505f5.zip |
Initial import of libcanberra - a portable sound event library for generating event sounds on free desktops.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'media-libs/libcanberra')
-rw-r--r-- | media-libs/libcanberra/ChangeLog | 11 | ||||
-rw-r--r-- | media-libs/libcanberra/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libcanberra/libcanberra-0.9.ebuild | 50 | ||||
-rw-r--r-- | media-libs/libcanberra/metadata.xml | 16 |
4 files changed, 81 insertions, 0 deletions
diff --git a/media-libs/libcanberra/ChangeLog b/media-libs/libcanberra/ChangeLog new file mode 100644 index 000000000000..56a1c406dec5 --- /dev/null +++ b/media-libs/libcanberra/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2008/10/05 06:37:11 leio Exp $ + +*libcanberra-0.9 (05 Oct 2008) + + 05 Oct 2008; Mart Raudsepp <leio@gentoo.org> +metadata.xml, + +libcanberra-0.9.ebuild: + Initial import of libcanberra - a portable sound event library for + generating event sounds on free desktops. + diff --git a/media-libs/libcanberra/Manifest b/media-libs/libcanberra/Manifest new file mode 100644 index 000000000000..9b6f9b187c6d --- /dev/null +++ b/media-libs/libcanberra/Manifest @@ -0,0 +1,4 @@ +DIST libcanberra-0.9.tar.gz 823652 RMD160 77c0d4738b15366f810f311dbbdebf0d70dfc3a3 SHA1 42b87af1ee770378dbfd8bfeb3c11a6e4f513dab SHA256 a2f68e02aae11ba85365d9a9da500674f9a7de7e6d91072e59d3a2b3d62f5099 +EBUILD libcanberra-0.9.ebuild 1313 RMD160 59d8e9896396a59aa3be2187e9b1f00e56fb5047 SHA1 2b7538451d7a4e34123d7aedeb8c3fb2a6edbea4 SHA256 6428902bc274257c34936278607f88faa08fcd87e844b9a35ecd13129619897b +MISC ChangeLog 358 RMD160 859e79d49aa039bb75026e4cb80f9d132a6295e7 SHA1 cd550fd51a1a4377ce9153fc5914fdc7b3540832 SHA256 48759da1841c16751bfa3e784d4fb652622b198ffa65aebf5ac6a663c2da167e +MISC metadata.xml 1022 RMD160 89b9e49f7b7947e3518d5f58200f968f81e979d0 SHA1 060fc19cc9434e073ca31ebe6326e975a52564cf SHA256 8f31b433f98332004cd0d74e9d706495de2ba9db4bdecb8dbf9c2dea54913a95 diff --git a/media-libs/libcanberra/libcanberra-0.9.ebuild b/media-libs/libcanberra/libcanberra-0.9.ebuild new file mode 100644 index 000000000000..d28fbb4a61d1 --- /dev/null +++ b/media-libs/libcanberra/libcanberra-0.9.ebuild @@ -0,0 +1,50 @@ +# 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.9.ebuild,v 1.1 2008/10/05 06:37:11 leio Exp $ + +EAPI="1" + +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="~amd64 ~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 )" +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() { + emake DESTDIR="${D}" install || die "emake install failed." + + 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 +} diff --git a/media-libs/libcanberra/metadata.xml b/media-libs/libcanberra/metadata.xml new file mode 100644 index 000000000000..e4db4fbf6466 --- /dev/null +++ b/media-libs/libcanberra/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</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> +</use> +</pkgmetadata> |