summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libcanberra')
-rw-r--r--media-libs/libcanberra/ChangeLog8
-rw-r--r--media-libs/libcanberra/libcanberra-0.29.ebuild6
-rw-r--r--media-libs/libcanberra/libcanberra-0.30-r1.ebuild64
3 files changed, 74 insertions, 4 deletions
diff --git a/media-libs/libcanberra/ChangeLog b/media-libs/libcanberra/ChangeLog
index 3882a787c336..654ab69519c1 100644
--- a/media-libs/libcanberra/ChangeLog
+++ b/media-libs/libcanberra/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libcanberra
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.95 2012/12/11 03:45:10 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/ChangeLog,v 1.96 2012/12/19 02:43:32 tetromino Exp $
+
+*libcanberra-0.30-r1 (19 Dec 2012)
+
+ 19 Dec 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ libcanberra-0.29.ebuild, +libcanberra-0.30-r1.ebuild:
+ Version bump with gstreamer-1.0 support. Update license.
11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> libcanberra-0.29.ebuild:
virtualized the udev dependency
diff --git a/media-libs/libcanberra/libcanberra-0.29.ebuild b/media-libs/libcanberra/libcanberra-0.29.ebuild
index ef8aa3feaa33..839549e95bd6 100644
--- a/media-libs/libcanberra/libcanberra-0.29.ebuild
+++ b/media-libs/libcanberra/libcanberra-0.29.ebuild
@@ -1,16 +1,16 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/libcanberra-0.29.ebuild,v 1.13 2012/12/11 03:45:10 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/libcanberra-0.29.ebuild,v 1.14 2012/12/19 02:43:32 tetromino Exp $
EAPI="4"
inherit libtool systemd autotools eutils
-DESCRIPTION="Portable Sound Event Library"
+DESCRIPTION="Portable sound event library"
HOMEPAGE="http://0pointer.de/lennart/projects/libcanberra/"
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.xz"
-LICENSE="LGPL-2.1"
+LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
IUSE="alsa gnome gstreamer +gtk +gtk3 oss pulseaudio +sound tdb udev"
diff --git a/media-libs/libcanberra/libcanberra-0.30-r1.ebuild b/media-libs/libcanberra/libcanberra-0.30-r1.ebuild
new file mode 100644
index 000000000000..0f2c283f37b4
--- /dev/null
+++ b/media-libs/libcanberra/libcanberra-0.30-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcanberra/libcanberra-0.30-r1.ebuild,v 1.1 2012/12/19 02:43:32 tetromino Exp $
+
+EAPI="5"
+
+inherit eutils systemd
+
+DESCRIPTION="Portable sound event library"
+HOMEPAGE="http://0pointer.de/lennart/projects/libcanberra/"
+SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="alsa gnome 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? ( >=virtual/udev-171:= ) )
+ gstreamer? ( media-libs/gstreamer:1.0 )
+ gtk? (
+ >=dev-libs/glib-2.32:2
+ >=x11-libs/gtk+-2.20.0:2
+ x11-libs/libX11 )
+ gtk3? (
+ >=dev-libs/glib-2.32:2
+ x11-libs/gtk+:3
+ x11-libs/libX11 )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
+ tdb? ( sys-libs/tdb:= )
+"
+RDEPEND="${COMMON_DEPEND}
+ gnome? ( gnome-base/gsettings-desktop-schemas )
+ sound? ( x11-themes/sound-theme-freedesktop )" # Required for index.theme wrt #323379
+DEPEND="${COMMON_DEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+REQUIRED_USE="udev? ( alsa )"
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ $(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) \
+ $(systemd_with_unitdir) \
+ --disable-lynx \
+ --disable-gtk-doc
+}
+
+src_install() {
+ # Disable parallel installation until bug #253862 is solved
+ MAKEOPTS="${MAKEOPTS} -j1" default
+ prune_libtool_files --modules
+}