summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-01-29 03:53:03 +0000
committerTim Harder <radhermit@gentoo.org>2014-01-29 03:53:03 +0000
commit28f3957f2d0bbe701d567f39ea09894b95ea4af3 (patch)
tree54777ec44e860534d1544d20c31c602bfd05e13b /media-libs/libao
parentMask dev-python/mozrunner. (diff)
downloadgentoo-2-28f3957f2d0bbe701d567f39ea09894b95ea4af3.tar.gz
gentoo-2-28f3957f2d0bbe701d567f39ea09894b95ea4af3.tar.bz2
gentoo-2-28f3957f2d0bbe701d567f39ea09894b95ea4af3.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-libs/libao')
-rw-r--r--media-libs/libao/ChangeLog9
-rw-r--r--media-libs/libao/libao-1.2.0.ebuild51
2 files changed, 58 insertions, 2 deletions
diff --git a/media-libs/libao/ChangeLog b/media-libs/libao/ChangeLog
index 6b66e8707732..69a632a4627f 100644
--- a/media-libs/libao/ChangeLog
+++ b/media-libs/libao/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libao
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libao/ChangeLog,v 1.116 2013/11/30 17:11:39 mgorny Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libao/ChangeLog,v 1.117 2014/01/29 03:53:03 radhermit Exp $
+
+*libao-1.2.0 (29 Jan 2014)
+
+ 29 Jan 2014; Tim Harder <radhermit@gentoo.org> +libao-1.2.0.ebuild:
+ Version bump.
*libao-1.1.0-r2 (30 Nov 2013)
diff --git a/media-libs/libao/libao-1.2.0.ebuild b/media-libs/libao/libao-1.2.0.ebuild
new file mode 100644
index 000000000000..05abb60f8b1f
--- /dev/null
+++ b/media-libs/libao/libao-1.2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libao/libao-1.2.0.ebuild,v 1.1 2014/01/29 03:53:03 radhermit Exp $
+
+EAPI=5
+
+inherit libtool multilib multilib-minimal eutils
+
+DESCRIPTION="The Audio Output library"
+HOMEPAGE="http://www.xiph.org/ao/"
+SRC_URI="http://downloads.xiph.org/releases/ao/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
+IUSE="alsa nas mmap pulseaudio static-libs"
+
+RDEPEND="alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+ nas? ( media-libs/nas[${MULTILIB_USEDEP}] )
+ pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20131008-r1
+ !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i 's:-O20::' configure || die
+ sed -i "s:/lib:/$(get_libdir):g" ao.m4 || die
+ elibtoolize
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ $(use_enable static-libs static) \
+ --disable-esd \
+ $(use_enable alsa alsa) \
+ $(use_enable mmap alsa-mmap) \
+ --disable-arts \
+ $(use_enable nas) \
+ $(use_enable pulseaudio pulse)
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}/html" install
+}
+
+multilib_src_install_all() {
+ dodoc AUTHORS CHANGES README TODO
+ prune_libtool_files --all
+}