# Maintainer: Natanael Copa pkgname=speex pkgver=1.2.1 pkgrel=2 pkgdesc="an audio compression format designed for speech" url="https://www.speex.org/" arch="all" options="!check" # Test suite is for Win32 only. license="BSD-3-Clause" makedepends="autoconf automake libtool libogg-dev speexdsp-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" source="https://gitlab.xiph.org/xiph/speex/-/archive/Speex-$pkgver/speex-Speex-$pkgver.tar.bz2" builddir="$srcdir/$pkgname-Speex-$pkgver" prepare() { default_prepare autoreconf -vif } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-static \ --enable-binaries make } package() { make -j1 DESTDIR="$pkgdir" install } tools() { pkgdesc="$pkgdesc - command line tools" amove usr/bin } sha512sums=" f2d87681e082e44c4afdd04f7f3f11b5bff5c4216f6921a4dfcc244695451d01059a8c6c9916a818fe10330a8cb9976419befbb61b52536f3182871d800850ea speex-Speex-1.2.1.tar.bz2 "