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