1 |
flameeyes 09/08/25 00:46:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pulseaudio-0.9.16_rc6-r51.ebuild |
5 |
pulseaudio-0.9.16_rc6.ebuild |
6 |
Removed: pulseaudio-0.9.16_rc5.ebuild |
7 |
pulseaudio-0.9.16_rc5-r51.ebuild |
8 |
Log: |
9 |
Bump to latest test version. |
10 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.145 media-sound/pulseaudio/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?rev=1.145&view=markup |
16 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?rev=1.145&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?r1=1.144&r2=1.145 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v |
22 |
retrieving revision 1.144 |
23 |
retrieving revision 1.145 |
24 |
diff -u -r1.144 -r1.145 |
25 |
--- ChangeLog 21 Aug 2009 23:18:46 -0000 1.144 |
26 |
+++ ChangeLog 25 Aug 2009 00:46:43 -0000 1.145 |
27 |
@@ -1,6 +1,14 @@ |
28 |
# ChangeLog for media-sound/pulseaudio |
29 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.144 2009/08/21 23:18:46 flameeyes Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.145 2009/08/25 00:46:43 flameeyes Exp $ |
32 |
+ |
33 |
+*pulseaudio-0.9.16_rc6-r51 (25 Aug 2009) |
34 |
+*pulseaudio-0.9.16_rc6 (25 Aug 2009) |
35 |
+ |
36 |
+ 25 Aug 2009; Diego E. Pettenò <flameeyes@g.o> |
37 |
+ -pulseaudio-0.9.16_rc5.ebuild, -pulseaudio-0.9.16_rc5-r51.ebuild, |
38 |
+ +pulseaudio-0.9.16_rc6.ebuild, +pulseaudio-0.9.16_rc6-r51.ebuild: |
39 |
+ Bump to latest test version. |
40 |
|
41 |
21 Aug 2009; Diego E. Pettenò <flameeyes@g.o> |
42 |
pulseaudio-0.9.9-r54.ebuild: |
43 |
|
44 |
|
45 |
|
46 |
1.1 media-sound/pulseaudio/pulseaudio-0.9.16_rc6-r51.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc6-r51.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc6-r51.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: pulseaudio-0.9.16_rc6-r51.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2009 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc6-r51.ebuild,v 1.1 2009/08/25 00:46:43 flameeyes Exp $ |
56 |
|
57 |
EAPI=2 |
58 |
|
59 |
WANT_AUTOMAKE=1.11 |
60 |
|
61 |
inherit eutils libtool flag-o-matic autotools |
62 |
|
63 |
DESCRIPTION="A networked sound server with an advanced plugin system" |
64 |
HOMEPAGE="http://www.pulseaudio.org/" |
65 |
if [[ ${PV/_rc/} == ${PV} ]]; then |
66 |
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" |
67 |
else |
68 |
SRC_URI="http://0pointer.de/public/${P/_rc/-test}.tar.gz" |
69 |
fi |
70 |
|
71 |
S="${WORKDIR}/${P/_rc/-test}" |
72 |
|
73 |
LICENSE="LGPL-2 GPL-2" |
74 |
SLOT="0" |
75 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" |
76 |
IUSE="+alsa avahi +caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit +asyncns +glib test doc +udev" |
77 |
|
78 |
RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE x11-libs/libXtst ) |
79 |
caps? ( sys-libs/libcap ) |
80 |
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) |
81 |
alsa? ( >=media-libs/alsa-lib-1.0.19 ) |
82 |
glib? ( >=dev-libs/glib-2.4.0 ) |
83 |
avahi? ( >=net-dns/avahi-0.6.12[dbus] ) |
84 |
>=dev-libs/liboil-0.3.0 |
85 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
86 |
tcpd? ( sys-apps/tcp-wrappers ) |
87 |
lirc? ( app-misc/lirc ) |
88 |
dbus? ( >=sys-apps/dbus-1.0.0 ) |
89 |
gnome? ( >=gnome-base/gconf-2.4.0 ) |
90 |
hal? ( |
91 |
>=sys-apps/hal-0.5.7 |
92 |
>=sys-apps/dbus-1.0.0 |
93 |
) |
94 |
app-admin/eselect-esd |
95 |
bluetooth? ( |
96 |
|| ( >=net-wireless/bluez-4 |
97 |
>=net-wireless/bluez-libs-3 ) |
98 |
>=sys-apps/dbus-1.0.0 |
99 |
) |
100 |
policykit? ( sys-auth/policykit ) |
101 |
asyncns? ( net-libs/libasyncns ) |
102 |
udev? ( >=sys-fs/udev-143[extras] ) |
103 |
>=media-libs/audiofile-0.2.6-r1 |
104 |
>=media-libs/speex-1.2_beta |
105 |
>=media-libs/libsndfile-1.0.10 |
106 |
>=dev-libs/liboil-0.3.6 |
107 |
sys-libs/gdbm |
108 |
>=sys-devel/libtool-2.2.4" # it's a valid RDEPEND, libltdl.so is used |
109 |
|
110 |
DEPEND="${RDEPEND} |
111 |
doc? ( app-doc/doxygen ) |
112 |
X? ( x11-proto/xproto ) |
113 |
dev-libs/libatomic_ops |
114 |
dev-util/pkgconfig |
115 |
|| ( dev-util/unifdef sys-freebsd/freebsd-ubin ) |
116 |
dev-util/intltool" |
117 |
|
118 |
# alsa-utils dep is for the alsasound init.d script (see bug #155707) |
119 |
# bluez-utils dep is for the bluetooth init.d script |
120 |
RDEPEND="${RDEPEND} |
121 |
sys-apps/openrc |
122 |
gnome-extra/gnome-audio |
123 |
alsa? ( media-sound/alsa-utils ) |
124 |
bluetooth? ( |
125 |
|| ( >=net-wireless/bluez-4 |
126 |
>=net-wireless/bluez-utils-3 ) )" |
127 |
|
128 |
pkg_setup() { |
129 |
enewgroup audio 18 # Just make sure it exists |
130 |
enewgroup pulse-access |
131 |
enewgroup pulse |
132 |
enewuser pulse -1 -1 /var/run/pulse pulse,audio |
133 |
|
134 |
if use udev && use hal; then |
135 |
elog "Please note that enabling both udev and hal will build both" |
136 |
elog "discover modules, but only udev will be ued automatically." |
137 |
elog "If you wish to use hal you have to enable it explicitly" |
138 |
elog "or you might just disable the hal USE flag entirely." |
139 |
fi |
140 |
} |
141 |
|
142 |
src_prepare() { |
143 |
elibtoolize |
144 |
} |
145 |
|
146 |
src_configure() { |
147 |
# It's a binutils bug, once I can find time to fix that I'll add a |
148 |
# proper dependency and fix this up. — flameeyes |
149 |
append-ldflags -Wl,--no-as-needed |
150 |
|
151 |
econf \ |
152 |
--enable-largefile \ |
153 |
$(use_enable glib glib2) \ |
154 |
--disable-solaris \ |
155 |
$(use_enable asyncns) \ |
156 |
$(use_enable oss oss-output) \ |
157 |
$(use_enable alsa) \ |
158 |
$(use_enable lirc) \ |
159 |
$(use_enable tcpd tcpwrap) \ |
160 |
$(use_enable jack) \ |
161 |
$(use_enable lirc) \ |
162 |
$(use_enable avahi) \ |
163 |
$(use_enable hal) \ |
164 |
$(use_enable dbus) \ |
165 |
$(use_enable gnome gconf) \ |
166 |
$(use_enable libsamplerate samplerate) \ |
167 |
$(use_enable bluetooth bluez) \ |
168 |
$(use_enable X x11) \ |
169 |
$(use_enable test default-build-tests) \ |
170 |
$(use_with caps) \ |
171 |
$(use_enable udev) \ |
172 |
--localstatedir=/var \ |
173 |
--disable-per-user-esound-socket \ |
174 |
--with-database=gdbm \ |
175 |
|| die "econf failed" |
176 |
|
177 |
if use doc; then |
178 |
pushd doxygen |
179 |
doxygen doxygen.conf || die |
180 |
popd |
181 |
fi |
182 |
} |
183 |
|
184 |
src_test() { |
185 |
# We avoid running the toplevel check target because that will run |
186 |
# po/'s tests too, and they are broken. Officially, it should work |
187 |
# with intltool 0.41, but that doesn't look like a stable release. |
188 |
emake -C src check || die |
189 |
} |
190 |
|
191 |
src_install() { |
192 |
emake -j1 DESTDIR="${D}" install || die "make install failed" |
193 |
|
194 |
newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio |
195 |
|
196 |
use_define() { |
197 |
local define=${2:-$(echo $1 | tr '[:lower:]' '[:upper:]')} |
198 |
|
199 |
use "$1" && echo "-D$define" || echo "-U$define" |
200 |
} |
201 |
|
202 |
unifdef $(use_define hal) \ |
203 |
$(use_define avahi) \ |
204 |
$(use_define alsa) \ |
205 |
$(use_define bluetooth) \ |
206 |
$(use_define udev) \ |
207 |
"${FILESDIR}/pulseaudio.init.d-4" \ |
208 |
> "${T}/pulseaudio" |
209 |
|
210 |
doinitd "${T}/pulseaudio" |
211 |
|
212 |
use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" |
213 |
|
214 |
if use hal && !use udev; then |
215 |
sed -i -e 's:-udev:-hal:' "${D}/etc/pulse/default.pa" || die |
216 |
fi |
217 |
|
218 |
dodoc README ChangeLog todo || die |
219 |
|
220 |
if use doc; then |
221 |
pushd doxygen/html |
222 |
dohtml * || die |
223 |
popd |
224 |
fi |
225 |
|
226 |
# Create the state directory |
227 |
diropts -o pulse -g pulse -m0755 |
228 |
keepdir /var/run/pulse |
229 |
|
230 |
find "${D}" -name '*.la' -delete |
231 |
} |
232 |
|
233 |
pkg_postinst() { |
234 |
elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon." |
235 |
elog "This support is enabled by starting the pulseaudio init.d ." |
236 |
elog "To be able to access that you need to be in the group pulse-access." |
237 |
elog "If you choose to use this feature, please make sure that you" |
238 |
elog "really want to run PulseAudio this way:" |
239 |
elog " http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode" |
240 |
elog "For more information about system-wide support, please refer to:" |
241 |
elog " http://pulseaudio.org/wiki/SystemWideInstance" |
242 |
if use gnome; then |
243 |
elog |
244 |
elog "By enabling gnome USE flag, you enabled gconf support. Please note" |
245 |
elog "that you might need to remove the gnome USE flag or disable the" |
246 |
elog "gconf module on /etc/pulse/system.pa to be able to use PulseAudio" |
247 |
elog "with a system-wide instance." |
248 |
fi |
249 |
elog |
250 |
elog "To use the ESounD wrapper while using a system-wide daemon, you also" |
251 |
elog "need to enable auth-anonymous for the esound-unix module, or to copy" |
252 |
elog "/var/run/pulse/.esd_auth into each home directory." |
253 |
elog |
254 |
if use bluetooth; then |
255 |
elog |
256 |
elog "The BlueTooth proximity module is not enabled in the default" |
257 |
elog "configuration file. If you do enable it, you'll have to have" |
258 |
elog "your BlueTooth controller enabled and inserted at bootup or" |
259 |
elog "PulseAudio will refuse to start." |
260 |
elog |
261 |
elog "Please note that the BlueTooth proximity module seems itself" |
262 |
elog "still experimental, so please report to upstream if you have" |
263 |
elog "problems with it." |
264 |
fi |
265 |
if use alsa; then |
266 |
local pkg="media-plugins/alsa-plugins" |
267 |
if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then |
268 |
elog |
269 |
elog "You have alsa support enabled so you probably want to install" |
270 |
elog "${pkg} with pulseaudio support to have" |
271 |
elog "alsa using applications route their sound through pulseaudio" |
272 |
fi |
273 |
fi |
274 |
|
275 |
eselect esd update --if-unset |
276 |
} |
277 |
|
278 |
|
279 |
|
280 |
1.1 media-sound/pulseaudio/pulseaudio-0.9.16_rc6.ebuild |
281 |
|
282 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc6.ebuild?rev=1.1&view=markup |
283 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc6.ebuild?rev=1.1&content-type=text/plain |
284 |
|
285 |
Index: pulseaudio-0.9.16_rc6.ebuild |
286 |
=================================================================== |
287 |
# Copyright 1999-2009 Gentoo Foundation |
288 |
# Distributed under the terms of the GNU General Public License v2 |
289 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc6.ebuild,v 1.1 2009/08/25 00:46:43 flameeyes Exp $ |
290 |
|
291 |
EAPI=2 |
292 |
|
293 |
WANT_AUTOMAKE=1.11 |
294 |
|
295 |
inherit eutils libtool flag-o-matic autotools |
296 |
|
297 |
DESCRIPTION="A networked sound server with an advanced plugin system" |
298 |
HOMEPAGE="http://www.pulseaudio.org/" |
299 |
if [[ ${PV/_rc/} == ${PV} ]]; then |
300 |
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" |
301 |
else |
302 |
SRC_URI="http://0pointer.de/public/${P/_rc/-test}.tar.gz" |
303 |
fi |
304 |
|
305 |
S="${WORKDIR}/${P/_rc/-test}" |
306 |
|
307 |
LICENSE="LGPL-2 GPL-2" |
308 |
SLOT="0" |
309 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" |
310 |
IUSE="+alsa avahi +caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit +asyncns +glib test doc +udev" |
311 |
|
312 |
RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE x11-libs/libXtst ) |
313 |
caps? ( sys-libs/libcap ) |
314 |
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) |
315 |
alsa? ( >=media-libs/alsa-lib-1.0.19 ) |
316 |
glib? ( >=dev-libs/glib-2.4.0 ) |
317 |
avahi? ( >=net-dns/avahi-0.6.12[dbus] ) |
318 |
>=dev-libs/liboil-0.3.0 |
319 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
320 |
tcpd? ( sys-apps/tcp-wrappers ) |
321 |
lirc? ( app-misc/lirc ) |
322 |
dbus? ( >=sys-apps/dbus-1.0.0 ) |
323 |
gnome? ( >=gnome-base/gconf-2.4.0 ) |
324 |
hal? ( |
325 |
>=sys-apps/hal-0.5.7 |
326 |
>=sys-apps/dbus-1.0.0 |
327 |
) |
328 |
app-admin/eselect-esd |
329 |
bluetooth? ( |
330 |
|| ( >=net-wireless/bluez-4 |
331 |
>=net-wireless/bluez-libs-3 ) |
332 |
>=sys-apps/dbus-1.0.0 |
333 |
) |
334 |
policykit? ( sys-auth/policykit ) |
335 |
asyncns? ( net-libs/libasyncns ) |
336 |
udev? ( >=sys-fs/udev-143[extras] ) |
337 |
>=media-libs/audiofile-0.2.6-r1 |
338 |
>=media-libs/speex-1.2_beta |
339 |
>=media-libs/libsndfile-1.0.10 |
340 |
>=dev-libs/liboil-0.3.6 |
341 |
sys-libs/gdbm |
342 |
>=sys-devel/libtool-2.2.4" # it's a valid RDEPEND, libltdl.so is used |
343 |
|
344 |
DEPEND="${RDEPEND} |
345 |
doc? ( app-doc/doxygen ) |
346 |
X? ( x11-proto/xproto ) |
347 |
dev-libs/libatomic_ops |
348 |
dev-util/pkgconfig |
349 |
dev-util/intltool" |
350 |
|
351 |
RDEPEND="${RDEPEND} |
352 |
gnome-extra/gnome-audio" |
353 |
|
354 |
pkg_setup() { |
355 |
enewgroup audio 18 # Just make sure it exists |
356 |
enewgroup realtime |
357 |
enewgroup pulse-access |
358 |
enewgroup pulse |
359 |
enewuser pulse -1 -1 /var/run/pulse pulse,audio |
360 |
|
361 |
if use udev && use hal; then |
362 |
elog "Please note that enabling both udev and hal will build both" |
363 |
elog "discover modules, but only udev will be ued automatically." |
364 |
elog "If you wish to use hal you have to enable it explicitly" |
365 |
elog "or you might just disable the hal USE flag entirely." |
366 |
fi |
367 |
} |
368 |
|
369 |
src_prepare() { |
370 |
elibtoolize |
371 |
} |
372 |
|
373 |
src_configure() { |
374 |
# It's a binutils bug, once I can find time to fix that I'll add a |
375 |
# proper dependency and fix this up. — flameeyes |
376 |
append-ldflags -Wl,--no-as-needed |
377 |
|
378 |
econf \ |
379 |
--enable-largefile \ |
380 |
$(use_enable glib glib2) \ |
381 |
--disable-solaris \ |
382 |
$(use_enable asyncns) \ |
383 |
$(use_enable oss oss-output) \ |
384 |
$(use_enable alsa) \ |
385 |
$(use_enable lirc) \ |
386 |
$(use_enable tcpd tcpwrap) \ |
387 |
$(use_enable jack) \ |
388 |
$(use_enable lirc) \ |
389 |
$(use_enable avahi) \ |
390 |
$(use_enable hal) \ |
391 |
$(use_enable dbus) \ |
392 |
$(use_enable gnome gconf) \ |
393 |
$(use_enable libsamplerate samplerate) \ |
394 |
$(use_enable bluetooth bluez) \ |
395 |
$(use_enable policykit polkit) \ |
396 |
$(use_enable X x11) \ |
397 |
$(use_enable test default-build-tests) \ |
398 |
$(use_enable udev) \ |
399 |
$(use_with caps) \ |
400 |
--localstatedir=/var \ |
401 |
--with-realtime-group=realtime \ |
402 |
--disable-per-user-esound-socket \ |
403 |
|| die "econf failed" |
404 |
|
405 |
if use doc; then |
406 |
pushd doxygen |
407 |
doxygen doxygen.conf || die |
408 |
popd |
409 |
fi |
410 |
} |
411 |
|
412 |
src_test() { |
413 |
# We avoid running the toplevel check target because that will run |
414 |
# po/'s tests too, and they are broken. Officially, it should work |
415 |
# with intltool 0.41, but that doesn't look like a stable release. |
416 |
emake -C src check || die |
417 |
} |
418 |
|
419 |
src_install() { |
420 |
emake DESTDIR="${D}" install || die "make install failed" |
421 |
|
422 |
use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" |
423 |
|
424 |
if use hal && !use udev; then |
425 |
sed -i -e 's:-udev:-hal:' "${D}/etc/pulse/default.pa" || die |
426 |
fi |
427 |
|
428 |
dodoc README ChangeLog todo || die |
429 |
|
430 |
if use doc; then |
431 |
pushd doxygen/html |
432 |
dohtml * || die |
433 |
popd |
434 |
fi |
435 |
|
436 |
# Create the state directory |
437 |
diropts -o pulse -g pulse -m0755 |
438 |
keepdir /var/run/pulse |
439 |
|
440 |
find "${D}" -name '*.la' -delete |
441 |
} |
442 |
|
443 |
pkg_postinst() { |
444 |
elog "If you want to make use of realtime capabilities of PulseAudio" |
445 |
elog "you should follow the realtime guide to create and set up a realtime" |
446 |
elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" |
447 |
elog "Make sure you also have baselayout installed with pam USE flag" |
448 |
elog "enabled, if you're using the rlimit method." |
449 |
if use bluetooth; then |
450 |
elog |
451 |
elog "The BlueTooth proximity module is not enabled in the default" |
452 |
elog "configuration file. If you do enable it, you'll have to have" |
453 |
elog "your BlueTooth controller enabled and inserted at bootup or" |
454 |
elog "PulseAudio will refuse to start." |
455 |
elog |
456 |
elog "Please note that the BlueTooth proximity module seems itself" |
457 |
elog "still experimental, so please report to upstream if you have" |
458 |
elog "problems with it." |
459 |
fi |
460 |
if use alsa && |
461 |
has_version media-plugins/alsa-plugins && |
462 |
!built_with_use --missing false media-plugins/alsa-plugins pulseaudio; then |
463 |
|
464 |
elog |
465 |
elog "You have alsa support enabled so you probably want to install" |
466 |
elog "${pkg} with pulseaudio support to have" |
467 |
elog "alsa using applications route their sound through pulseaudio" |
468 |
fi |
469 |
|
470 |
eselect esd update --if-unset |
471 |
} |