summaryrefslogtreecommitdiff
path: root/user/speexdsp/APKBUILD
blob: b6a45a1f95a6847588499e4f4efc2d7165a29305 (plain) (blame)
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: 
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() {
	local _neon
	[ "$CARCH" = "aarch64" ] && _neon="--disable-neon"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-static \
		$_neon
	make
}

package() {
	cd "$builddir"
	make -j1 DESTDIR="$pkgdir" install
}

sha512sums="e357cd5377415ea66c862302c7cf8bf6a10063cacd903f0846478975b87974cf5bdf00e2c6759d8f4f453c4c869cf284e9dc948a84a83d7b2ab96bd5405c05ec  speexdsp-1.2.0.tar.gz"