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