diff options
Diffstat (limited to 'extra/pulseaudio/PKGBUILD')
-rw-r--r-- | extra/pulseaudio/PKGBUILD | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/extra/pulseaudio/PKGBUILD b/extra/pulseaudio/PKGBUILD index 580ebf716..b00479618 100644 --- a/extra/pulseaudio/PKGBUILD +++ b/extra/pulseaudio/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 188177 2013-06-11 17:10:36Z heftig $ +# $Id: PKGBUILD 198379 2013-10-30 14:30:54Z allan $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> # Contributor: Corrado Primier <bardo@aur.archlinux.org> @@ -8,25 +8,32 @@ pkgbase=pulseaudio pkgname=(pulseaudio libpulse) pkgdesc="A featureful, general-purpose sound server" pkgver=4.0 -pkgrel=2 +pkgrel=6 arch=(i686 x86_64 mips64el) url="http://www.freedesktop.org/wiki/Software/PulseAudio" -license=(GPL LGPL) +license=(LGPL AGPL3) makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit - speex tdb systemd dbus avahi bluez4 bluez-libs gconf intltool jack sbc + speex tdb systemd dbus avahi bluez bluez-libs gconf intltool jack sbc openssl fftw orc json-c gtk3 webrtc-audio-processing - check) + check git) [ "$CARCH" != "mips64el" ] && makedepends+=(lirc-utils) -options=(!emptydirs !libtool) -source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz +options=(!emptydirs) +#source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz +source=($pkgbase-$pkgver::git://anongit.freedesktop.org/pulseaudio/pulseaudio#commit=09e88de pulseaudio.xinit) -sha256sums=('35ceb36bb1822fe54f0b5e4863b4f486769fdfb8ff2111f01fd8778928f9cdae' +sha256sums=('SKIP' 'a0db6cdc74fbf0ca10e2343c08e1e228f109221c6c0ff91b0bfade5c4bdf03cf') +prepare() { + cd $pkgbase-$pkgver + # ABI break https://bugs.freedesktop.org/show_bug.cgi?id=71047 + git revert -n 16886bb b98a2e1 +} + build() { cd $pkgbase-$pkgver - ./configure --prefix=/usr \ + ./autogen.sh --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ @@ -46,12 +53,12 @@ package_pulseaudio() { depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speex tdb systemd fftw orc libsamplerate webrtc-audio-processing sbc) optdepends=('avahi: zeroconf support' - 'bluez4: bluetooth support' + 'bluez: bluetooth support' 'bluez-libs: bluetooth support' 'gconf: configuration through gconf (paprefs)' 'jack: jack support' 'openssl: RAOP support' - 'python2-pyqt: Equalizer GUI (qpaeq)') + 'python-pyqt: Equalizer GUI (qpaeq)') [ "$CARCH" = "mips64el" ] || optdepends+=('lirc-utils: infra-red support') backup=(etc/pulse/{daemon.conf,default.pa,system.pa}) install=pulseaudio.install @@ -64,10 +71,9 @@ package_pulseaudio() { sed -e '/autospawn/iautospawn=no' \ -i "$pkgdir/etc/pulse/client.conf" - # Speed up pulseaudio shutdown - # Lower resample quality, saves CPU + # Speed up pulseaudio shutdown so that it exits immediately with + # the last user session (module-systemd-login keeps it alive) sed -e '/exit-idle-time/iexit-idle-time=0' \ - -e '/resample-method/iresample-method=speex-float-0' \ -i "$pkgdir/etc/pulse/daemon.conf" # Disable cork-request module, can result in e.g. media players unpausing @@ -75,20 +81,10 @@ package_pulseaudio() { sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \ -i "$pkgdir/usr/bin/start-pulseaudio-x11" - # Make ConsoleKit optional - sed -e $'/load-module module-console-kit/{i.nofail\n;a.fail\n;}' \ - -i "$pkgdir/etc/pulse/default.pa" - - # Python fix - sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq" || true - install -Dm755 "$srcdir/pulseaudio.xinit" "$pkgdir/etc/X11/xinit/xinitrc.d/pulseaudio" rm "$pkgdir/etc/dbus-1/system.d/pulseaudio-system.conf" - # cap is handled in .install - chmod 755 "$pkgdir/usr/lib/pulse/proximity-helper" - install -Dm644 shell-completion/pulseaudio-zsh-completion.zsh \ "$pkgdir/usr/share/zsh/site-functions/_pulseaudio" @@ -126,6 +122,7 @@ package_libpulse() { optdepends=('alsa-plugins: ALSA support' 'avahi: zeroconf support') backup=(etc/pulse/client.conf) + license=(LGPL) mv "$srcdir"/libpulse/* "$pkgdir" } |