1 |
ford_prefect 11/08/29 17:54:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pulseaudio-0.99.3.ebuild |
5 |
Removed: pulseaudio-0.99.2.ebuild |
6 |
Log: |
7 |
Bump testing release to 0.99.3. Various bug fixes and new per-port volumes. Will break your volumes if upgrading from 0.99.1 or 0.99.2. |
8 |
|
9 |
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.244 media-sound/pulseaudio/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pulseaudio/ChangeLog?rev=1.244&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pulseaudio/ChangeLog?rev=1.244&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pulseaudio/ChangeLog?r1=1.243&r2=1.244 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v |
21 |
retrieving revision 1.243 |
22 |
retrieving revision 1.244 |
23 |
diff -u -r1.243 -r1.244 |
24 |
--- ChangeLog 20 Aug 2011 15:56:48 -0000 1.243 |
25 |
+++ ChangeLog 29 Aug 2011 17:54:32 -0000 1.244 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for media-sound/pulseaudio |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.243 2011/08/20 15:56:48 jer Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.244 2011/08/29 17:54:32 ford_prefect Exp $ |
31 |
+ |
32 |
+*pulseaudio-0.99.3 (29 Aug 2011) |
33 |
+ |
34 |
+ 29 Aug 2011; Arun Raghavan <ford_prefect@g.o> |
35 |
+ -pulseaudio-0.99.2.ebuild, +pulseaudio-0.99.3.ebuild: |
36 |
+ Bump testing release to 0.99.3. Various ug fixes and new per-port volumes. |
37 |
+ Will break your volumes if upgrading from 0.99.1 or 0.99.2. |
38 |
|
39 |
20 Aug 2011; Jeroen Roovers <jer@g.o> pulseaudio-0.9.22-r2.ebuild: |
40 |
Stable for HPPA (bug #372355). |
41 |
|
42 |
|
43 |
|
44 |
1.1 media-sound/pulseaudio/pulseaudio-0.99.3.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.99.3.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.99.3.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: pulseaudio-0.99.3.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2011 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.99.3.ebuild,v 1.1 2011/08/29 17:54:32 ford_prefect Exp $ |
54 |
|
55 |
EAPI=4 |
56 |
|
57 |
inherit eutils libtool flag-o-matic versionator |
58 |
|
59 |
DESCRIPTION="A networked sound server with an advanced plugin system" |
60 |
HOMEPAGE="http://www.pulseaudio.org/" |
61 |
|
62 |
SRC_URI="http://freedesktop.org/software/pulseaudio/releases/${P}.tar.gz" |
63 |
|
64 |
LICENSE="LGPL-2 GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
67 |
IUSE="+alsa avahi +caps equalizer jack lirc oss tcpd +X dbus libsamplerate gnome bluetooth +asyncns +glib test doc +udev ipv6 system-wide realtime +orc" |
68 |
|
69 |
RDEPEND="app-admin/eselect-esd |
70 |
X? ( |
71 |
|| ( >=x11-libs/libX11-1.4.0 <x11-libs/libX11-1.4.0[xcb] ) |
72 |
>=x11-libs/libxcb-1.6 |
73 |
>=x11-libs/xcb-util-0.3.1 |
74 |
x11-libs/libSM |
75 |
x11-libs/libICE |
76 |
x11-libs/libXtst |
77 |
) |
78 |
caps? ( sys-libs/libcap ) |
79 |
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) |
80 |
alsa? ( >=media-libs/alsa-lib-1.0.19 ) |
81 |
glib? ( >=dev-libs/glib-2.4.0 ) |
82 |
avahi? ( >=net-dns/avahi-0.6.12[dbus] ) |
83 |
jack? ( >=media-sound/jack-audio-connection-kit-0.117 ) |
84 |
tcpd? ( sys-apps/tcp-wrappers ) |
85 |
lirc? ( app-misc/lirc ) |
86 |
dbus? ( >=sys-apps/dbus-1.0.0 ) |
87 |
gnome? ( >=gnome-base/gconf-2.4.0 ) |
88 |
bluetooth? ( |
89 |
>=net-wireless/bluez-4 |
90 |
>=sys-apps/dbus-1.0.0 |
91 |
) |
92 |
asyncns? ( net-libs/libasyncns ) |
93 |
udev? ( || ( >=sys-fs/udev-171[hwdb] >=sys-fs/udev-143[extras] ) ) |
94 |
realtime? ( sys-auth/rtkit ) |
95 |
equalizer? ( sci-libs/fftw:3.0 ) |
96 |
orc? ( >=dev-lang/orc-0.4.9 ) |
97 |
>=media-libs/audiofile-0.2.6-r1 |
98 |
>=media-libs/speex-1.2_rc1 |
99 |
>=media-libs/libsndfile-1.0.20 |
100 |
sys-libs/gdbm |
101 |
dev-libs/json-c |
102 |
>=sys-devel/libtool-2.2.4" # it's a valid RDEPEND, libltdl.so is used |
103 |
|
104 |
DEPEND="${RDEPEND} |
105 |
doc? ( app-doc/doxygen ) |
106 |
X? ( |
107 |
x11-proto/xproto |
108 |
|| ( >=x11-libs/libXtst-1.0.99.2 <x11-proto/xextproto-7.0.99 ) |
109 |
) |
110 |
dev-libs/libatomic_ops |
111 |
dev-util/pkgconfig |
112 |
system-wide? ( || ( dev-util/unifdef sys-freebsd/freebsd-ubin ) ) |
113 |
dev-util/intltool" |
114 |
|
115 |
# alsa-utils dep is for the alsasound init.d script (see bug #155707) |
116 |
# bluez dep is for the bluetooth init.d script |
117 |
RDEPEND="${RDEPEND} |
118 |
X? ( gnome-extra/gnome-audio ) |
119 |
system-wide? ( |
120 |
sys-apps/openrc |
121 |
alsa? ( media-sound/alsa-utils ) |
122 |
bluetooth? ( >=net-wireless/bluez-4 ) |
123 |
)" |
124 |
|
125 |
pkg_setup() { |
126 |
enewgroup audio 18 # Just make sure it exists |
127 |
enewgroup pulse-access |
128 |
enewgroup pulse |
129 |
enewuser pulse -1 -1 /var/run/pulse pulse,audio |
130 |
} |
131 |
|
132 |
src_configure() { |
133 |
# It's a binutils bug, once I can find time to fix that I'll add a |
134 |
# proper dependency and fix this up. — flameeyes |
135 |
append-ldflags $(no-as-needed) |
136 |
|
137 |
econf \ |
138 |
--enable-largefile \ |
139 |
$(use_enable glib glib2) \ |
140 |
--disable-solaris \ |
141 |
$(use_enable asyncns) \ |
142 |
$(use_enable oss oss-output) \ |
143 |
$(use_enable alsa) \ |
144 |
$(use_enable lirc) \ |
145 |
$(use_enable tcpd tcpwrap) \ |
146 |
$(use_enable jack) \ |
147 |
$(use_enable lirc) \ |
148 |
$(use_enable avahi) \ |
149 |
--disable-hal \ |
150 |
$(use_enable dbus) \ |
151 |
$(use_enable gnome gconf) \ |
152 |
$(use_enable libsamplerate samplerate) \ |
153 |
$(use_enable bluetooth bluez) \ |
154 |
$(use_enable X x11) \ |
155 |
$(use_enable test default-build-tests) \ |
156 |
$(use_enable udev) \ |
157 |
$(use_enable ipv6) \ |
158 |
$(use_with caps) \ |
159 |
--localstatedir="${EPREFIX}"/var \ |
160 |
--disable-per-user-esound-socket \ |
161 |
--with-database=gdbm \ |
162 |
--with-udev-rules-dir="${EPREFIX}/lib/udev/rules.d" |
163 |
|
164 |
if use doc; then |
165 |
pushd doxygen |
166 |
doxygen doxygen.conf |
167 |
popd |
168 |
fi |
169 |
} |
170 |
|
171 |
src_test() { |
172 |
# We avoid running the toplevel check target because that will run |
173 |
# po/'s tests too, and they are broken. Officially, it should work |
174 |
# with intltool 0.41, but that doesn't look like a stable release. |
175 |
emake -C src check |
176 |
} |
177 |
|
178 |
src_install() { |
179 |
emake -j1 DESTDIR="${D}" install |
180 |
|
181 |
# Drop the script entirely if X is disabled |
182 |
use X || rm "${ED}"/usr/bin/start-pulseaudio-x11 |
183 |
|
184 |
if use system-wide; then |
185 |
newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio |
186 |
|
187 |
use_define() { |
188 |
local define=${2:-$(echo $1 | tr '[:lower:]' '[:upper:]')} |
189 |
|
190 |
use "$1" && echo "-D$define" || echo "-U$define" |
191 |
} |
192 |
|
193 |
unifdef $(use_define avahi) \ |
194 |
$(use_define alsa) \ |
195 |
$(use_define bluetooth) \ |
196 |
$(use_define udev) \ |
197 |
"${FILESDIR}/pulseaudio.init.d-5" \ |
198 |
> "${T}/pulseaudio" |
199 |
|
200 |
doinitd "${T}/pulseaudio" |
201 |
fi |
202 |
|
203 |
use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${ED}/etc/pulse/default.pa" |
204 |
|
205 |
dodoc README todo |
206 |
|
207 |
if use doc; then |
208 |
pushd doxygen/html |
209 |
dohtml * |
210 |
popd |
211 |
fi |
212 |
|
213 |
# Create the state directory |
214 |
use prefix || diropts -o pulse -g pulse -m0755 |
215 |
keepdir /var/run/pulse |
216 |
|
217 |
find "${D}" -name '*.la' -delete |
218 |
} |
219 |
|
220 |
pkg_postinst() { |
221 |
if use system-wide; then |
222 |
elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon." |
223 |
elog "This support is enabled by starting the pulseaudio init.d ." |
224 |
elog "To be able to access that you need to be in the group pulse-access." |
225 |
elog "If you choose to use this feature, please make sure that you" |
226 |
elog "really want to run PulseAudio this way:" |
227 |
elog " http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode" |
228 |
elog "For more information about system-wide support, please refer to:" |
229 |
elog " http://pulseaudio.org/wiki/SystemWideInstance" |
230 |
if use gnome ; then |
231 |
elog |
232 |
elog "By enabling gnome USE flag, you enabled gconf support. Please note" |
233 |
elog "that you might need to remove the gnome USE flag or disable the" |
234 |
elog "gconf module on /etc/pulse/system.pa to be able to use PulseAudio" |
235 |
elog "with a system-wide instance." |
236 |
fi |
237 |
elog |
238 |
elog "To use the ESounD wrapper while using a system-wide daemon, you also" |
239 |
elog "need to enable auth-anonymous for the esound-unix module, or to copy" |
240 |
elog "/var/run/pulse/.esd_auth into each home directory." |
241 |
elog |
242 |
fi |
243 |
if use bluetooth; then |
244 |
elog |
245 |
elog "The BlueTooth proximity module is not enabled in the default" |
246 |
elog "configuration file. If you do enable it, you'll have to have" |
247 |
elog "your BlueTooth controller enabled and inserted at bootup or" |
248 |
elog "PulseAudio will refuse to start." |
249 |
elog |
250 |
elog "Please note that the BlueTooth proximity module seems itself" |
251 |
elog "still experimental, so please report to upstream if you have" |
252 |
elog "problems with it." |
253 |
fi |
254 |
if use alsa; then |
255 |
local pkg="media-plugins/alsa-plugins" |
256 |
if has_version ${pkg} && ! has_version "${pkg}[pulseaudio]"; then |
257 |
elog |
258 |
elog "You have alsa support enabled so you probably want to install" |
259 |
elog "${pkg} with pulseaudio support to have" |
260 |
elog "alsa using applications route their sound through pulseaudio" |
261 |
fi |
262 |
fi |
263 |
|
264 |
eselect esd update --if-unset |
265 |
} |