blob: e55a766602053dfb0e3a0e939f7c16c2676883f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
_android_arch=armv7a-eabi
pkgname=android-${_android_arch}-webrtc-audio-processing-1
pkgver=1.3
pkgrel=2
arch=('any')
pkgdesc="AudioProcessing library based on Google's implementation of WebRTC (Android ${_android_arch})"
url="https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/"
license=('custom')
depends=("android-${_android_arch}-abseil-cpp")
groups=(android-webrtc-audio-processing-1)
makedepends=('android-meson')
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/archive/v${pkgver}/webrtc-audio-processing-v${pkgver}.tar.bz2")
md5sums=('165b07e52ffdfe8c5b92a90f2ccc8691')
build() {
cd "${srcdir}/webrtc-audio-processing-v${pkgver}"
source android-env ${_android_arch}
android-${_android_arch}-meson build \
-D cpp_std=c++17
meson compile -C build
}
package() {
cd "${srcdir}/webrtc-audio-processing-v${pkgver}"
source android-env ${_android_arch}
meson install -C build --destdir "${pkgdir}"
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.so
${ANDROID_STRIP} -g "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.a || true
}
|