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/"
11 makedepends=(git meson abseil-cpp)
12 provides=(libwebrtc-audio-{coding,processing}-${pkgver%%.*}.so)
13 _commit=e31340c243f034e26e1e876f3f32fc842f5e5b5b # master
14 source=("git+https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing.git#commit=$_commit")
19 git describe --tags | sed 's/^v//;s/-/+/g'
27 arch-meson $pkgname build \
28 -D cpp_std=c++17 # must match abseil
29 meson compile -C build
33 meson test -C build --print-errorlogs
37 meson install -C build --destdir "$pkgdir"
38 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING