summaryrefslogtreecommitdiff
path: root/extra/webrtc-audio-processing/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/webrtc-audio-processing/PKGBUILD')
-rw-r--r--extra/webrtc-audio-processing/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/extra/webrtc-audio-processing/PKGBUILD b/extra/webrtc-audio-processing/PKGBUILD
index d091b96bc..1dfa2d2bb 100644
--- a/extra/webrtc-audio-processing/PKGBUILD
+++ b/extra/webrtc-audio-processing/PKGBUILD
@@ -3,19 +3,25 @@
pkgname=webrtc-audio-processing
pkgver=0.1
-pkgrel=1
+pkgrel=1.1
_gitrev=9413986
pkgdesc="AudioProcessing library based on Google's implementation of WebRTC"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
license=(custom)
depends=(gcc-libs)
options=(!libtool)
-source=("$url/$pkgname-$pkgver.tar.xz")
-sha256sums=('ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc')
+source=("$url/$pkgname-$pkgver.tar.xz"
+ 0001-Don-t-error-or-set-options-for-unknown-architectures.patch)
+sha256sums=('ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc'
+ '0f423b24565d0c50be4937b6f50a43cfd683c1a76c25ef80fca5f731e283fe1c')
build() {
cd $pkgname-$pkgver
+
+# Patch from Debian
+ patch -Np1 -i ${srcdir}/0001-Don-t-error-or-set-options-for-unknown-architectures.patch
+
./configure --prefix=/usr --disable-static
make
}