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