aboutsummaryrefslogtreecommitdiffstats
path: root/main/speexdsp/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 14:36:19 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-12 15:12:25 +0000
commit9a529e67be15f6fb5fe106579725b90a6f23f2f4 (patch)
tree48fdca0b07ea19f99a8bfcb9e91fde8e2f25ba28 /main/speexdsp/APKBUILD
parent77ea1bc3e56fdba49a8fbae0f77f356f5b81b8ab (diff)
downloadaports-9a529e67be15f6fb5fe106579725b90a6f23f2f4.tar.gz
aports-9a529e67be15f6fb5fe106579725b90a6f23f2f4.tar.bz2
aports-9a529e67be15f6fb5fe106579725b90a6f23f2f4.tar.xz
main/speexdsp: modernise, fix license, mark no tests
Diffstat (limited to 'main/speexdsp/APKBUILD')
-rw-r--r--main/speexdsp/APKBUILD29
1 files changed, 11 insertions, 18 deletions
diff --git a/main/speexdsp/APKBUILD b/main/speexdsp/APKBUILD
index 7e7f0c6ad3..5d04ac37d6 100644
--- a/main/speexdsp/APKBUILD
+++ b/main/speexdsp/APKBUILD
@@ -2,11 +2,12 @@
pkgname=speexdsp
pkgver=1.2_rc3
_ver=${pkgver%_*}${pkgver#*_}
-pkgrel=4
+pkgrel=5
pkgdesc="A voice compression format (DSP)"
url="https://www.speex.org/"
arch="all"
-license="BSD"
+options="!check" # No test suite.
+license="BSD-3-Clause"
depends=
makedepends="autoconf automake libtool"
install=
@@ -16,19 +17,16 @@ source="http://downloads.xiph.org/releases/speex/speexdsp-$_ver.tar.gz
speexdsp-fixbuilds-774c87d.patch
"
-_builddir="$srcdir"/$pkgname-$_ver
+builddir="$srcdir"/$pkgname-$_ver
prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
+ default_prepare
autoreconf -vif
}
build() {
- cd "$_builddir"
+ local _neon
+ cd "$builddir"
[ "$CARCH" = "aarch64" ] && _neon="--disable-neon"
./configure \
--build=$CBUILD \
@@ -38,19 +36,14 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
- $_neon \
- || return 1
- make || return 1
+ $_neon
+ make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
-md5sums="70d9d31184f7eb761192fd1ef0b73333 speexdsp-1.2rc3.tar.gz
-c4fc8b6d6ca81a9e48062d2cc1259693 speexdsp-fixbuilds-774c87d.patch"
-sha256sums="4ae688600039f5d224bdf2e222d2fbde65608447e4c2f681585e4dca6df692f1 speexdsp-1.2rc3.tar.gz
-76cd6b1187f415d966c8d62003cd87cfb66e4030b250a316aab8f0fbc2de226a speexdsp-fixbuilds-774c87d.patch"
sha512sums="29dfa8345df025eeb076561648a9b5c0485692be699b6da3c2a3734b4329187a1c2eb181252f4df12b21f1309ecdf59797437dfb123d160fd723491ab216e858 speexdsp-1.2rc3.tar.gz
0f0c8054591915a4ea06b28b13d50da41be10d594f39a0496e2e80e4514ed53db7cd0e1fdb205ce5e87f602b9c1e15409c33cf946ab25cdef8a3b147dbfcc0f3 speexdsp-fixbuilds-774c87d.patch"