diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2010-04-16 22:44:22 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2010-04-16 22:44:22 +0000 |
commit | 985ad30e67edb3ca70f67ff154d20d6870de9f4f (patch) | |
tree | e53952dc43135d9f6f55e88149b7ab8555eeb0b7 /media-plugins/alsa-plugins | |
parent | Version bump #315651 by Lars Wendler. (diff) | |
download | gentoo-2-985ad30e67edb3ca70f67ff154d20d6870de9f4f.tar.gz gentoo-2-985ad30e67edb3ca70f67ff154d20d6870de9f4f.tar.bz2 gentoo-2-985ad30e67edb3ca70f67ff154d20d6870de9f4f.zip |
Version bump. The USB stream plugin has been protected against null pointer dereferences and now allows user-set period sizes & stream rates.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/alsa-plugins')
-rw-r--r-- | media-plugins/alsa-plugins/ChangeLog | 9 | ||||
-rw-r--r-- | media-plugins/alsa-plugins/alsa-plugins-1.0.23.ebuild | 82 | ||||
-rw-r--r-- | media-plugins/alsa-plugins/files/alsa-plugins-1.0.23-automagic.patch | 12 |
3 files changed, 102 insertions, 1 deletions
diff --git a/media-plugins/alsa-plugins/ChangeLog b/media-plugins/alsa-plugins/ChangeLog index 16bb4b6ef572..68c366faef10 100644 --- a/media-plugins/alsa-plugins/ChangeLog +++ b/media-plugins/alsa-plugins/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-plugins/alsa-plugins # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.123 2010/02/13 16:27:07 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.124 2010/04/16 22:44:22 chainsaw Exp $ + +*alsa-plugins-1.0.23 (16 Apr 2010) + + 16 Apr 2010; <chainsaw@gentoo.org> +alsa-plugins-1.0.23.ebuild, + +files/alsa-plugins-1.0.23-automagic.patch: + Version bump. The USB stream plugin has been protected against null + pointer dereferences and now allows user-set period sizes & stream rates. 13 Feb 2010; Raúl Porcel <armin76@gentoo.org> alsa-plugins-1.0.21.ebuild: alpha/ia64/sh stable wrt #300064 diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.0.23.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.0.23.ebuild new file mode 100644 index 000000000000..950854d8b48c --- /dev/null +++ b/media-plugins/alsa-plugins/alsa-plugins-1.0.23.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2010 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.23.ebuild,v 1.1 2010/04/16 22:44:22 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.23-automagic.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.23-automagic.patch new file mode 100644 index 000000000000..8e62f20a143d --- /dev/null +++ b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.23-automagic.patch @@ -0,0 +1,12 @@ +diff -uNr alsa-plugins-1.0.23.ORIg//Makefile.am alsa-plugins-1.0.23/Makefile.am +--- alsa-plugins-1.0.23.ORIg//Makefile.am 2010-04-16 23:38:58.546243512 +0100 ++++ alsa-plugins-1.0.23/Makefile.am 2010-04-16 23:39:20.049278487 +0100 +@@ -17,7 +17,7 @@ + if HAVE_PPH + SUBDIRS += pph + endif +-if HAVE_SPEEXDSP ++if USE_LIBSPEEX + SUBDIRS += speex + endif + |