1 |
flameeyes 07/12/29 17:39:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pulseaudio-0.9.8-r7.ebuild |
5 |
pulseaudio-0.9.8-r6.ebuild |
6 |
Log: |
7 |
Add new revisions with an asyncns USE flag to use libasyncns. |
8 |
(Portage version: 2.1.4_rc11) |
9 |
|
10 |
Revision Changes Path |
11 |
1.86 media-sound/pulseaudio/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?rev=1.86&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?rev=1.86&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?r1=1.85&r2=1.86 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v |
20 |
retrieving revision 1.85 |
21 |
retrieving revision 1.86 |
22 |
diff -u -r1.85 -r1.86 |
23 |
--- ChangeLog 29 Dec 2007 16:11:24 -0000 1.85 |
24 |
+++ ChangeLog 29 Dec 2007 17:39:01 -0000 1.86 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for media-sound/pulseaudio |
27 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.85 2007/12/29 16:11:24 flameeyes Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.86 2007/12/29 17:39:01 flameeyes Exp $ |
30 |
+ |
31 |
+*pulseaudio-0.9.8-r7 (29 Dec 2007) |
32 |
+*pulseaudio-0.9.8-r6 (29 Dec 2007) |
33 |
+ |
34 |
+ 29 Dec 2007; Diego Pettenò <flameeyes@g.o> |
35 |
+ +pulseaudio-0.9.8-r6.ebuild, +pulseaudio-0.9.8-r7.ebuild: |
36 |
+ Add new revisions with an asyncns USE flag to use libasyncns. |
37 |
|
38 |
29 Dec 2007; Diego Pettenò <flameeyes@g.o> |
39 |
-files/pulseaudio-0.9.6-build.patch, -pulseaudio-0.9.6-r1.ebuild, |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-sound/pulseaudio/pulseaudio-0.9.8-r7.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.8-r7.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.8-r7.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: pulseaudio-0.9.8-r7.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2007 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.8-r7.ebuild,v 1.1 2007/12/29 17:39:01 flameeyes Exp $ |
53 |
|
54 |
inherit eutils libtool autotools |
55 |
|
56 |
DESCRIPTION="A networked sound server with an advanced plugin system" |
57 |
HOMEPAGE="http://0pointer.de/lennart/projects/pulseaudio/" |
58 |
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" |
59 |
|
60 |
LICENSE="LGPL-2 GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64" |
63 |
IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns" |
64 |
|
65 |
RDEPEND="X? ( x11-libs/libX11 ) |
66 |
caps? ( sys-libs/libcap ) |
67 |
>=media-libs/audiofile-0.2.6-r1 |
68 |
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) |
69 |
>=media-libs/libsndfile-1.0.10 |
70 |
>=dev-libs/liboil-0.3.6 |
71 |
alsa? ( >=media-libs/alsa-lib-1.0.10 ) |
72 |
>=dev-libs/glib-2.4.0 |
73 |
avahi? ( >=net-dns/avahi-0.6.12 ) |
74 |
>=dev-libs/liboil-0.3.0 |
75 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
76 |
tcpd? ( sys-apps/tcp-wrappers ) |
77 |
lirc? ( app-misc/lirc ) |
78 |
dbus? ( >=sys-apps/dbus-1.0.0 ) |
79 |
gnome? ( >=gnome-base/gconf-2.4.0 ) |
80 |
hal? ( |
81 |
>=sys-apps/hal-0.5.7 |
82 |
>=sys-apps/dbus-1.0.0 |
83 |
) |
84 |
app-admin/eselect-esd |
85 |
bluetooth? ( |
86 |
>=net-wireless/bluez-libs-3 |
87 |
>=sys-apps/dbus-1.0.0 |
88 |
) |
89 |
policykit? ( sys-auth/policykit ) |
90 |
asyncns? ( net-libs/libasyncns ) |
91 |
>=sys-apps/baselayout-2.0_rc5 |
92 |
>=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used |
93 |
DEPEND="${RDEPEND} |
94 |
dev-libs/libatomic_ops |
95 |
dev-util/pkgconfig |
96 |
dev-util/unifdef" |
97 |
|
98 |
# alsa-utils dep is for the alsasound init.d script (see bug #155707) |
99 |
# bluez-utils dep is for the bluetooth init.d script |
100 |
RDEPEND="${RDEPEND} |
101 |
gnome-extra/gnome-audio |
102 |
alsa? ( media-sound/alsa-utils ) |
103 |
bluetooth? ( >=net-wireless/bluez-utils-3 )" |
104 |
|
105 |
pkg_setup() { |
106 |
if use avahi && ! built_with_use net-dns/avahi dbus ; then |
107 |
echo |
108 |
eerror "In order to compile pulseaudio with avahi support, you need to have" |
109 |
eerror "net-dns/avahi emerged with 'dbus' in your USE flag. Please add that" |
110 |
eerror "flag, re-emerge avahi, and then emerge pulseaudio again." |
111 |
die "net-dns/avahi is missing the D-Bus bindings." |
112 |
fi |
113 |
|
114 |
enewgroup audio 18 # Just make sure it exists |
115 |
enewgroup realtime |
116 |
enewgroup pulse-access |
117 |
enewgroup pulse |
118 |
enewuser pulse -1 -1 /var/run/pulse pulse,audio |
119 |
} |
120 |
|
121 |
src_unpack() { |
122 |
unpack ${A} |
123 |
cd "${S}" |
124 |
|
125 |
epatch "${FILESDIR}/${P}-svn2074.patch" |
126 |
epatch "${FILESDIR}/${P}-polkit.patch" |
127 |
epatch "${FILESDIR}/${P}-bt-nohal.patch" |
128 |
epatch "${FILESDIR}/${P}-esoundpath.patch" |
129 |
epatch "${FILESDIR}/${P}-create-directory.patch" |
130 |
|
131 |
eautoreconf |
132 |
elibtoolize |
133 |
} |
134 |
|
135 |
src_compile() { |
136 |
econf \ |
137 |
--enable-largefile \ |
138 |
--enable-glib2 \ |
139 |
--disable-solaris \ |
140 |
$(use_enable asyncns) \ |
141 |
$(use_enable oss) \ |
142 |
$(use_enable alsa) \ |
143 |
$(use_enable lirc) \ |
144 |
$(use_enable tcpd tcpwrap) \ |
145 |
$(use_enable jack) \ |
146 |
$(use_enable lirc) \ |
147 |
$(use_enable avahi) \ |
148 |
$(use_enable hal) \ |
149 |
$(use_enable dbus) \ |
150 |
$(use_enable gnome gconf) \ |
151 |
$(use_enable libsamplerate samplerate) \ |
152 |
$(use_enable bluetooth bluez) \ |
153 |
$(use_enable policykit polkit) \ |
154 |
$(use_with caps) \ |
155 |
$(use_with X x) \ |
156 |
--disable-ltdl-install \ |
157 |
--localstatedir=/var \ |
158 |
--with-realtime-group=realtime \ |
159 |
|| die "econf failed" |
160 |
emake || die "emake failed" |
161 |
} |
162 |
|
163 |
src_install() { |
164 |
emake -j1 DESTDIR="${D}" install || die "make install failed" |
165 |
|
166 |
newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio |
167 |
|
168 |
use_define() { |
169 |
local define=${2:-$(echo $1 | tr '[:lower:]' '[:upper:]')} |
170 |
|
171 |
use "$1" && echo "-D$define" || echo "-U$define" |
172 |
} |
173 |
|
174 |
unifdef "${FILESDIR}/pulseaudio.init.d-3" \ |
175 |
$(use_define hal) \ |
176 |
$(use_define avahi) \ |
177 |
$(use_define alsa) \ |
178 |
$(use_define bluetooth) \ |
179 |
> "${T}/pulseaudio" |
180 |
doinitd "${T}/pulseaudio" |
181 |
|
182 |
if ! use hal; then |
183 |
sed -i -e '/module-hal-detect/s:^:#: ; /module-detect/s:^#::' "${D}/etc/pulse/default.pa" |
184 |
fi |
185 |
use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" |
186 |
|
187 |
dohtml -r doc |
188 |
dodoc README |
189 |
|
190 |
# Create the state directory |
191 |
diropts -o pulse -g pulse -m0755 |
192 |
keepdir /var/run/pulse |
193 |
} |
194 |
|
195 |
pkg_postinst() { |
196 |
elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon." |
197 |
elog "This support is enabled by starting the pulseaudio init.d ." |
198 |
elog "To be able to access that you need to be in the group pulse-access." |
199 |
elog "For more information about system-wide support, please refer to" |
200 |
elog " http://pulseaudio.org/wiki/SystemWideInstance" |
201 |
if use gnome; then |
202 |
elog |
203 |
elog "By enabling gnome USE flag, you enabled gconf support. Pleaes note" |
204 |
elog "that you might need to remove the gnome USE flag or disable the" |
205 |
elog "gconf module on /etc/pulse/default.pa to be able to use PulseAudio" |
206 |
elog "with a system-wide instance." |
207 |
fi |
208 |
elog |
209 |
elog "To use the ESounD wrapper while using a system-wide daemon, you also" |
210 |
elog "need to enable auth-anonymous for the esound-unix module, or to copy" |
211 |
elog "/var/run/pulse/.esd_auth into each home directory." |
212 |
elog |
213 |
elog "If you want to make use of realtime capabilities of PulseAudio" |
214 |
elog "you should follow the realtime guide to create and set up a realtime" |
215 |
elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" |
216 |
elog "Make sure you also have baselayout installed with pam USE flag" |
217 |
elog "enabled, if you're using the rlimit method." |
218 |
if use bluetooth; then |
219 |
elog |
220 |
elog "The BlueTooth proximity module is not enabled in the default" |
221 |
elog "configuration file. If you do enable it, you'll have to have" |
222 |
elog "your BlueTooth controller enabled and inserted at bootup or" |
223 |
elog "PulseAudio will refuse to start." |
224 |
elog |
225 |
elog "Please note that the BlueTooth proximity module seems itself" |
226 |
elog "still experimental, so please report to upstream if you have" |
227 |
elog "problems with it." |
228 |
fi |
229 |
|
230 |
eselect esd update --if-unset |
231 |
} |
232 |
|
233 |
|
234 |
|
235 |
1.1 media-sound/pulseaudio/pulseaudio-0.9.8-r6.ebuild |
236 |
|
237 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.8-r6.ebuild?rev=1.1&view=markup |
238 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.8-r6.ebuild?rev=1.1&content-type=text/plain |
239 |
|
240 |
Index: pulseaudio-0.9.8-r6.ebuild |
241 |
=================================================================== |
242 |
# Copyright 1999-2007 Gentoo Foundation |
243 |
# Distributed under the terms of the GNU General Public License v2 |
244 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.8-r6.ebuild,v 1.1 2007/12/29 17:39:01 flameeyes Exp $ |
245 |
|
246 |
inherit eutils libtool autotools |
247 |
|
248 |
DESCRIPTION="A networked sound server with an advanced plugin system" |
249 |
HOMEPAGE="http://0pointer.de/lennart/projects/pulseaudio/" |
250 |
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" |
251 |
|
252 |
LICENSE="LGPL-2 GPL-2" |
253 |
SLOT="0" |
254 |
KEYWORDS="~amd64" |
255 |
IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns" |
256 |
|
257 |
RDEPEND="X? ( x11-libs/libX11 ) |
258 |
caps? ( sys-libs/libcap ) |
259 |
>=media-libs/audiofile-0.2.6-r1 |
260 |
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) |
261 |
>=media-libs/libsndfile-1.0.10 |
262 |
>=dev-libs/liboil-0.3.6 |
263 |
alsa? ( >=media-libs/alsa-lib-1.0.10 ) |
264 |
>=dev-libs/glib-2.4.0 |
265 |
avahi? ( >=net-dns/avahi-0.6.12 ) |
266 |
>=dev-libs/liboil-0.3.0 |
267 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
268 |
tcpd? ( sys-apps/tcp-wrappers ) |
269 |
lirc? ( app-misc/lirc ) |
270 |
dbus? ( >=sys-apps/dbus-1.0.0 ) |
271 |
gnome? ( >=gnome-base/gconf-2.4.0 ) |
272 |
hal? ( |
273 |
>=sys-apps/hal-0.5.7 |
274 |
>=sys-apps/dbus-1.0.0 |
275 |
) |
276 |
app-admin/eselect-esd |
277 |
bluetooth? ( |
278 |
>=net-wireless/bluez-libs-3 |
279 |
>=sys-apps/dbus-1.0.0 |
280 |
) |
281 |
policykit? ( sys-auth/policykit ) |
282 |
asyncns? ( net-libs/libasyncns ) |
283 |
>=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used |
284 |
DEPEND="${RDEPEND} |
285 |
dev-libs/libatomic_ops |
286 |
dev-util/pkgconfig" |
287 |
|
288 |
# alsa-utils dep is for the alsasound init.d script (see bug #155707) |
289 |
# bluez-utils dep is for the bluetooth init.d script |
290 |
RDEPEND="${RDEPEND} |
291 |
gnome-extra/gnome-audio |
292 |
alsa? ( media-sound/alsa-utils ) |
293 |
bluetooth? ( >=net-wireless/bluez-utils-3 )" |
294 |
|
295 |
pkg_setup() { |
296 |
if use avahi && ! built_with_use net-dns/avahi dbus ; then |
297 |
echo |
298 |
eerror "In order to compile pulseaudio with avahi support, you need to have" |
299 |
eerror "net-dns/avahi emerged with 'dbus' in your USE flag. Please add that" |
300 |
eerror "flag, re-emerge avahi, and then emerge pulseaudio again." |
301 |
die "net-dns/avahi is missing the D-Bus bindings." |
302 |
fi |
303 |
|
304 |
enewgroup audio 18 # Just make sure it exists |
305 |
enewgroup realtime |
306 |
enewgroup pulse-access |
307 |
enewgroup pulse |
308 |
enewuser pulse -1 -1 /var/run/pulse pulse,audio |
309 |
} |
310 |
|
311 |
src_unpack() { |
312 |
unpack ${A} |
313 |
cd "${S}" |
314 |
|
315 |
epatch "${FILESDIR}/${P}-svn2074.patch" |
316 |
epatch "${FILESDIR}/${P}-polkit.patch" |
317 |
epatch "${FILESDIR}/${P}-bt-nohal.patch" |
318 |
epatch "${FILESDIR}/${P}-esoundpath.patch" |
319 |
epatch "${FILESDIR}/${P}-create-directory.patch" |
320 |
|
321 |
eautoreconf |
322 |
elibtoolize |
323 |
} |
324 |
|
325 |
src_compile() { |
326 |
econf \ |
327 |
--enable-largefile \ |
328 |
--enable-glib2 \ |
329 |
--disable-solaris \ |
330 |
$(use_enable asyncns) \ |
331 |
$(use_enable oss) \ |
332 |
$(use_enable alsa) \ |
333 |
$(use_enable lirc) \ |
334 |
$(use_enable tcpd tcpwrap) \ |
335 |
$(use_enable jack) \ |
336 |
$(use_enable lirc) \ |
337 |
$(use_enable avahi) \ |
338 |
$(use_enable hal) \ |
339 |
$(use_enable dbus) \ |
340 |
$(use_enable gnome gconf) \ |
341 |
$(use_enable libsamplerate samplerate) \ |
342 |
$(use_enable bluetooth bluez) \ |
343 |
$(use_enable policykit polkit) \ |
344 |
$(use_with caps) \ |
345 |
$(use_with X x) \ |
346 |
--disable-ltdl-install \ |
347 |
--localstatedir=/var \ |
348 |
--with-realtime-group=realtime \ |
349 |
|| die "econf failed" |
350 |
emake || die "emake failed" |
351 |
} |
352 |
|
353 |
src_install() { |
354 |
emake -j1 DESTDIR="${D}" install || die "make install failed" |
355 |
|
356 |
newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio |
357 |
|
358 |
local neededservices |
359 |
use alsa && neededservices="$neededservices alsasound" |
360 |
use avahi && neededservices="$neededservices avahi-daemon" |
361 |
use hal && neededservices="$neededservices hald" |
362 |
use bluetooth && neededservices="$neededservices bluetooth" |
363 |
[[ -n ${neededservices} ]] && sed -e "s/@neededservices@/need $neededservices/" "${FILESDIR}/pulseaudio.init.d-2" > "${T}/pulseaudio" |
364 |
doinitd "${T}/pulseaudio" |
365 |
|
366 |
if ! use hal; then |
367 |
sed -i -e '/module-hal-detect/s:^:#: ; /module-detect/s:^#::' "${D}/etc/pulse/default.pa" |
368 |
fi |
369 |
use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" |
370 |
|
371 |
dohtml -r doc |
372 |
dodoc README |
373 |
|
374 |
# Create the state directory |
375 |
diropts -o pulse -g pulse -m0755 |
376 |
keepdir /var/run/pulse |
377 |
} |
378 |
|
379 |
pkg_postinst() { |
380 |
elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon." |
381 |
elog "This support is enabled by starting the pulseaudio init.d ." |
382 |
elog "To be able to access that you need to be in the group pulse-access." |
383 |
elog "For more information about system-wide support, please refer to" |
384 |
elog " http://pulseaudio.org/wiki/SystemWideInstance" |
385 |
if use gnome; then |
386 |
elog |
387 |
elog "By enabling gnome USE flag, you enabled gconf support. Pleaes note" |
388 |
elog "that you might need to remove the gnome USE flag or disable the" |
389 |
elog "gconf module on /etc/pulse/default.pa to be able to use PulseAudio" |
390 |
elog "with a system-wide instance." |
391 |
fi |
392 |
elog |
393 |
elog "To use the ESounD wrapper while using a system-wide daemon, you also" |
394 |
elog "need to enable auth-anonymous for the esound-unix module, or to copy" |
395 |
elog "/var/run/pulse/.esd_auth into each home directory." |
396 |
elog |
397 |
elog "If you want to make use of realtime capabilities of PulseAudio" |
398 |
elog "you should follow the realtime guide to create and set up a realtime" |
399 |
elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" |
400 |
elog "Make sure you also have baselayout installed with pam USE flag" |
401 |
elog "enabled, if you're using the rlimit method." |
402 |
if use bluetooth; then |
403 |
elog |
404 |
elog "The BlueTooth proximity module is not enabled in the default" |
405 |
elog "configuration file. If you do enable it, you'll have to have" |
406 |
elog "your BlueTooth controller enabled and inserted at bootup or" |
407 |
elog "PulseAudio will refuse to start." |
408 |
elog |
409 |
elog "Please note that the BlueTooth proximity module seems itself" |
410 |
elog "still experimental, so please report to upstream if you have" |
411 |
elog "problems with it." |
412 |
fi |
413 |
|
414 |
eselect esd update --if-unset |
415 |
} |
416 |
|
417 |
|
418 |
|
419 |
-- |
420 |
gentoo-commits@g.o mailing list |