diff options
author | 2010-10-28 10:08:17 +0000 | |
---|---|---|
committer | 2010-10-28 10:08:17 +0000 | |
commit | 0e5d909ca1a22cbf9b2020144eb386a9edaba990 (patch) | |
tree | 8b81dc244e8e77f3c6a39905f3909ff85f1ea89b | |
parent | Bunch of updates for recent gnome-shell test release (diff) | |
download | suka-0e5d909ca1a22cbf9b2020144eb386a9edaba990.tar.gz suka-0e5d909ca1a22cbf9b2020144eb386a9edaba990.tar.bz2 suka-0e5d909ca1a22cbf9b2020144eb386a9edaba990.zip |
Add libcanberra
svn path=/; revision=285
-rw-r--r-- | media-libs/libcanberra/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libcanberra/libcanberra-0.26-r1.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/media-libs/libcanberra/Manifest b/media-libs/libcanberra/Manifest new file mode 100644 index 0000000..2e07e32 --- /dev/null +++ b/media-libs/libcanberra/Manifest @@ -0,0 +1,2 @@ +DIST libcanberra-0.26.tar.gz 463209 RMD160 f58fc2cfa4b35f6a6b2577057b969977f7de3b5d SHA1 31a1cb8757e5da39b4cdc06e523d011578d7a3e3 SHA256 4b5d8d2c2835133620adbc53745dd107b6e58b9a2963059e8f457143fee00982 +EBUILD libcanberra-0.26-r1.ebuild 1803 RMD160 a9ce071f108c72c0c5f8d6c4892fe491f30fe0b9 SHA1 07a2e995f22ea4f259064629aa6452eeb8c8c1b8 SHA256 c3da25dc848536702375ba8b1359d80bad023fc51b1725084979a7b06e6e8639 diff --git a/media-libs/libcanberra/libcanberra-0.26-r1.ebuild b/media-libs/libcanberra/libcanberra-0.26-r1.ebuild new file mode 100644 index 0000000..beadf8d --- /dev/null +++ b/media-libs/libcanberra/libcanberra-0.26-r1.ebuild @@ -0,0 +1,62 @@ +# 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="3" +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" + +COMMON_DEPEND="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 )" +RDEPEND="${COMMON_DEPEND} + sound? ( x11-themes/sound-theme-freedesktop )" # Required for index.theme wrt #323379 +DEPEND="${COMMON_DEPEND} + >=dev-util/pkgconfig-0.17" + +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) \ + --disable-lynx \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ + --with-html-dir=/usr/share/doc/${PF}/html +} + +src_install() { + # Disable parallel installation until bug #253862 is solved + emake -j1 DESTDIR="${ED}" install || die + prepalldocs +} + +pkg_preinst() { gnome2_gconf_savelist; } +pkg_postinst() { gnome2_gconf_install; } |