summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2009-08-31 16:00:41 +0000
committerTony Vroon <chainsaw@gentoo.org>2009-08-31 16:00:41 +0000
commit44bc9ba4edbf0aaf7689f3133a3804a245a1f3b9 (patch)
tree5c9f47bb189aa8d590423f188043d8c75e77d1ae /media-plugins/alsa-plugins
parentMarking eselect-1.1.3 ppc64 for bug 283079 (diff)
downloadgentoo-2-44bc9ba4edbf0aaf7689f3133a3804a245a1f3b9.tar.gz
gentoo-2-44bc9ba4edbf0aaf7689f3133a3804a245a1f3b9.tar.bz2
gentoo-2-44bc9ba4edbf0aaf7689f3133a3804a245a1f3b9.zip
Version bump, removes several deprecated functions. Besides that, mostly bug fixes and new drivers.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/alsa-plugins')
-rw-r--r--media-plugins/alsa-plugins/ChangeLog10
-rw-r--r--media-plugins/alsa-plugins/alsa-plugins-1.0.21.ebuild82
-rw-r--r--media-plugins/alsa-plugins/files/alsa-plugins-1.0.20-automagic.patch6
-rw-r--r--media-plugins/alsa-plugins/files/alsa-plugins-1.0.21-automagic.patch12
4 files changed, 106 insertions, 4 deletions
diff --git a/media-plugins/alsa-plugins/ChangeLog b/media-plugins/alsa-plugins/ChangeLog
index aaeac950a116..81cb437cd56a 100644
--- a/media-plugins/alsa-plugins/ChangeLog
+++ b/media-plugins/alsa-plugins/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-plugins/alsa-plugins
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.111 2009/08/29 18:41:14 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.112 2009/08/31 16:00:41 chainsaw Exp $
+
+*alsa-plugins-1.0.21 (31 Aug 2009)
+
+ 31 Aug 2009; <chainsaw@gentoo.org>
+ files/alsa-plugins-1.0.20-automagic.patch, +alsa-plugins-1.0.21.ebuild,
+ +files/alsa-plugins-1.0.21-automagic.patch:
+ Version bump, removes several deprecated functions. Besides that, mostly
+ bug fixes and new drivers.
29 Aug 2009; nixnut <nixnut@gentoo.org> alsa-plugins-1.0.20.ebuild:
ppc stable #280464
diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.0.21.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.0.21.ebuild
new file mode 100644
index 000000000000..2eccf8e41eaa
--- /dev/null
+++ b/media-plugins/alsa-plugins/alsa-plugins-1.0.21.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.21.ebuild,v 1.1 2009/08/31 16:00:41 chainsaw Exp $
+
+EAPI=2
+
+MY_P="${P/_/}"
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="ALSA extra plugins"
+HOMEPAGE="http://www.alsa-project.org/"
+SRC_URI="mirror://alsaproject/plugins/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="debug ffmpeg jack libsamplerate pulseaudio speex"
+
+RDEPEND=">=media-libs/alsa-lib-${PV}[alsa_pcm_plugins_ioplug]
+ ffmpeg? ( media-video/ffmpeg
+ media-libs/alsa-lib[alsa_pcm_plugins_rate,alsa_pcm_plugins_plug] )
+ jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
+ libsamplerate? (
+ media-libs/libsamplerate
+ media-libs/alsa-lib[alsa_pcm_plugins_rate,alsa_pcm_plugins_plug] )
+ pulseaudio? ( media-sound/pulseaudio )
+ speex? ( media-libs/speex
+ media-libs/alsa-lib[alsa_pcm_plugins_rate,alsa_pcm_plugins_plug] )
+ !media-plugins/alsa-jack"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # For some reasons the polyp/pulse plugin does fail with alsaplayer with a
+ # failed assert. As the code works just fine with asserts disabled, for now
+ # disable them waiting for a better solution.
+ sed -i -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \
+ "${S}/pulse/Makefile.am"
+
+ # Bug #256119
+ epatch "${FILESDIR}"/${PN}-1.0.19-missing-avutil.patch
+
+ # Bug #278352
+ epatch "${FILESDIR}"/${P}-automagic.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ use debug || append-flags -DNDEBUG
+
+ local myspeex
+
+ if use speex; then
+ myspeex=lib
+ else
+ myspeex=no
+ fi
+
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable ffmpeg avcodec) \
+ $(use_enable jack) \
+ $(use_enable libsamplerate samplerate) \
+ $(use_enable pulseaudio) \
+ --with-speex=${myspeex}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ cd "${S}/doc"
+ dodoc upmix.txt vdownmix.txt README-pcm-oss
+ use jack && dodoc README-jack
+ use libsamplerate && dodoc samplerate.txt
+ use pulseaudio && dodoc README-pulse
+ use ffmpeg && dodoc lavcrate.txt a52.txt
+}
diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.20-automagic.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.20-automagic.patch
index 512ccc755e06..f7d9e7dc437a 100644
--- a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.20-automagic.patch
+++ b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.20-automagic.patch
@@ -1,6 +1,6 @@
-diff -ur alsa-plugins-1.0.20.orig/Makefile.am alsa-plugins-1.0.20/Makefile.am
---- alsa-plugins-1.0.20.orig/Makefile.am 2009-05-06 10:07:28.000000000 +0300
-+++ alsa-plugins-1.0.20/Makefile.am 2009-08-01 18:23:26.000000000 +0300
+diff -ur alsa-plugins-1.0.21.orig/Makefile.am alsa-plugins-1.0.21/Makefile.am
+--- alsa-plugins-1.0.21.orig/Makefile.am 2009-05-06 10:07:28.000000000 +0300
++++ alsa-plugins-1.0.21/Makefile.am 2009-08-01 18:23:26.000000000 +0300
@@ -17,7 +17,7 @@
if HAVE_PPH
SUBDIRS += pph
diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.21-automagic.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.21-automagic.patch
new file mode 100644
index 000000000000..512ccc755e06
--- /dev/null
+++ b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.21-automagic.patch
@@ -0,0 +1,12 @@
+diff -ur alsa-plugins-1.0.20.orig/Makefile.am alsa-plugins-1.0.20/Makefile.am
+--- alsa-plugins-1.0.20.orig/Makefile.am 2009-05-06 10:07:28.000000000 +0300
++++ alsa-plugins-1.0.20/Makefile.am 2009-08-01 18:23:26.000000000 +0300
+@@ -17,7 +17,7 @@
+ if HAVE_PPH
+ SUBDIRS += pph
+ endif
+-if HAVE_SPEEXDSP
++if USE_LIBSPEEX
+ SUBDIRS += speex
+ endif
+