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