blob: 5d04ac37d6f21ed82ec42a4e4ac24b9b8f3d8f49 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=speexdsp
pkgver=1.2_rc3
_ver=${pkgver%_*}${pkgver#*_}
pkgrel=5
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"
install=
subpackages="$pkgname-dev $pkgname-doc"
replaces="libspeex"
source="http://downloads.xiph.org/releases/speex/speexdsp-$_ver.tar.gz
speexdsp-fixbuilds-774c87d.patch
"
builddir="$srcdir"/$pkgname-$_ver
prepare() {
cd "$builddir"
default_prepare
autoreconf -vif
}
build() {
local _neon
cd "$builddir"
[ "$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="29dfa8345df025eeb076561648a9b5c0485692be699b6da3c2a3734b4329187a1c2eb181252f4df12b21f1309ecdf59797437dfb123d160fd723491ab216e858 speexdsp-1.2rc3.tar.gz
0f0c8054591915a4ea06b28b13d50da41be10d594f39a0496e2e80e4514ed53db7cd0e1fdb205ce5e87f602b9c1e15409c33cf946ab25cdef8a3b147dbfcc0f3 speexdsp-fixbuilds-774c87d.patch"
|