summaryrefslogtreecommitdiff
path: root/extra/pulseaudio
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-02 00:05:43 -0700
committerroot <root@rshg054.dnsready.net>2013-04-02 00:05:43 -0700
commitc9738c6a1d438f30dfa7363aa847343754f953ac (patch)
tree4922cc79f6695dbe35bdc4ce2c44a7a8d93cf053 /extra/pulseaudio
parentc623429f33c434cb1cb11974d9e71f48dd5a881f (diff)
Tue Apr 2 00:05:43 PDT 2013
Diffstat (limited to 'extra/pulseaudio')
-rw-r--r--extra/pulseaudio/PKGBUILD8
-rwxr-xr-xextra/pulseaudio/pulseaudio.install9
2 files changed, 15 insertions, 2 deletions
diff --git a/extra/pulseaudio/PKGBUILD b/extra/pulseaudio/PKGBUILD
index 489dfeebd..2206d6299 100644
--- a/extra/pulseaudio/PKGBUILD
+++ b/extra/pulseaudio/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 173315 2012-12-18 20:30:41Z heftig $
+# $Id: PKGBUILD 181159 2013-04-01 19:36:12Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
@@ -8,7 +8,7 @@ pkgbase=pulseaudio
pkgname=(pulseaudio libpulse)
pkgdesc="A featureful, general-purpose sound server"
pkgver=3.0
-pkgrel=2
+pkgrel=3
arch=(i686 x86_64)
url="http://www.freedesktop.org/wiki/Software/PulseAudio"
license=(GPL LGPL)
@@ -57,6 +57,10 @@ package_pulseaudio() {
cd $pkgbase-$pkgver
make -j1 DESTDIR="$pkgdir" install
+ # Disable autospawn by default
+ sed -e '/autospawn/iautospawn=no' \
+ -i "$pkgdir/etc/pulse/client.conf"
+
# Speed up pulseaudio shutdown
# Lower resample quality, saves CPU
sed -e '/exit-idle-time/iexit-idle-time=0' \
diff --git a/extra/pulseaudio/pulseaudio.install b/extra/pulseaudio/pulseaudio.install
index 0e599b856..9de8b0e8f 100755
--- a/extra/pulseaudio/pulseaudio.install
+++ b/extra/pulseaudio/pulseaudio.install
@@ -20,6 +20,15 @@ post_upgrade() {
with changes to the packaged files in /etc/pulse/. Otherwise, PulseAudio
may refuse to start due to configuration errors.
MES
+ if (( $(vercmp $2 3.0-3) < 0 )); then
+ cat << MES
+
+>>> Autospawn is now disabled by default. If you need to run PulseAudio outside
+ of an X session, either:
+ - Enable autospawn in client.conf, or
+ - Start it manually by executing 'pulseaudio --start'
+MES
+ fi
}
# vim:set ts=2 sw=2 et: