# Description: a packaging friendly copy of the AudioProcessing module from the WebRTC project # URL: https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/ # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: abseil-cpp name=webrtc-audio-processing version=2.1 release=1 source=(https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/archive/v2.1/webrtc-audio-processing-v$version.tar.bz2 58.patch 60.patch) build() { patch -Np1 -d $name-v$version -i $SRC/58.patch patch -Np1 -d $name-v$version -i $SRC/60.patch meson setup $name-v$version build \ --prefix=/usr \ --buildtype=plain \ --wrap-mode nodownload \ -D b_lto=true \ -D b_pie=true \ -D cpp_std=c++17 \ -D neon=disabled meson compile -C build DESTDIR=$PKG meson install -C build }