PKGBUILDs/extra/webrtc-audio-processing/PKGBUILD

37 lines
995 B
Bash
Raw Normal View History

2015-07-15 00:46:50 +00:00
# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch to fix AArch64 build
pkgname=webrtc-audio-processing
2016-06-28 12:31:38 +00:00
pkgver=0.3
pkgrel=1
2015-07-15 00:46:50 +00:00
pkgdesc="AudioProcessing library based on Google's implementation of WebRTC"
url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
2016-06-28 12:31:38 +00:00
arch=(i686 x86_64)
2015-07-15 00:46:50 +00:00
license=(custom)
depends=(gcc-libs)
source=("$url/$pkgname-$pkgver.tar.xz"
'webrtc-fix-typedefs-on-other-arches.patch')
2016-06-28 12:31:38 +00:00
sha256sums=('756e291d4f557d88cd50c4fe3b8454ec238362d22cedb3e6173240d90f0a80fa'
'98ba3bcf8fc11c9c76eb707ee81a3ab668f10ad8cc4915deb842a3032557d15f')
2015-07-15 00:46:50 +00:00
prepare() {
cd $pkgname-$pkgver
patch -p1 -i ../webrtc-fix-typedefs-on-other-arches.patch
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}