1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=webrtc-audio-processing
6 pkgdesc="AudioProcessing library based on Google's implementation of WebRTC"
7 url="https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/"
12 provides=(libwebrtc_audio_processing.so)
13 _commit=e882a5442ac22c93648e12837248d651d18b9247 # tags/v0.3.1^0
14 source=("git+https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing.git#commit=$_commit")
19 git describe --tags | sed 's/^v//;s/-/+/g'
24 NOCONFIGURE=1 ./autogen.sh
29 ./configure --prefix=/usr --disable-static
30 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
41 make DESTDIR="$pkgdir" install
42 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING