summaryrefslogtreecommitdiff
path: root/extra/pulseaudio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pulseaudio/PKGBUILD')
-rw-r--r--extra/pulseaudio/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/extra/pulseaudio/PKGBUILD b/extra/pulseaudio/PKGBUILD
index 2206d6299..70575cf3a 100644
--- a/extra/pulseaudio/PKGBUILD
+++ b/extra/pulseaudio/PKGBUILD
@@ -9,13 +9,14 @@ pkgname=(pulseaudio libpulse)
pkgdesc="A featureful, general-purpose sound server"
pkgver=3.0
pkgrel=3
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
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
+ openssl fftw orc json-c gtk2 webrtc-audio-processing
systemd check)
+[ "$CARCH" != "mips64el" ] && makedepends+=(lirc-utils)
options=(!emptydirs !libtool)
source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
pulseaudio.xinit)
@@ -48,9 +49,9 @@ package_pulseaudio() {
'bluez: bluetooth support'
'gconf: configuration through gconf (paprefs)'
'jack: jack support'
- 'lirc-utils: infra-red support'
'openssl: RAOP support'
'python2-pyqt: Equalizer GUI (qpaeq)')
+[ "$CARCH" = "mips64el" ] || optdepends+=('lirc-utils: infra-red support')
backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
install=pulseaudio.install
@@ -77,7 +78,7 @@ package_pulseaudio() {
-i "$pkgdir/etc/pulse/default.pa"
# Python fix
- sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq"
+ sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq" || true
install -Dm755 "$srcdir/pulseaudio.xinit" "$pkgdir/etc/X11/xinit/xinitrc.d/pulseaudio"