40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'webrtc-audio-processing'
|
|
pkgname=webrtc-audio-processing
|
|
version=0.3.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="AudioProcessing library based on Google's implementation of WebRTC"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
|
|
distfiles="${homepage}/${pkgname}-${version}.tar.xz"
|
|
checksum=a0fdd938fd85272d67e81572c5a4d9e200a0c104753cb3c209ded175ce3c5dbf
|
|
patch_args="-p1"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
# Disable neon for the arm* architectures
|
|
arm*) configure_args+=" --enable-neon=no" ;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
# Remove failing statement PKG_CHECK_MODULE(GNUSTL, gnustl)
|
|
sed -i configure.ac -e'/if test "x$with_gnustl" != "xno"; then/,+2d'
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
webrtc-audio-processing-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|