extra/pulseaudio to 4.0-1

This commit is contained in:
Kevin Mihelich 2013-06-07 14:16:15 +00:00
parent a9ace27cd1
commit 85d3216c3b

View file

@ -1,4 +1,4 @@
# $Id: PKGBUILD 181159 2013-04-01 19:36:12Z heftig $
# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
@ -10,19 +10,19 @@
pkgbase=pulseaudio
pkgname=(pulseaudio libpulse)
pkgdesc="A featureful, general-purpose sound server"
pkgver=3.0
pkgrel=3
pkgver=4.0
pkgrel=1
arch=(i686 x86_64)
url="http://www.freedesktop.org/wiki/Software/PulseAudio"
license=(GPL LGPL)
makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit
speex tdb udev dbus-core avahi bluez gconf intltool jack sbc
lirc-utils openssl fftw orc json-c gtk2 webrtc-audio-processing
systemd check)
speex tdb systemd dbus avahi bluez4 bluez-libs gconf intltool jack sbc
lirc-utils openssl fftw orc json-c gtk3 webrtc-audio-processing
check)
options=(!emptydirs !libtool)
source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
pulseaudio.xinit)
sha256sums=('c90bfda29605942d08e3e218ef10e3c660506a06651a616bfbb6a6df8392836d'
sha256sums=('35ceb36bb1822fe54f0b5e4863b4f486769fdfb8ff2111f01fd8778928f9cdae'
'a0db6cdc74fbf0ca10e2343c08e1e228f109221c6c0ff91b0bfade5c4bdf03cf')
build() {
@ -46,10 +46,11 @@ build() {
}
package_pulseaudio() {
depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speex tdb udev fftw orc
libsamplerate webrtc-audio-processing systemd sbc)
depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speex tdb systemd fftw orc
libsamplerate webrtc-audio-processing sbc)
optdepends=('avahi: zeroconf support'
'bluez: bluetooth support'
'bluez4: bluetooth support'
'bluez-libs: bluetooth support'
'gconf: configuration through gconf (paprefs)'
'jack: jack support'
'lirc-utils: infra-red support'
@ -59,7 +60,8 @@ package_pulseaudio() {
install=pulseaudio.install
cd $pkgbase-$pkgver
make -j1 DESTDIR="$pkgdir" install
make -j1 DESTDIR="$pkgdir" install \
bashcompletiondir=/usr/share/bash-completion/completions
# Disable autospawn by default
sed -e '/autospawn/iautospawn=no' \
@ -90,6 +92,9 @@ package_pulseaudio() {
# 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"
### Split libpulse
mkdir -p "$srcdir"/libpulse/{etc/pulse,usr/{bin,lib/pulseaudio,share/man/man{1,5}}}
@ -120,7 +125,7 @@ package_pulseaudio() {
package_libpulse() {
pkgdesc="$pkgdesc (client library)"
depends=(dbus-core libasyncns libcap libxtst libsm libsndfile json-c)
depends=(dbus libasyncns libcap libxtst libsm libsndfile json-c)
optdepends=('alsa-plugins: ALSA support'
'avahi: zeroconf support')
backup=(etc/pulse/client.conf)