Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/alsa-plugins: ChangeLog alsa-plugins-1.0.27.ebuild
Date: Wed, 01 May 2013 13:16:11
Message-Id: 20130501131604.BFCBA2171D@flycatcher.gentoo.org
1 ssuominen 13/05/01 13:16:04
2
3 Modified: ChangeLog
4 Added: alsa-plugins-1.0.27.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.169 media-plugins/alsa-plugins/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?rev=1.169&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?rev=1.169&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/alsa-plugins/ChangeLog?r1=1.168&r2=1.169
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v
20 retrieving revision 1.168
21 retrieving revision 1.169
22 diff -u -r1.168 -r1.169
23 --- ChangeLog 23 Apr 2013 21:56:12 -0000 1.168
24 +++ ChangeLog 1 May 2013 13:16:04 -0000 1.169
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-plugins/alsa-plugins
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.168 2013/04/23 21:56:12 lu_zero Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/ChangeLog,v 1.169 2013/05/01 13:16:04 ssuominen Exp $
30 +
31 +*alsa-plugins-1.0.27 (01 May 2013)
32 +
33 + 01 May 2013; Samuli Suominen <ssuominen@g.o>
34 + +alsa-plugins-1.0.27.ebuild:
35 + Version bump.
36
37 23 Apr 2013; Luca Barbato <lu_zero@g.o> alsa-plugins-1.0.26.ebuild,
38 +files/alsa-plugins-1.0.26-libav9.patch:
39
40
41
42 1.1 media-plugins/alsa-plugins/alsa-plugins-1.0.27.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.27.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.27.ebuild?rev=1.1&content-type=text/plain
46
47 Index: alsa-plugins-1.0.27.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.27.ebuild,v 1.1 2013/05/01 13:16:04 ssuominen Exp $
52
53 EAPI=5
54 inherit autotools eutils flag-o-matic multilib
55
56 DESCRIPTION="ALSA extra plugins"
57 HOMEPAGE="http://www.alsa-project.org/"
58 SRC_URI="mirror://alsaproject/plugins/${P}.tar.bz2"
59
60 LICENSE="GPL-2 LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux"
63 IUSE="debug ffmpeg jack libsamplerate pulseaudio speex"
64
65 RDEPEND=">=media-libs/alsa-lib-${PV}
66 ffmpeg? ( virtual/ffmpeg )
67 jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
68 libsamplerate? ( media-libs/libsamplerate )
69 pulseaudio? ( media-sound/pulseaudio )
70 speex? ( media-libs/speex )"
71 DEPEND="${RDEPEND}
72 virtual/pkgconfig"
73
74 src_prepare() {
75 epatch \
76 "${FILESDIR}"/${PN}-1.0.19-missing-avutil.patch \
77 "${FILESDIR}"/${PN}-1.0.23-automagic.patch
78
79 # For some reasons the polyp/pulse plugin does fail with alsaplayer with a
80 # failed assert. As the code works just fine with asserts disabled, for now
81 # disable them waiting for a better solution.
82 sed -i \
83 -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \
84 pulse/Makefile.am || die
85
86 eautoreconf
87 }
88
89 src_configure() {
90 use debug || append-cppflags -DNDEBUG
91
92 local myspeex=no
93 use speex && myspeex=lib
94
95 econf \
96 $(use_enable ffmpeg avcodec) \
97 $(use_enable jack) \
98 $(use_enable libsamplerate samplerate) \
99 $(use_enable pulseaudio) \
100 --with-speex=${myspeex}
101 }
102
103 src_install() {
104 emake DESTDIR="${D}" install
105
106 cd doc
107 dodoc upmix.txt vdownmix.txt README-pcm-oss
108 use jack && dodoc README-jack
109 use libsamplerate && dodoc samplerate.txt
110 use ffmpeg && dodoc lavcrate.txt a52.txt
111
112 if use pulseaudio; then
113 dodoc README-pulse
114 # install ALSA configuration files
115 # making PA to be used by alsa clients
116 insinto /usr/share/alsa
117 doins "${FILESDIR}"/pulse-default.conf
118 insinto /usr/share/alsa/alsa.conf.d
119 doins "${FILESDIR}"/51-pulseaudio-probe.conf
120 sed -i \
121 -e "s:/lib/:/$(get_libdir)/:" \
122 "${ED}"/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf || die #410261
123 fi
124
125 prune_libtool_files --all
126 }
127
128 pkg_postinst() {
129 if use pulseaudio; then
130 einfo "The PulseAudio device is now set as the default device if the"
131 einfo "PulseAudio server is found to be running. Any custom"
132 einfo "configuration in /etc/asound.conf or ~/.asoundrc for this"
133 einfo "purpose should now be unnecessary."
134 fi
135 }