summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven J Newbury <steve@snewbury.org.uk>2009-04-01 22:10:58 +0100
committerSteven J Newbury <steve@snewbury.org.uk>2009-04-01 22:10:58 +0100
commitec03442880f45dffcbbb183548f4de3f6167492a (patch)
tree1dd6056c63899207a78a452dc5efa38809221551 /media-sound
parentAdd net-wireless/bluez (diff)
downloadmultilib-portage-ec03442880f45dffcbbb183548f4de3f6167492a.tar.gz
multilib-portage-ec03442880f45dffcbbb183548f4de3f6167492a.tar.bz2
multilib-portage-ec03442880f45dffcbbb183548f4de3f6167492a.zip
Add media-sound/pulseaudio, the ~amd64 ebuild has the dependencies set
to work with either the old bluez version 3 and the new version 4.
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/pulseaudio/ChangeLog603
-rw-r--r--media-sound/pulseaudio/Manifest17
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch15
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch21
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.8-bt-nohal.patch28
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.8-create-directory.patch21
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.8-esoundpath.patch49
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.8-polkit.patch18
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.8-svn2074.patch13
-rw-r--r--media-sound/pulseaudio/files/pulseaudio.conf.d7
-rw-r--r--media-sound/pulseaudio/files/pulseaudio.init.d-223
-rw-r--r--media-sound/pulseaudio/files/pulseaudio.init.d-368
-rw-r--r--media-sound/pulseaudio/files/pulseaudio.init.d-472
-rw-r--r--media-sound/pulseaudio/metadata.xml34
-rw-r--r--media-sound/pulseaudio/pulseaudio-0.9.14.ebuild195
-rw-r--r--media-sound/pulseaudio/pulseaudio-0.9.9.ebuild174
16 files changed, 1358 insertions, 0 deletions
diff --git a/media-sound/pulseaudio/ChangeLog b/media-sound/pulseaudio/ChangeLog
new file mode 100644
index 000000000..fad886a87
--- /dev/null
+++ b/media-sound/pulseaudio/ChangeLog
@@ -0,0 +1,603 @@
+# ChangeLog for media-sound/pulseaudio
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.120 2009/02/24 11:16:21 flameeyes Exp $
+
+ 23 Feb 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ pulseaudio-0.9.7.ebuild, pulseaudio-0.9.9.ebuild,
+ pulseaudio-0.9.10.ebuild, pulseaudio-0.9.10-r1.ebuild,
+ pulseaudio-0.9.11.ebuild, pulseaudio-0.9.11-r1.ebuild,
+ pulseaudio-0.9.11-r2.ebuild, pulseaudio-0.9.12.ebuild,
+ pulseaudio-0.9.12-r1.ebuild, pulseaudio-0.9.13.ebuild,
+ pulseaudio-0.9.14.ebuild:
+ Update HOMEPAGE, closes bug #260056, thanks to Sebastian Günther.
+
+ 23 Feb 2009; Joseph Jezak <josejx@gentoo.org> pulseaudio-0.9.10-r1.ebuild,
+ pulseaudio-0.9.14.ebuild:
+ Marked ~ppc for bug #200076.
+
+ 25 Jan 2009; Raúl Porcel <armin76@gentoo.org>
+ pulseaudio-0.9.10-r1.ebuild, pulseaudio-0.9.14.ebuild:
+ Add ~arm/~sh
+
+ 14 Jan 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ pulseaudio-0.9.14.ebuild:
+ Remove 0.9.13-exclusive workarounds. Thanks to Rafał Mużyło in bug
+ #254803.
+
+*pulseaudio-0.9.14 (14 Jan 2009)
+
+ 14 Jan 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +pulseaudio-0.9.14.ebuild:
+ Version bump.
+
+ 02 Jan 2009; Peter Alfredsen <loki_val@gentoo.org>
+ pulseaudio-0.9.7.ebuild, pulseaudio-0.9.9.ebuild,
+ pulseaudio-0.9.10.ebuild, pulseaudio-0.9.10-r1.ebuild,
+ pulseaudio-0.9.11.ebuild, pulseaudio-0.9.11-r1.ebuild,
+ pulseaudio-0.9.11-r2.ebuild, pulseaudio-0.9.12.ebuild,
+ pulseaudio-0.9.12-r1.ebuild, pulseaudio-0.9.13.ebuild:
+ Fix bug 253298, typo in ebuild. Thanks to goffrie@gmail.com.
+
+ 21 Oct 2008; Petteri Räty <betelgeuse@gentoo.org>
+ pulseaudio-0.9.12.ebuild, pulseaudio-0.9.12-r1.ebuild,
+ pulseaudio-0.9.13.ebuild:
+ Add DEPEND on >=sys-devel/autoconf-2.62 to fix bug #237569.
+
+*pulseaudio-0.9.13 (09 Oct 2008)
+
+ 09 Oct 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +pulseaudio-0.9.13.ebuild:
+ Version bump, add an init.d fix for 0.9.13 (fixed in .14).
+
+*pulseaudio-0.9.12-r1 (09 Oct 2008)
+
+ 09 Oct 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +pulseaudio-0.9.12-r1.ebuild:
+ Update to EAPI=2 and USE deps.
+
+ 28 Sep 2008; Alexis Ballier <aballier@gentoo.org>
+ pulseaudio-0.9.12.ebuild:
+ Fix unifdef call to be [options] file rather than file [options] as
+ documented in the man page and allow freebsd unifdef too.
+
+*pulseaudio-0.9.12 (12 Sep 2008)
+
+ 12 Sep 2008; Petteri Räty <betelgeuse@gentoo.org>
+ -pulseaudio-0.9.10-r51.ebuild, +pulseaudio-0.9.12.ebuild:
+ Version bump.
+
+*pulseaudio-0.9.11-r2 (03 Aug 2008)
+
+ 03 Aug 2008; Patrick McLean <chutzpah@gentoo.org>
+ +files/pulseaudio.init.d-4, +pulseaudio-0.9.11-r2.ebuild:
+ Make sure that the ebuild creates system.pa, modify the init script to use
+ system.pa rather than default.pa and add a "needs" on consolekit if
+ module-console-kit is requested in system.pa (bug #233789).
+
+ 03 Aug 2008; Petteri Räty <betelgeuse@gentoo.org>
+ pulseaudio-0.9.11-r1.ebuild:
+ Add a message telling people to install alsa-plugins with pulseaudio
+ support if not installed already. Fixes bug #233193.
+
+*pulseaudio-0.9.11-r1 (03 Aug 2008)
+
+ 03 Aug 2008; Petteri Räty <betelgeuse@gentoo.org>
+ +pulseaudio-0.9.11-r1.ebuild:
+ speex support is not optional so remove the speex use flag. Fixes bug
+ #233774.
+
+*pulseaudio-0.9.11 (03 Aug 2008)
+
+ 03 Aug 2008; Patrick McLean <chutzpah@gentoo.org>
+ -pulseaudio-0.9.10-r50.ebuild, +pulseaudio-0.9.11.ebuild:
+ Version bump (bug #232991), add "speex" USE flag. This versiom has
+ flameeyes' dymanic initscript dependencies, so it deps on openrc. Clean up
+ a bit.
+
+*pulseaudio-0.9.10-r51 (18 Apr 2008)
+*pulseaudio-0.9.10-r1 (18 Apr 2008)
+
+ 18 Apr 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +pulseaudio-0.9.10-r1.ebuild, +pulseaudio-0.9.10-r51.ebuild:
+ Revision bump to remove .la files, also avoid building tests during make
+ all.
+
+ 03 Apr 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.10-caps.patch, pulseaudio-0.9.10.ebuild,
+ pulseaudio-0.9.10-r50.ebuild:
+ Fix building with libtool 2.2 (bug #215843) and with caps (bug #215656).
+
+*pulseaudio-0.9.10-r50 (31 Mar 2008)
+*pulseaudio-0.9.10 (31 Mar 2008)
+
+ 31 Mar 2008; Diego Pettenò <flameeyes@gentoo.org>
+ -files/pulseaudio-0.9.9+ltdl-2.2.patch, -pulseaudio-0.9.9-r1.ebuild,
+ -pulseaudio-0.9.9-r2.ebuild, -pulseaudio-0.9.9-r3.ebuild,
+ -pulseaudio-0.9.9-r53.ebuild, +pulseaudio-0.9.10.ebuild,
+ +pulseaudio-0.9.10-r50.ebuild:
+ Bump to latest version, remove old versions and unneeded patches.
+
+ 09 Mar 2008; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio-0.9.9+ltdl-2.2.patch:
+ Fix path so that it build with both 2.2 and 1.5. Closes bug #212800.
+
+*pulseaudio-0.9.9-r53 (08 Mar 2008)
+*pulseaudio-0.9.9-r3 (08 Mar 2008)
+
+ 08 Mar 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.9+ltdl-2.2.patch, +pulseaudio-0.9.9-r3.ebuild,
+ +pulseaudio-0.9.9-r53.ebuild:
+ Add new revisions that work with libtool 2.2. Note that from now on I'll
+ keep the experimental revisions with a value 50+x in line with the old-style
+ ones.
+
+ 11 Feb 2008; Olivier Crête <tester@gentoo.org> pulseaudio-0.9.9.ebuild:
+ Stable on amd64 per security bug #207214
+
+ 26 Jan 2008; Diego Pettenò <flameeyes@gentoo.org>
+ -pulseaudio-0.9.8-r6.ebuild, -pulseaudio-0.9.8-r7.ebuild:
+ Remove old versions.
+
+ 26 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+ pulseaudio-0.9.9.ebuild:
+ ppc stable, bug #207214
+
+ 26 Jan 2008; Jeroen Roovers <jer@gentoo.org> pulseaudio-0.9.9.ebuild:
+ Stable for HPPA (bug #207214).
+
+ 25 Jan 2008; Raúl Porcel <armin76@gentoo.org> pulseaudio-0.9.9.ebuild:
+ alpha/ia64/sparc stable wrt security #207214
+
+ 25 Jan 2008; Markus Rothe <corsair@gentoo.org> pulseaudio-0.9.9.ebuild:
+ Stable on ppc64; bug #207214
+
+ 25 Jan 2008; Christian Faulhammer <opfer@gentoo.org>
+ pulseaudio-0.9.9.ebuild:
+ stable x86, security bug 207214
+
+*pulseaudio-0.9.9-r2 (24 Jan 2008)
+*pulseaudio-0.9.9-r1 (24 Jan 2008)
+*pulseaudio-0.9.9 (24 Jan 2008)
+
+ 24 Jan 2008; Diego Pettenò <flameeyes@gentoo.org>
+ -files/pulseaudio-0.9.5-CVE-2007-1804.patch,
+ -files/pulseaudio-0.9.5-esdcompat.patch,
+ -files/pulseaudio-0.9.5-fbsd.patch, -files/pulseaudio-0.9.5-noshm.patch,
+ metadata.xml, -pulseaudio-0.9.5-r6.ebuild, -pulseaudio-0.9.8-r4.ebuild,
+ -pulseaudio-0.9.8-r5.ebuild, +pulseaudio-0.9.9.ebuild,
+ +pulseaudio-0.9.9-r1.ebuild, +pulseaudio-0.9.9-r2.ebuild:
+ Version bump. This fixes the CVE-2008-0008 security issue reported as bug
+ #207214. Version -r1 also implements the request in bug #204754 (glib USE
+ flag, thanks to Matthijs Kooijman). All three revision also fixes bug
+ #204748 (broken default.pa with hal USE flag unset).
+
+ 08 Jan 2008; Jeroen Roovers <jer@gentoo.org> pulseaudio-0.9.8-r6.ebuild,
+ pulseaudio-0.9.8-r7.ebuild:
+ Marked ~hppa (bug #200076).
+
+ 06 Jan 2008; Markus Rothe <corsair@gentoo.org> pulseaudio-0.9.8-r6.ebuild,
+ pulseaudio-0.9.8-r7.ebuild:
+ Added ~ppc64; bug #200076
+
+ 31 Dec 2007; Brent Baude <ranger@gentoo.org> pulseaudio-0.9.7.ebuild:
+ Marking pulseaudio-0.9.7 ppc64 for bug 197126
+
+ 31 Dec 2007; Raúl Porcel <armin76@gentoo.org> pulseaudio-0.9.8-r6.ebuild,
+ pulseaudio-0.9.8-r7.ebuild:
+ Add ~alpha/~ia64/~sparc/~x86 wrt #200076
+
+ 29 Dec 2007; Jeroen Roovers <jer@gentoo.org> pulseaudio-0.9.8-r4.ebuild:
+ Marked ~hppa (bug #200076, comment #6).
+
+*pulseaudio-0.9.8-r7 (29 Dec 2007)
+*pulseaudio-0.9.8-r6 (29 Dec 2007)
+
+ 29 Dec 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +pulseaudio-0.9.8-r6.ebuild, +pulseaudio-0.9.8-r7.ebuild:
+ Add new revisions with an asyncns USE flag to use libasyncns.
+
+ 29 Dec 2007; Diego Pettenò <flameeyes@gentoo.org>
+ -files/pulseaudio-0.9.6-build.patch, -pulseaudio-0.9.6-r1.ebuild,
+ -pulseaudio-0.9.8-r2.ebuild, -pulseaudio-0.9.8-r3.ebuild:
+ Cleanup old versions.
+
+*pulseaudio-0.9.8-r5 (29 Dec 2007)
+*pulseaudio-0.9.8-r4 (29 Dec 2007)
+
+ 29 Dec 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.8-create-directory.patch,
+ +pulseaudio-0.9.8-r4.ebuild, +pulseaudio-0.9.8-r5.ebuild:
+ Apply patch from upstream SVN revision 2078. Thanks to Petteri Räty for
+ reporting.
+
+ 22 Dec 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ pulseaudio-0.9.7.ebuild:
+ ppc stable, bug #197126
+
+ 22 Dec 2007; Jeroen Roovers <jer@gentoo.org> pulseaudio-0.9.8-r3.ebuild:
+ Marked ~hppa (bug #200076).
+
+ 21 Dec 2007; Raúl Porcel <armin76@gentoo.org> pulseaudio-0.9.7.ebuild:
+ alpha/ia64/sparc stable wrt #197126
+
+ 17 Dec 2007; Jeroen Roovers <jer@gentoo.org> pulseaudio-0.9.7.ebuild:
+ Stable for HPPA (bug #197126).
+
+*pulseaudio-0.9.8-r3 (06 Dec 2007)
+*pulseaudio-0.9.8-r2 (06 Dec 2007)
+
+ 06 Dec 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.8-esoundpath.patch, -pulseaudio-0.9.8.ebuild,
+ -pulseaudio-0.9.8-r1.ebuild, +pulseaudio-0.9.8-r2.ebuild,
+ +pulseaudio-0.9.8-r3.ebuild:
+ Allow selection for global or per-user ESD socket directory. Fixes bug #199507.
+
+ 27 Nov 2007; Markus Meier <maekke@gentoo.org> pulseaudio-0.9.7.ebuild:
+ x86 stable, bug #197126
+
+ 23 Nov 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.8-bt-nohal.patch, pulseaudio-0.9.8.ebuild,
+ pulseaudio-0.9.8-r1.ebuild:
+ Fix build when HAL is disabled but Bluetooth support is enabled.
+
+ 23 Nov 2007; Samuli Suominen <drac@gentoo.org> pulseaudio-0.9.7.ebuild:
+ amd64 stable wrt #197126, thanks to Angelo Arrifano for testing
+
+*pulseaudio-0.9.8 (23 Nov 2007)
+
+ 23 Nov 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog,
+ +pulseaudio-0.9.8.ebuild:
+ Version bump, remove old experimental init.d version (now 0.9.8-r1). Add
+ better documentation of the USE flags. The new version supports bluetooth
+ and policykit USE flags now.
+
+ 17 Nov 2007; nixnut <nixnut@gentoo.org> pulseaudio-0.9.6-r1.ebuild:
+ Stable on ppc wrt bug 197126
+
+ 14 Nov 2007; Diego Pettenò <flameeyes@gentoo.org>
+ pulseaudio-0.9.6-r1.ebuild, -pulseaudio-0.9.6-r2.ebuild,
+ pulseaudio-0.9.7.ebuild, pulseaudio-0.9.7-r1.ebuild:
+ Remove the experimental 0.9.6 ebuild (use 0.9.7-r1 instead). As per upstream
+ reports, require libtool 1.5.24 or later.
+
+ 10 Nov 2007; Raúl Porcel <armin76@gentoo.org> pulseaudio-0.9.6-r1.ebuild:
+ alpha/ia64/sparc stable thanks to Tobias Klausmann and Alex Maclean for
+ testing, bug #197126
+
+ 07 Nov 2007; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio.init.d-2, files/pulseaudio.init.d-3:
+ Init scripts nitpicking: need localmount to properly resume from single user
+ runlevel.
+
+ 01 Nov 2007; Diego Pettenò <flameeyes@gentoo.org>
+ pulseaudio-0.9.7.ebuild, pulseaudio-0.9.7-r1.ebuild:
+ Fix order in use_enable, thanks to 'galtgendo'.
+
+*pulseaudio-0.9.7-r1 (31 Oct 2007)
+*pulseaudio-0.9.7 (31 Oct 2007)
+
+ 31 Oct 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.7-module-loading.patch, +pulseaudio-0.9.7.ebuild,
+ +pulseaudio-0.9.7-r1.ebuild:
+ Version bump, both for baselayout 1 and baselayout 2 init script variants.
+
+ 30 Oct 2007; Jeroen Roovers <jer@gentoo.org> pulseaudio-0.9.6-r1.ebuild:
+ Stable for HPPA (bug #197126).
+
+ 27 Oct 2007; Jurek Bartuszek <jurek@gentoo.org>
+ pulseaudio-0.9.6-r1.ebuild:
+ x86 stable (bug #197126)
+
+ 26 Oct 2007; Diego Pettenò <flameeyes@gentoo.org>
+ -pulseaudio-0.9.5-r4.ebuild, -pulseaudio-0.9.6.ebuild:
+ Remove old versions.
+
+*pulseaudio-0.9.6-r2 (26 Oct 2007)
+
+ 26 Oct 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio.init.d-3, +pulseaudio-0.9.6-r2.ebuild:
+ Add a new revision with an experimental init script with dynamic
+ dependencies. With this script, disabling HAL or Avahi support on the
+ configuration file will not require them to be started even if PulseAudio
+ was built with their support enabled. Similarly ALSA is no more a
+ requirement if no ALSA sink or source is defined and no autodetect modules
+ are loaded.
+
+ 10 Sep 2007; Joseph Jezak <josejx@gentoo.org> pulseaudio-0.9.6-r1.ebuild:
+ Marked ~ppc/~ppc64 for bug #181234.
+
+ 22 Jul 2007; Samuli Suominen <drac@gentoo.org> pulseaudio-0.9.5-r4.ebuild,
+ pulseaudio-0.9.5-r6.ebuild, pulseaudio-0.9.6.ebuild:
+ Remove virtual/x11 references.
+
+*pulseaudio-0.9.6-r1 (02 Jul 2007)
+
+ 02 Jul 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +pulseaudio-0.9.6-r1.ebuild:
+ Revision bump: now use realtime group rather than pulse-rt, and link the
+ realtime guide, so that users can set it up.
+
+ 02 Jun 2007; Raúl Porcel <armin76@gentoo.org> pulseaudio-0.9.5-r6.ebuild,
+ pulseaudio-0.9.6.ebuild:
+ Add ~alpha/~ia64 wrt #180117 and alpha/ia64 stable wrt security #180203
+
+ 02 Jun 2007; Markus Rothe <corsair@gentoo.org> pulseaudio-0.9.5-r6.ebuild:
+ Stable on ppc64; bug #180203
+
+ 01 Jun 2007; Peter Weller <welp@gentoo.org> pulseaudio-0.9.5-r6.ebuild:
+ Stable on amd64 wrt security bug 180203
+
+ 31 May 2007; René Nussbaumer <killerfox@gentoo.org>
+ pulseaudio-0.9.5-r6.ebuild:
+ Stable on ppc. See bug #180203.
+
+ 31 May 2007; Jeroen Roovers <jer@gentoo.org> pulseaudio-0.9.6.ebuild:
+ Marked ~hppa (bug #180117).
+
+ 30 May 2007; Andrej Kacian <ticho@gentoo.org> pulseaudio-0.9.5-r6.ebuild:
+ Stable on x86, security bug #180203.
+
+ 30 May 2007; René Nussbaumer <killerfox@gentoo.org>
+ pulseaudio-0.9.5-r6.ebuild:
+ Stable on hppa. See Bug #180203.
+
+ 30 May 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+ pulseaudio-0.9.5-r6.ebuild:
+ Stable on sparc wrt security #180203
+
+*pulseaudio-0.9.5-r6 (30 May 2007)
+
+ 30 May 2007; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio-0.9.5-CVE-2007-1804.patch, -pulseaudio-0.9.5-r5.ebuild,
+ +pulseaudio-0.9.5-r6.ebuild:
+ New revision bump, completed patch.
+
+ 29 May 2007; Andrej Kacian <ticho@gentoo.org> pulseaudio-0.9.6.ebuild:
+ Added ~x86, bug #180117.
+
+ 29 May 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+ pulseaudio-0.9.6.ebuild:
+ Keyworded ~sparc wrt #180117
+
+*pulseaudio-0.9.5-r5 (29 May 2007)
+
+ 29 May 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.5-CVE-2007-1804.patch, +pulseaudio-0.9.5-r5.ebuild:
+ Revision bump to add a patch for bug #180203 (CVE-2007-1804).
+
+*pulseaudio-0.9.6 (28 May 2007)
+
+ 28 May 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.6-build.patch, +pulseaudio-0.9.6.ebuild:
+ Version bump, the new version requires libatomic_ops so all the keywords but
+ ~amd64 and ~x86-fbsd are dropped.
+
+ 26 Feb 2007; Matthias Schwarzott <zzam@gentoo.org>
+ pulseaudio-0.9.5-r4.ebuild:
+ Corrected name of init-script in elog-message.
+
+ 21 Dec 2006; Bryan Østergaard <kloeri@gentoo.org>
+ pulseaudio-0.9.5-r4.ebuild:
+ Stable on Alpha + IA64.
+
+ 25 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+ pulseaudio-0.9.5-r4.ebuild:
+ Add runtime dependency over alsa-utils for the init.d script, thanks to
+ Andrzej in bug #155707.
+
+ 15 Nov 2006; Jeroen Roovers <jer@gentoo.org> pulseaudio-0.9.5-r4.ebuild:
+ Stable for HPPA (bug #154742).
+
+ 13 Nov 2006; Joseph Jezak <josejx@gentoo.org> pulseaudio-0.9.5-r4.ebuild:
+ Marked ppc stable.
+
+ 11 Nov 2006; Michael Cummings <mcummings@gentoo.org>
+ pulseaudio-0.9.5-r4.ebuild:
+ Marking amd64 stable, dep for mpd
+
+ 25 Oct 2006; Joshua Jackson <tsunam@gentoo.org>
+ pulseaudio-0.9.5-r4.ebuild:
+ Stable x86; bug #150540
+
+ 22 Oct 2006; Markus Rothe <corsair@gentoo.org> pulseaudio-0.9.5-r4.ebuild:
+ Stable on ppc64; bug #150540
+
+ 21 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
+ -pulseaudio-0.9.5-r3.ebuild:
+ Remove old revision.
+
+ 20 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+ pulseaudio-0.9.5-r4.ebuild:
+ Stable on sparc wrt #150540
+
+ 14 Oct 2006; Aron Griffis <agriffis@gentoo.org>
+ pulseaudio-0.9.5-r3.ebuild, pulseaudio-0.9.5-r4.ebuild:
+ Mark 0.9.5-r4 0.9.5-r3 ~ia64
+
+ 14 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
+ pulseaudio-0.9.5-r4.ebuild:
+ Add ~alpha keyword.
+
+*pulseaudio-0.9.5-r4 (02 Oct 2006)
+
+ 02 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +pulseaudio-0.9.5-r4.ebuild:
+ Use pulse-rt as default realtime group, as the current SVN version does, and
+ create it. Thanks to Mark Lee for reporting in bug #146625.
+
+ 23 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ pulseaudio-0.9.5-r3.ebuild:
+ Add runtime dependency over sys-devel/libtool for libltdl.so.
+
+ 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ pulseaudio-0.9.5-r3.ebuild:
+ Force -j1 in install, the package don't play safe with it.
+
+ 17 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio.init.d-2:
+ Pass the pidfile to start-stop-daemon when stopping pulseaudio.
+
+ 17 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ pulseaudio-0.9.5-r3.ebuild:
+ Let avahi useflag enable zeroconf support in the default configuration file,
+ too.
+
+ 07 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.5-noshm.patch, pulseaudio-0.9.5-r3.ebuild:
+ Add patch from upstream to not fail if SHM is not available.
+
+*pulseaudio-0.9.5-r3 (06 Sep 2006)
+
+ 06 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ -pulseaudio-0.9.5-r2.ebuild, +pulseaudio-0.9.5-r3.ebuild:
+ Depend on avahi-daemon service, not avahi. Thanks to Tony Vroon for reporting.
+
+*pulseaudio-0.9.5-r2 (05 Sep 2006)
+
+ 05 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio.init.d-2, -pulseaudio-0.9.5-r1.ebuild,
+ +pulseaudio-0.9.5-r2.ebuild:
+ The services previously in 'use' section are actually needed, make sure that
+ restarting alsasound make pulseaudio restart.
+
+*pulseaudio-0.9.5-r1 (02 Sep 2006)
+
+ 02 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ -files/pulseaudio-0.9.2-esdcompat.patch,
+ -files/pulseaudio-0.9.4-r1170.patch,
+ +files/pulseaudio-0.9.5-esdcompat.patch, -pulseaudio-0.9.4.ebuild,
+ -pulseaudio-0.9.4-r1.ebuild, -pulseaudio-0.9.5.ebuild,
+ +pulseaudio-0.9.5-r1.ebuild:
+ Remove old version, replace the esdcompat patch with the right one, thanks
+ to Florian Scandella for noticing in bug #145843.
+
+ 02 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.5-fbsd.patch, pulseaudio-0.9.5.ebuild:
+ Add patch to build on FreeBSD, and re add ~x86-fbsd keyword.
+
+ 02 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+ pulseaudio-0.9.5.ebuild:
+ Remove ~x86-fbsd keyword until it builds.
+
+*pulseaudio-0.9.5 (31 Aug 2006)
+
+ 31 Aug 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +pulseaudio-0.9.5.ebuild:
+ Version bump, and workaround detection modules for hal/non-hal
+ configurations in default configuration.
+
+ 17 Aug 2006; Jeroen Roovers <jer@gentoo.org> pulseaudio-0.9.4-r1.ebuild:
+ Marked ~hppa (bug #143510).
+
+ 11 Aug 2006; Markus Rothe <corsair@gentoo.org> pulseaudio-0.9.4-r1.ebuild:
+ Added ~ppc64; bug #141727
+
+ 11 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+ pulseaudio-0.9.4-r1.ebuild:
+ To ~sparc wrt #143510
+
+*pulseaudio-0.9.4-r1 (30 Jul 2006)
+
+ 30 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.4-r1170.patch, +pulseaudio-0.9.4-r1.ebuild:
+ Add patch from upstream to fix using capabilities.
+
+ 29 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio.init.d-2, files/pulseaudio.conf.d,
+ pulseaudio-0.9.4.ebuild:
+ Create /var/run/pulse directory during install, thanks to Florian Steinel
+ for reporting.
+
+ 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ -pulseaudio-0.9.3.ebuild, pulseaudio-0.9.4.ebuild:
+ Require avahi 0.6.12 to complete the fix of 0.9.4 version. Remove old version.
+
+*pulseaudio-0.9.4 (27 Jul 2006)
+
+ 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +pulseaudio-0.9.4.ebuild:
+ Version bump.
+
+ 22 Jul 2006; Zaheer Abbas Merali <zaheem@gentoo.org>
+ pulseaudio-0.9.3.ebuild:
+ keyword ~x86
+
+ 22 Jul 2006; Luca Barbato <lu_zero@gentoo.org> pulseaudio-0.9.3.ebuild:
+ Marked ~ppc + typo fix
+
+ 21 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ -files/pulseaudio-0.9.2-fbsd.patch,
+ -files/pulseaudio-0.9.2-moduledetect.patch, -files/pulseaudio.init.d,
+ -pulseaudio-0.9.2.ebuild:
+ Remove old version and related files.
+
+*pulseaudio-0.9.3 (21 Jul 2006)
+
+ 21 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio.init.d-2, +pulseaudio-0.9.3.ebuild:
+ Version bump and new init script to use the new system-wide mode (compatible
+ with our 0.9.2).
+
+ 19 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio.init.d, pulseaudio-0.9.2.ebuild:
+ Add support for esd wrapper when using system-wide mode, by enabling
+ anonymous authentication for esound protocol and relying once again on
+ filesystem access for being able to use it.
+
+ 19 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio-0.9.2-esdcompat.patch:
+ Fix esdcompat patch that was incomplete.
+
+ 19 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.2-esdcompat.patch, pulseaudio-0.9.2.ebuild:
+ Add patch to fix esdcompat script on BSD userlands.
+
+ 19 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ pulseaudio-0.9.2.ebuild:
+ Add dependency on eselect-esd and relative call to put the esd symlink in
+ place.
+
+ 18 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio.conf.d, files/pulseaudio.init.d, pulseaudio-0.9.2.ebuild:
+ Split pulseaudio access in pulse-access group, as suggested by upstream, use
+ a different script to initialise system-wide pulseaudio, so that the default
+ is the same as in other distributions and in vanilla, allowing users to set
+ the system-wide mode if they want, disable module loading at runtime for
+ systemwide setup, and explain everythign in a postinst message.
+
+ 18 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.2-moduledetect.patch, pulseaudio-0.9.2.ebuild:
+ Add patch to allow module-detect to work on FreeBSD.
+
+ 17 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio.conf.d, files/pulseaudio.init.d, pulseaudio-0.9.2.ebuild:
+ Improve support for system-wide pulseaudio daemon, let it work with users in
+ audio group.
+
+ 16 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio-0.9.2-fbsd.patch:
+ Improve FreeBSD patch a bit thanks to suggestion of the author Lennart
+ Poettering.
+
+ 16 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ pulseaudio-0.9.2.ebuild:
+ Add ~x86-fbsd keyword.
+
+ 16 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ files/pulseaudio.conf.d, files/pulseaudio.init.d:
+ Little change to init.d scripts.
+
+ 16 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio-0.9.2-fbsd.patch, files/pulseaudio.conf.d,
+ files/pulseaudio.init.d, pulseaudio-0.9.2.ebuild:
+ Add patch to build on FreeBSD, change init script so that it doesn't
+ daemonise and properly fails when initialisation fails.
+
+*pulseaudio-0.9.2 (11 Jul 2006)
+
+ 11 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pulseaudio.conf.d, +files/pulseaudio.init.d, +metadata.xml,
+ +pulseaudio-0.9.2.ebuild:
+ Add pulseaudio ebuild, thanks to Tom Schneider, Ed Catmur, Florian Steinel,
+ Disaster and Gonzalo Aguilar Delgado in bug #74039.
+
diff --git a/media-sound/pulseaudio/Manifest b/media-sound/pulseaudio/Manifest
new file mode 100644
index 000000000..b42c20982
--- /dev/null
+++ b/media-sound/pulseaudio/Manifest
@@ -0,0 +1,17 @@
+AUX pulseaudio-0.9.10-caps.patch 364 RMD160 66c588518c2cf9a307cead7e10b5ef713b2bfe0f SHA1 717fc1d95445a3b816b8a10154561d27e28ebee3 SHA256 d4452a9d4c284ceda27199e26772075280efd5f8d546949eac93c1efeaf7f19b
+AUX pulseaudio-0.9.7-module-loading.patch 947 RMD160 725f13d72da5ee72e61cc8d558ca352bb3a5d001 SHA1 236819d1fe76ccb22580f07e2c3a24f95d010011 SHA256 0ecc719e38bbf423d46120ce991bcc807c431e36a68cb97471235aa8e8316075
+AUX pulseaudio-0.9.8-bt-nohal.patch 1153 RMD160 5ad7a7173795c022fca73ccf694207e18d6925a7 SHA1 9f50549357b5fa498e0b7f67258de431e90f89e2 SHA256 1bdc458d55529777a3a760205a09d0381433402a3002518ba5a700b3518c727d
+AUX pulseaudio-0.9.8-create-directory.patch 685 RMD160 87c287d3ff6047c9bee892271ea3b3ac6d06fa1a SHA1 2083a575f6272135909efce292d43a2f947f285f SHA256 5fd77f5d0a897d3f70cb3e20e24b97e7f0f46d9266b8758c56a7cb84f763e571
+AUX pulseaudio-0.9.8-esoundpath.patch 1798 RMD160 c009c0d1cfdf0bb9db6ef476df29bca56b68ab58 SHA1 5901b164c5b4bd3fa485dbc1a5a950f2ba5794a9 SHA256 4ae132c68a19f07ecf1fef9c55cebc7615e38b157dc196961f666c3914a4641b
+AUX pulseaudio-0.9.8-polkit.patch 766 RMD160 20bafbeae68fb9092dd3ef2d6d7facca86091d42 SHA1 490aeea34db54e779b84e9922bdb372e1cdcde7e SHA256 112d4da6597783e4dd3d69b73fe08c91631e280b23e84a41c2f1f8b3d9c8d368
+AUX pulseaudio-0.9.8-svn2074.patch 412 RMD160 49e416e5e9747cd7c2065b98220e99910375f826 SHA1 9a6d61fd8a000baa4699904154453b83c7bae6f9 SHA256 70b0baed200e5c86672f395520131af797eab7e8ea7fbad2b9caf00ad3e22b65
+AUX pulseaudio.conf.d 275 RMD160 6317cb5be41a768428056c0057d8f5b1f189e804 SHA1 22ed7f1de0f2a18a608c5e9a91635ee66addac4d SHA256 c03661e8cc902d27ff6b52f291207f2b008957571b942abdd92a873a52aae0dd
+AUX pulseaudio.init.d-2 632 RMD160 5baf66e3f64e406b7e23ffbe13774e32595cff19 SHA1 e0a46567d43f7e3620c8da90654a0f16235a36fa SHA256 24c7f5319161105e46382c7c1340ae634d54cfbe32cdf70c86d6fd6c40782ee0
+AUX pulseaudio.init.d-3 1727 RMD160 ffe93d7c5300ae7974e9b5c02987a23422940d35 SHA1 437b6a0b856e44dffa89c44a2934b4d87b0e187f SHA256 8f31a03b430b5a6a7525e2251842cf685e55983c1f6d7036ae8b0aa9c8f9e2fb
+AUX pulseaudio.init.d-4 1849 RMD160 e91b9cc6da3b89827ad2c7dbe6b040669e94e7bd SHA1 e35530e8bf70339945eb7ebdfbe1cefcee4c62de SHA256 fd20883258e97d70fe957b01e70a9f73c58e843595dc3e53bffa658652659f99
+DIST pulseaudio-0.9.14.tar.gz 1303077 RMD160 c7722d0d0240555edf917391989ad2e1cd4eb6b1 SHA1 a0fb7c21ee21178e102a1e5a11d8ac474e6f5da4 SHA256 e6129f9239235981d329de40eeffa55041e6815a93aaa994d1eae242ea7446b5
+DIST pulseaudio-0.9.9.tar.gz 1063448 RMD160 beb9cb645ce69978ba095e73376ae8ae4b92daf9 SHA1 de8896cf3c6e26e77e4ae19ba300c409b6de8455 SHA256 9caab8f9be8a371aea7cd0241aab7ffd4b1043fbc4a8f62736faea4229f11f7d
+EBUILD pulseaudio-0.9.14.ebuild 6395 RMD160 06162787b817b3ab4ea98f1585b9fae72ebf467d SHA1 c06785983f492e74a34bc3052ed6b0806daca7e8 SHA256 79cedafb1bbf81c38df6855aa4913fa730a042482d2412c07d35001836c62f52
+EBUILD pulseaudio-0.9.9.ebuild 6017 RMD160 d4c10958ea009e19a4d2ac93389ae8cdfe5de507 SHA1 47f2000d9847d4e25d3e5fb4b0856c2de2a5264d SHA256 d8aaa9004d3e96d3ee95ccc656cb18e3edcb8c259f6e06e791b25f6af09a5995
+MISC ChangeLog 22760 RMD160 934b5a53b69d8925ce9f06b96fbe2951efaea4ef SHA1 465a733137c5f4bb03105e032c884d6589dc91a9 SHA256 73848795b7a39432fa90bdd316609cd8c7ba03cff21e1a8a454870fca04382c8
+MISC metadata.xml 1336 RMD160 fff3b1ef9cc533d3e40816de7b39cc7789d6056e SHA1 3a8b478a30b18c7b0311eb78ca6e60ec3cd12d2c SHA256 1ca2733f429248a115989cdd9a9530af57b5021cc1ecfdbbb8ed23c6414894ff
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch
new file mode 100644
index 000000000..7502ad257
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio-0.9.10-caps.patch
@@ -0,0 +1,15 @@
+Index: pulseaudio-0.9.10/src/daemon/caps.c
+===================================================================
+--- pulseaudio-0.9.10.orig/src/daemon/caps.c
++++ pulseaudio-0.9.10/src/daemon/caps.c
+@@ -131,9 +131,8 @@ int pa_limit_caps(void) {
+ return 0;
+ }
+
+-int pa_drop_caps(void) {
++void pa_drop_caps(void) {
+ pa_drop_root();
+- return 0;
+ }
+
+ #endif
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch
new file mode 100644
index 000000000..f9fa11899
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio-0.9.7-module-loading.patch
@@ -0,0 +1,21 @@
+Index: pulseaudio-0.9.7/src/daemon/main.c
+===================================================================
+--- pulseaudio-0.9.7.orig/src/daemon/main.c
++++ pulseaudio-0.9.7/src/daemon/main.c
+@@ -634,7 +634,6 @@ int main(int argc, char *argv[]) {
+ c->default_sample_spec = conf->default_sample_spec;
+ c->default_n_fragments = conf->default_n_fragments;
+ c->default_fragment_size_msec = conf->default_fragment_size_msec;
+- c->disallow_module_loading = conf->disallow_module_loading;
+ c->exit_idle_time = conf->exit_idle_time;
+ c->module_idle_time = conf->module_idle_time;
+ c->scache_idle_time = conf->scache_idle_time;
+@@ -675,6 +674,8 @@ int main(int argc, char *argv[]) {
+ pa_log_error("%s", s = pa_strbuf_tostring_free(buf));
+ pa_xfree(s);
+
++ c->disallow_module_loading = conf->disallow_module_loading;
++
+ if (r < 0 && conf->fail) {
+ pa_log("failed to initialize daemon.");
+ #ifdef HAVE_FORK
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.8-bt-nohal.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.8-bt-nohal.patch
new file mode 100644
index 000000000..95ffbb5d3
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio-0.9.8-bt-nohal.patch
@@ -0,0 +1,28 @@
+Index: pulseaudio-0.9.8/configure.ac
+===================================================================
+--- pulseaudio-0.9.8.orig/configure.ac
++++ pulseaudio-0.9.8/configure.ac
+@@ -836,7 +836,7 @@ if test "x$HAVE_HAL" = x1 ; then
+ dbus=yes
+ fi
+
+-if test "x${dbus}" != xno ; then
++if test "x${dbus}" != xno || test "x${bluez}" != xno || "x${hal}" != xno ; then
+
+ PKG_CHECK_MODULES(DBUS, [ dbus-1 >= 1.0.0 ],
+ [
+Index: pulseaudio-0.9.8/src/Makefile.am
+===================================================================
+--- pulseaudio-0.9.8.orig/src/Makefile.am
++++ pulseaudio-0.9.8/src/Makefile.am
+@@ -1424,8 +1424,8 @@ module_jack_source_la_CFLAGS = $(AM_CFLA
+ # HAL
+ libdbus_util_la_SOURCES = modules/dbus-util.c modules/dbus-util.h
+ libdbus_util_la_LDFLAGS = -avoid-version
+-libdbus_util_la_LIBADD = $(AM_LIBADD) $(HAL_LIBS) libpulsecore.la
+-libdbus_util_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
++libdbus_util_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore.la
++libdbus_util_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
+
+ module_hal_detect_la_SOURCES = modules/module-hal-detect.c
+ module_hal_detect_la_LDFLAGS = -module -avoid-version
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.8-create-directory.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.8-create-directory.patch
new file mode 100644
index 000000000..92bb2ebf4
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio-0.9.8-create-directory.patch
@@ -0,0 +1,21 @@
+Index: src/pulsecore/core-util.c
+===================================================================
+--- src/pulsecore/core-util.c (revision 2077)
++++ src/pulsecore/core-util.c (revision 2078)
+@@ -1129,8 +1129,15 @@
+
+ if ((e = getenv("PULSE_CONFIG_PATH")))
+ fn = lfn = pa_sprintf_malloc("%s/%s", e, local);
+- else if (pa_get_home_dir(h, sizeof(h)))
++ else if (pa_get_home_dir(h, sizeof(h))) {
++ char *d;
++
++ d = pa_sprintf_malloc("%s/.pulse", h);
++ mkdir(d, 0755);
++ pa_xfree(d);
++
+ fn = lfn = pa_sprintf_malloc("%s/.pulse/%s", h, local);
++ }
+
+ if (lfn) {
+ FILE *f;
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.8-esoundpath.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.8-esoundpath.patch
new file mode 100644
index 000000000..317d39a59
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio-0.9.8-esoundpath.patch
@@ -0,0 +1,49 @@
+Index: src/modules/module-protocol-stub.c
+===================================================================
+--- src/modules/module-protocol-stub.c (revision 2082)
++++ src/modules/module-protocol-stub.c (working copy)
+@@ -218,9 +218,13 @@
+ char tmp[PATH_MAX];
+
+ #if defined(USE_PROTOCOL_ESOUND)
+- char tmp2[PATH_MAX];
++#if defined(USE_PERUSER_ESOUND_SOCKET)
++ char esdsocketpath[PATH_MAX];
++#else
++ const char esdsocketpath[] = "/tmp/.esd/socket";
+ #endif
+ #endif
++#endif
+
+ pa_assert(m);
+
+@@ -265,8 +269,10 @@
+
+ #if defined(USE_PROTOCOL_ESOUND)
+
+- snprintf(tmp2, sizeof(tmp2), "/tmp/.esd-%lu/socket", (unsigned long) getuid());
+- pa_runtime_path(pa_modargs_get_value(ma, "socket", tmp2), tmp, sizeof(tmp));
++#if defined(USE_PERUSER_ESOUND_SOCKET)
++ snprintf(esdsocketpath, sizeof(esdsocketpath), "/tmp/.esd-%lu/socket", (unsigned long) getuid());
++#endif
++ pa_runtime_path(pa_modargs_get_value(ma, "socket", esdsocketpath), tmp, sizeof(tmp));
+ u->socket_path = pa_xstrdup(tmp);
+
+ /* This socket doesn't reside in our own runtime dir but in
+Index: configure.ac
+===================================================================
+--- configure.ac (revision 2082)
++++ configure.ac (working copy)
+@@ -982,6 +982,12 @@
+ AC_SUBST(PA_ACCESS_GROUP)
+ AC_DEFINE_UNQUOTED(PA_ACCESS_GROUP,"$PA_ACCESS_GROUP", [Access group])
+
++AC_ARG_WITH(peruser_esound, AS_HELP_STRING([--with-peruser-esound-socket], [Use per-user esound socket directory, like /tmp/.esd-UID/socket.]))
++
++if test "x$with_peruser_esound" = "xyes"; then
++ AC_DEFINE([USE_PERUSER_ESOUND_SOCKET], [1], [Define this if you want per-user esound socket directories])
++fi
++
+ #### PulseAudio system runtime dir ####
+ PA_SYSTEM_RUNTIME_PATH="${localstatedir}/run/pulse"
+ AC_SUBST(PA_SYSTEM_RUNTIME_PATH)
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.8-polkit.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.8-polkit.patch
new file mode 100644
index 000000000..fcd0183ff
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio-0.9.8-polkit.patch
@@ -0,0 +1,18 @@
+Index: pulseaudio-0.9.8/configure.ac
+===================================================================
+--- pulseaudio-0.9.8.orig/configure.ac
++++ pulseaudio-0.9.8/configure.ac
+@@ -881,11 +881,11 @@ if test "x${polkit}" != xno ; then
+ [
+ HAVE_POLKIT=1
+ saved_LIBS="$LIBS"
+- LIBS="$LIBS POLKIT_LIBS"
++ LIBS="$LIBS $POLKIT_LIBS"
+ AC_CHECK_FUNCS(polkit_context_is_caller_authorized)
+ LIBS="$saved_LIBS"
+ AC_DEFINE([HAVE_POLKIT], 1, [Have PolicyKit])
+- policydir=`pkg-config --variable prefix`/usr/share/PolicyKit/policy/
++ policydir=`pkg-config polkit-dbus --variable prefix`/share/PolicyKit/policy/
+ AC_SUBST(policydir)
+ ],
+ [
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.8-svn2074.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.8-svn2074.patch
new file mode 100644
index 000000000..707abef78
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio-0.9.8-svn2074.patch
@@ -0,0 +1,13 @@
+Index: src/pulse/stream.c
+===================================================================
+--- src/pulse/stream.c (revision 2073)
++++ src/pulse/stream.c (revision 2074)
+@@ -586,7 +586,7 @@
+ }
+ }
+
+- if (s->context->version >= 12) {
++ if (s->context->version >= 12 && s->direction != PA_STREAM_UPLOAD) {
+ pa_sample_spec ss;
+ pa_channel_map cm;
+ const char *dn = NULL;
diff --git a/media-sound/pulseaudio/files/pulseaudio.conf.d b/media-sound/pulseaudio/files/pulseaudio.conf.d
new file mode 100644
index 000000000..1d31d342a
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio.conf.d
@@ -0,0 +1,7 @@
+# Config file for /etc/init.d/pulseaudio
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.conf.d,v 1.6 2006/07/29 15:34:18 flameeyes Exp $
+
+# For more see "pulseaudio -h".
+
+# Startup options
+PA_OPTS="--log-target=syslog --disallow-module-loading=1"
diff --git a/media-sound/pulseaudio/files/pulseaudio.init.d-2 b/media-sound/pulseaudio/files/pulseaudio.init.d-2
new file mode 100644
index 000000000..179d1885e
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio.init.d-2
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-2,v 1.5 2007/11/07 12:07:10 flameeyes Exp $
+
+depend() {
+ need localmount
+ use net
+ @neededservices@
+}
+
+start() {
+ ebegin "Starting pulseaudio"
+ PA_ALL_OPTS="${PA_OPTS} --fail=1 --daemonize=1 --system"
+ start-stop-daemon --start --exec /usr/bin/pulseaudio -- ${PA_ALL_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping pulseaudio"
+ start-stop-daemon --stop --quiet --exec /usr/bin/pulseaudio --pidfile /var/run/pulse/pid
+ eend $?
+}
diff --git a/media-sound/pulseaudio/files/pulseaudio.init.d-3 b/media-sound/pulseaudio/files/pulseaudio.init.d-3
new file mode 100644
index 000000000..c15c8e160
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio.init.d-3
@@ -0,0 +1,68 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-3,v 1.3 2007/11/23 13:09:31 flameeyes Exp $
+
+depend() {
+ need localmount
+ use net
+
+ local script="/etc/pulse/default.pa"
+
+ for opt in ${PA_OPTS}; do
+ case "$opt" in
+ --file=*) script="${opt#*=}" ;;
+ -F*) script="${opt#-F}" ;;
+ esac
+ done
+
+ config "$script"
+
+ local needs="$(get_options need)"
+ if [ -n "${needs}" ]; then
+ need ${needs}
+ return
+ fi
+
+#ifdef HAL
+ if egrep -q '^[[:space:]]*load-module[[:space:]]+module-hal-detect' "$script"; then
+ needs="${needs} hald"
+ fi
+#endif
+
+#ifdef AVAHI
+ if egrep -q '[[:space:]]*load-module[[:space:]]+module-zeroconf-publish' "$script"; then
+ needs="${needs} avahi-daemon"
+ fi
+#endif
+
+#ifdef BLUETOOTH
+ if egrep -q '[[:space:]]*load-module[[:space:]]+module-bt-proximity' "$script"; then
+ needs="${needs} bluetooth"
+ fi
+#endif
+
+#ifdef ALSA
+ if egrep -q '[[:space:]]*load-module[[:space:]]+module-alsa-(sink|source)' "$script" ||
+ egrep -q '[[:space:]]*load-module[[:space:]]+module-(hal-)?detect' "$script" ||
+ egrep -q '[[:space:]]*add-autoload-source[[:space:]]+(input|output)[[:space:]]+module-alsa-(sink|source)' "$script"; then
+ needs="${needs} alsasound"
+ fi
+#endif
+
+ need "${needs}"
+ save_options need "${needs}"
+}
+
+start() {
+ ebegin "Starting pulseaudio"
+ PA_ALL_OPTS="${PA_OPTS} --fail=1 --daemonize=1 --system"
+ start-stop-daemon --start --exec /usr/bin/pulseaudio -- ${PA_ALL_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping pulseaudio"
+ start-stop-daemon --stop --quiet --exec /usr/bin/pulseaudio --pidfile /var/run/pulse/pid
+ eend $?
+}
diff --git a/media-sound/pulseaudio/files/pulseaudio.init.d-4 b/media-sound/pulseaudio/files/pulseaudio.init.d-4
new file mode 100644
index 000000000..b9c883d66
--- /dev/null
+++ b/media-sound/pulseaudio/files/pulseaudio.init.d-4
@@ -0,0 +1,72 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/files/pulseaudio.init.d-4,v 1.1 2008/08/03 18:03:46 chutzpah Exp $
+
+depend() {
+ need localmount
+ use net
+
+ local script="/etc/pulse/system.pa"
+
+ for opt in ${PA_OPTS}; do
+ case "$opt" in
+ --file=*) script="${opt#*=}" ;;
+ -F*) script="${opt#-F}" ;;
+ esac
+ done
+
+ config "$script"
+
+ local needs="$(get_options need)"
+ if [ -n "${needs}" ]; then
+ need ${needs}
+ return
+ fi
+
+ if egrep -q '^[[:space:]]*load-module[[:space:]]+module-console-kit' "$script"; then
+ needs="${needs} consolekit"
+ fi
+
+#ifdef HAL
+ if egrep -q '^[[:space:]]*load-module[[:space:]]+module-hal-detect' "$script"; then
+ needs="${needs} hald"
+ fi
+#endif
+
+#ifdef AVAHI
+ if egrep -q '[[:space:]]*load-module[[:space:]]+module-zeroconf-publish' "$script"; then
+ needs="${needs} avahi-daemon"
+ fi
+#endif
+
+#ifdef BLUETOOTH
+ if egrep -q '[[:space:]]*load-module[[:space:]]+module-bt-proximity' "$script"; then
+ needs="${needs} bluetooth"
+ fi
+#endif
+
+#ifdef ALSA
+ if egrep -q '[[:space:]]*load-module[[:space:]]+module-alsa-(sink|source)' "$script" ||
+ egrep -q '[[:space:]]*load-module[[:space:]]+module-(hal-)?detect' "$script" ||
+ egrep -q '[[:space:]]*add-autoload-source[[:space:]]+(input|output)[[:space:]]+module-alsa-(sink|source)' "$script"; then
+ needs="${needs} alsasound"
+ fi
+#endif
+
+ need "${needs}"
+ save_options need "${needs}"
+}
+
+start() {
+ ebegin "Starting pulseaudio"
+ PA_ALL_OPTS="${PA_OPTS} --fail=1 --daemonize=1 --system"
+ start-stop-daemon --start --exec /usr/bin/pulseaudio -- ${PA_ALL_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping pulseaudio"
+ start-stop-daemon --stop --quiet --exec /usr/bin/pulseaudio --pidfile /var/run/pulse/pid
+ eend $?
+}
diff --git a/media-sound/pulseaudio/metadata.xml b/media-sound/pulseaudio/metadata.xml
new file mode 100644
index 000000000..23c58bc06
--- /dev/null
+++ b/media-sound/pulseaudio/metadata.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+ <use>
+ <flag name="X">
+ Build the X11 publish module to export PulseAudio information
+ through X11 protocol for clients to make use. Don't enable this
+ flag if you want to use a system wide instance. If unsure, enable
+ this flag.
+ </flag>
+ <flag name="gnome">
+ Use GConf to store user preferences on streams and so on. Don't
+ enable this flag if you want to use a system wide instance. If
+ unsure, enable this flag.
+ </flag>
+ <flag name="oss">
+ Enable OSS sink/source (output/input). Also build the padsp
+ script to make OSS software use PulseAudio.
+ </flag>
+ <flag name="policykit">
+ Use the PolicyKit framework (<pkg>sys-auth/policykit</pkg>) to
+ acquire high-priority and real-time scheduling for the daemon.
+ </flag>
+ <flag name="glib">
+ Add support to <pkg>dev-libs/glib</pkg>-based mainloop for the
+ libpulse client library, to allow using libpulse on glib-based
+ programs.
+ </flag>
+ <flag name="asyncns">Use libasyncns for asynchronous name resolution.</flag>
+ <flag name="glib">Enable glib eventloop support</flag>
+ <flag name="policykit">Enable support for PolicyKit framework.</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-sound/pulseaudio/pulseaudio-0.9.14.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.14.ebuild
new file mode 100644
index 000000000..d5983e6ec
--- /dev/null
+++ b/media-sound/pulseaudio/pulseaudio-0.9.14.ebuild
@@ -0,0 +1,195 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.14.ebuild,v 1.5 2009/02/24 11:16:21 flameeyes Exp $
+
+EAPI=2
+
+inherit eutils libtool autotools flag-o-matic multilib-native
+
+DESCRIPTION="A networked sound server with an advanced plugin system"
+HOMEPAGE="http://www.pulseaudio.org/"
+SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib"
+
+RDEPEND="X? ( x11-libs/libX11[lib32?] x11-libs/libSM[lib32?] x11-libs/libXau[lib32?] x11-libs/libXdmcp[lib32?] )
+ caps? ( sys-libs/libcap[lib32?] )
+ libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1[lib32?] )
+ alsa? ( >=media-libs/alsa-lib-1.0.17-r1[lib32?] )
+ glib? ( >=dev-libs/glib-2.4.0[lib32?] )
+ avahi? ( >=net-dns/avahi-0.6.12[dbus,lib32?] )
+ >=dev-libs/liboil-0.3.0[lib32?]
+ jack? ( >=media-sound/jack-audio-connection-kit-0.100[lib32?] )
+ tcpd? ( sys-apps/tcp-wrappers[lib32?] )
+ lirc? ( app-misc/lirc[lib32?] )
+ dbus? ( >=sys-apps/dbus-1.0.0[lib32?] )
+ gnome? ( >=gnome-base/gconf-2.4.0[lib32?] )
+ hal? (
+ >=sys-apps/hal-0.5.7[lib32?]
+ >=sys-apps/dbus-1.0.0[lib32?]
+ )
+ app-admin/eselect-esd
+ bluetooth? ( || ( >=net-wireless/bluez-4[lib32?]
+ >=net-wireless/bluez-libs-3[lib32?] )
+ >=sys-apps/dbus-1.0.0[lib32?]
+ )
+ policykit? ( sys-auth/policykit )
+ asyncns? ( net-libs/libasyncns[lib32?] )
+ >=media-libs/audiofile-0.2.6-r1[lib32?]
+ >=media-libs/speex-1.2_beta[lib32?]
+ >=media-libs/libsndfile-1.0.10[lib32?]
+ >=dev-libs/liboil-0.3.6[lib32?]
+ sys-libs/gdbm[lib32?]
+ || ( sys-apps/openrc >=sys-apps/baselayout-2.0_rc5 )
+ >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used
+
+# Remove autoconf when >=2.62 stable and pulled in by autotools.eclass
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.62
+ X? ( x11-proto/xproto )
+ dev-libs/libatomic_ops
+ dev-util/pkgconfig
+ || ( dev-util/unifdef sys-freebsd/freebsd-ubin )
+ dev-util/intltool"
+
+# alsa-utils dep is for the alsasound init.d script (see bug #155707)
+# bluez-utils dep is for the bluetooth init.d script
+RDEPEND="${RDEPEND}
+ gnome-extra/gnome-audio
+ alsa? ( media-sound/alsa-utils )
+ bluetooth? ( || ( >=net-wireless/bluez-utils-3
+ >=net-wireless/bluez-4 ) )"
+
+pkg_setup() {
+ enewgroup audio 18 # Just make sure it exists
+ enewgroup realtime
+ enewgroup pulse-access
+ enewgroup pulse
+ enewuser pulse -1 -1 /var/run/pulse pulse,audio
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Avoid building - and especially linking - test programs
+ # outside of make check
+ sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
+ "${S}/src/Makefile.am"
+
+ eautoreconf
+ elibtoolize
+}
+
+multilib-native_src_configure_internal() {
+ # To properly fix CVE-2008-0008
+ append-flags -UNDEBUG
+
+ econf \
+ --enable-largefile \
+ $(use_enable glib) \
+ --disable-solaris \
+ $(use_enable asyncns) \
+ $(use_enable oss) \
+ $(use_enable alsa) \
+ $(use_enable lirc) \
+ $(use_enable tcpd tcpwrap) \
+ $(use_enable jack) \
+ $(use_enable lirc) \
+ $(use_enable avahi) \
+ $(use_enable hal) \
+ $(use_enable dbus) \
+ $(use_enable gnome gconf) \
+ $(use_enable libsamplerate samplerate) \
+ $(use_enable bluetooth bluez) \
+ $(use_enable policykit polkit) \
+ $(use_with caps) \
+ $(use_with X x) \
+ --disable-ltdl-install \
+ --localstatedir=/var \
+ --with-realtime-group=realtime \
+ --disable-per-user-esound-socket \
+ || die "econf failed"
+}
+
+multilib-native_src_install_internal() {
+ emake -j1 DESTDIR="${D}" install || die "make install failed"
+
+ newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio
+
+ use_define() {
+ local define=${2:-$(echo $1 | tr '[:lower:]' '[:upper:]')}
+
+ use "$1" && echo "-D$define" || echo "-U$define"
+ }
+
+ unifdef $(use_define hal) \
+ $(use_define avahi) \
+ $(use_define alsa) \
+ $(use_define bluetooth) \
+ "${FILESDIR}/pulseaudio.init.d-4" \
+ > "${T}/pulseaudio"
+
+ doinitd "${T}/pulseaudio"
+
+ use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa"
+
+ dohtml -r doc
+ dodoc README
+
+ # Create the state directory
+ diropts -o pulse -g pulse -m0755
+ keepdir /var/run/pulse
+
+ find "${D}" -name '*.la' -delete
+}
+
+pkg_postinst() {
+ elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon."
+ elog "This support is enabled by starting the pulseaudio init.d ."
+ elog "To be able to access that you need to be in the group pulse-access."
+ elog "For more information about system-wide support, please refer to"
+ elog " http://pulseaudio.org/wiki/SystemWideInstance"
+ if use gnome; then
+ elog
+ elog "By enabling gnome USE flag, you enabled gconf support. Please note"
+ elog "that you might need to remove the gnome USE flag or disable the"
+ elog "gconf module on /etc/pulse/default.pa to be able to use PulseAudio"
+ elog "with a system-wide instance."
+ fi
+ elog
+ elog "To use the ESounD wrapper while using a system-wide daemon, you also"
+ elog "need to enable auth-anonymous for the esound-unix module, or to copy"
+ elog "/var/run/pulse/.esd_auth into each home directory."
+ elog
+ elog "If you want to make use of realtime capabilities of PulseAudio"
+ elog "you should follow the realtime guide to create and set up a realtime"
+ elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml"
+ elog "Make sure you also have baselayout installed with pam USE flag"
+ elog "enabled, if you're using the rlimit method."
+ if use bluetooth; then
+ elog
+ elog "The BlueTooth proximity module is not enabled in the default"
+ elog "configuration file. If you do enable it, you'll have to have"
+ elog "your BlueTooth controller enabled and inserted at bootup or"
+ elog "PulseAudio will refuse to start."
+ elog
+ elog "Please note that the BlueTooth proximity module seems itself"
+ elog "still experimental, so please report to upstream if you have"
+ elog "problems with it."
+ fi
+ if use alsa; then
+ local pkg="media-plugins/alsa-plugins"
+ if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then
+ elog
+ elog "You have alsa support enabled so you probably want to install"
+ elog "${pkg} with pulseaudio support to have"
+ elog "alsa using applications route their sound through pulseaudio"
+ fi
+ fi
+
+ eselect esd update --if-unset
+}
diff --git a/media-sound/pulseaudio/pulseaudio-0.9.9.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.9.ebuild
new file mode 100644
index 000000000..0af047ef9
--- /dev/null
+++ b/media-sound/pulseaudio/pulseaudio-0.9.9.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.9.ebuild,v 1.9 2009/02/24 11:16:21 flameeyes Exp $
+
+inherit eutils libtool autotools flag-o-matic multilib-native
+
+DESCRIPTION="A networked sound server with an advanced plugin system"
+HOMEPAGE="http://www.pulseaudio.org"
+SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
+IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns"
+
+RDEPEND="X? ( x11-libs/libX11[lib32?] )
+ caps? ( sys-libs/libcap[lib32?] )
+ >=media-libs/audiofile-0.2.6-r1[lib32?]
+ libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1[lib32?] )
+ >=media-libs/libsndfile-1.0.10[lib32?]
+ >=dev-libs/liboil-0.3.6[lib32?]
+ alsa? ( >=media-libs/alsa-lib-1.0.10[lib32?] )
+ >=dev-libs/glib-2.4.0[lib32?]
+ avahi? ( >=net-dns/avahi-0.6.12[lib32?] )
+ >=dev-libs/liboil-0.3.0[lib32?]
+ jack? ( >=media-sound/jack-audio-connection-kit-0.100[lib32?] )
+ tcpd? ( sys-apps/tcp-wrappers[lib32?] )
+ lirc? ( app-misc/lirc[lib32?] )
+ dbus? ( >=sys-apps/dbus-1.0.0[lib32?] )
+ gnome? ( >=gnome-base/gconf-2.4.0[lib32?] )
+ hal? (
+ >=sys-apps/hal-0.5.7[lib32?]
+ >=sys-apps/dbus-1.0.0[lib32?]
+ )
+ app-admin/eselect-esd
+ bluetooth? (
+ >=net-wireless/bluez-libs-3[lib32?]
+ >=sys-apps/dbus-1.0.0[lib32?]
+ )
+ policykit? ( sys-auth/policykit )
+ asyncns? ( net-libs/libasyncns[lib32?] )
+ >=sys-devel/libtool-1.5.24" # it's a valid RDEPEND, libltdl.so is used
+DEPEND="${RDEPEND}
+ dev-libs/libatomic_ops
+ dev-util/pkgconfig"
+
+# alsa-utils dep is for the alsasound init.d script (see bug #155707)
+# bluez-utils dep is for the bluetooth init.d script
+RDEPEND="${RDEPEND}
+ gnome-extra/gnome-audio
+ alsa? ( media-sound/alsa-utils )
+ bluetooth? ( >=net-wireless/bluez-utils-3 )"
+
+pkg_setup() {
+ if use avahi && ! built_with_use net-dns/avahi dbus ; then
+ echo
+ eerror "In order to compile pulseaudio with avahi support, you need to have"
+ eerror "net-dns/avahi emerged with 'dbus' in your USE flag. Please add that"
+ eerror "flag, re-emerge avahi, and then emerge pulseaudio again."
+ die "net-dns/avahi is missing the D-Bus bindings."
+ fi
+
+ enewgroup audio 18 # Just make sure it exists
+ enewgroup realtime
+ enewgroup pulse-access
+ enewgroup pulse
+ enewuser pulse -1 -1 /var/run/pulse pulse,audio
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-0.9.8-svn2074.patch"
+ epatch "${FILESDIR}/${PN}-0.9.8-polkit.patch"
+ epatch "${FILESDIR}/${PN}-0.9.8-bt-nohal.patch"
+ epatch "${FILESDIR}/${PN}-0.9.8-esoundpath.patch"
+ epatch "${FILESDIR}/${PN}-0.9.8-create-directory.patch"
+
+ eautoreconf
+ elibtoolize
+}
+
+multilib-native_src_compile_internal() {
+ # To properly fix CVE-2008-0008
+ append-flags -UNDEBUG
+
+ econf \
+ --enable-largefile \
+ --enable-glib2 \
+ --disable-solaris \
+ $(use_enable asyncns) \
+ $(use_enable oss) \
+ $(use_enable alsa) \
+ $(use_enable lirc) \
+ $(use_enable tcpd tcpwrap) \
+ $(use_enable jack) \
+ $(use_enable lirc) \
+ $(use_enable avahi) \
+ $(use_enable hal) \
+ $(use_enable dbus) \
+ $(use_enable gnome gconf) \
+ $(use_enable libsamplerate samplerate) \
+ $(use_enable bluetooth bluez) \
+ $(use_enable policykit polkit) \
+ $(use_with caps) \
+ $(use_with X x) \
+ --disable-ltdl-install \
+ --localstatedir=/var \
+ --with-realtime-group=realtime \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+multilib-native_src_install_internal() {
+ emake -j1 DESTDIR="${D}" install || die "make install failed"
+
+ newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio
+
+ local neededservices
+ use alsa && neededservices="$neededservices alsasound"
+ use avahi && neededservices="$neededservices avahi-daemon"
+ use hal && neededservices="$neededservices hald"
+ use bluetooth && neededservices="$neededservices bluetooth"
+ [[ -n ${neededservices} ]] && sed -e "s/@neededservices@/need $neededservices/" "${FILESDIR}/pulseaudio.init.d-2" > "${T}/pulseaudio"
+ doinitd "${T}/pulseaudio"
+
+ use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa"
+
+ dohtml -r doc
+ dodoc README
+
+ # Create the state directory
+ diropts -o pulse -g pulse -m0755
+ keepdir /var/run/pulse
+}
+
+pkg_postinst() {
+ elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon."
+ elog "This support is enabled by starting the pulseaudio init.d ."
+ elog "To be able to access that you need to be in the group pulse-access."
+ elog "For more information about system-wide support, please refer to"
+ elog " http://pulseaudio.org/wiki/SystemWideInstance"
+ if use gnome; then
+ elog
+ elog "By enabling gnome USE flag, you enabled gconf support. Please note"
+ elog "that you might need to remove the gnome USE flag or disable the"
+ elog "gconf module on /etc/pulse/default.pa to be able to use PulseAudio"
+ elog "with a system-wide instance."
+ fi
+ elog
+ elog "To use the ESounD wrapper while using a system-wide daemon, you also"
+ elog "need to enable auth-anonymous for the esound-unix module, or to copy"
+ elog "/var/run/pulse/.esd_auth into each home directory."
+ elog
+ elog "If you want to make use of realtime capabilities of PulseAudio"
+ elog "you should follow the realtime guide to create and set up a realtime"
+ elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml"
+ elog "Make sure you also have baselayout installed with pam USE flag"
+ elog "enabled, if you're using the rlimit method."
+ if use bluetooth; then
+ elog
+ elog "The BlueTooth proximity module is not enabled in the default"
+ elog "configuration file. If you do enable it, you'll have to have"
+ elog "your BlueTooth controller enabled and inserted at bootup or"
+ elog "PulseAudio will refuse to start."
+ elog
+ elog "Please note that the BlueTooth proximity module seems itself"
+ elog "still experimental, so please report to upstream if you have"
+ elog "problems with it."
+ fi
+
+ eselect esd update --if-unset
+}