blob: 9394edc7a0d14b765be5cc862c9d451cc47dec7b (
plain) (
tree)
|
|
# Maintainer:
pkgname=speexdsp
pkgver=1.2.0
pkgrel=0
pkgdesc="A voice compression format (DSP)"
url="https://www.speex.org/"
arch="all"
options="!check" # No test suite.
license="BSD-3-Clause"
depends=""
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
replaces="libspeex"
source="https://downloads.xiph.org/releases/speex/$pkgname-$pkgver.tar.gz"
build() {
_arch_flags=""
case $CARCH in
"aarch64") _arch_flags="--disable-neon"
esac
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
$_arch_flags
make
}
package() {
make -j1 DESTDIR="$pkgdir" install
}
sha512sums="e357cd5377415ea66c862302c7cf8bf6a10063cacd903f0846478975b87974cf5bdf00e2c6759d8f4f453c4c869cf284e9dc948a84a83d7b2ab96bd5405c05ec speexdsp-1.2.0.tar.gz"
|