aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-06-19 06:47:32 +0000
committerpsykose <alice@ayaya.dev>2022-06-19 09:22:45 +0200
commit3d0ad12f54c08b6216bc402d7a64f1ce5b73d73c (patch)
tree25223a4f6c553a0b381a70bc840f8ebf9953ba94
parent5637cbbc8231a5942699d8ed149b48bd7b2ab6a8 (diff)
downloadaports-3d0ad12f54c08b6216bc402d7a64f1ce5b73d73c.tar.gz
aports-3d0ad12f54c08b6216bc402d7a64f1ce5b73d73c.tar.bz2
aports-3d0ad12f54c08b6216bc402d7a64f1ce5b73d73c.tar.xz
main/speex: upgrade to 1.2.1
-rw-r--r--main/speex/APKBUILD24
1 files changed, 13 insertions, 11 deletions
diff --git a/main/speex/APKBUILD b/main/speex/APKBUILD
index 4170301f23..aba0c4e90e 100644
--- a/main/speex/APKBUILD
+++ b/main/speex/APKBUILD
@@ -1,21 +1,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=speex
-pkgver=1.2.0
+pkgver=1.2.1
pkgrel=0
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"
-depends=
-makedepends="libogg-dev speexdsp-dev"
-install=
+makedepends="autoconf automake libtool libogg-dev speexdsp-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
-source="http://downloads.us.xiph.org/releases/speex/speex-$pkgver.tar.gz"
+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
+}
-builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -29,14 +31,14 @@ build() {
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
tools() {
pkgdesc="$pkgdesc - command line tools"
- mkdir -p "$subpkgdir"/usr
- mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+ amove usr/bin
}
-sha512sums="7fe10838c7d1bafcbe42295b82b79262420dba793b8a4388e2f73a3007850b5572face1b5308d9f4e8d7dfc9cb1c016cbad88cd65b2892667986107ed946836b speex-1.2.0.tar.gz"
+sha512sums="
+f2d87681e082e44c4afdd04f7f3f11b5bff5c4216f6921a4dfcc244695451d01059a8c6c9916a818fe10330a8cb9976419befbb61b52536f3182871d800850ea speex-Speex-1.2.1.tar.bz2
+"