aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-10 19:37:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-10 19:39:41 +0000
commit1f88081409b29412b82158ddf2fa43d849f50023 (patch)
tree87b5e11c1854ace719a9b706236d1aef7243bb88
parent511302fea2c845092f279db823049b331a9bdbb9 (diff)
downloadaports-1f88081409b29412b82158ddf2fa43d849f50023.tar.gz
aports-1f88081409b29412b82158ddf2fa43d849f50023.tar.bz2
aports-1f88081409b29412b82158ddf2fa43d849f50023.tar.xz
main/speex: upgrade to 1.2.0
-rw-r--r--main/speex/APKBUILD21
1 files changed, 7 insertions, 14 deletions
diff --git a/main/speex/APKBUILD b/main/speex/APKBUILD
index 12f18761b2..f62b9e417e 100644
--- a/main/speex/APKBUILD
+++ b/main/speex/APKBUILD
@@ -1,8 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=speex
-pkgver=1.2_rc2
-_ver=${pkgver%_*}${pkgver#*_}
-pkgrel=5
+pkgver=1.2.0
+pkgrel=0
pkgdesc="an audio compression format designed for speech"
url="http://www.speex.org/"
arch="all"
@@ -11,15 +10,11 @@ depends=
makedepends="libogg-dev speexdsp-dev"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
-source="http://downloads.xiph.org/releases/speex/speex-$_ver.tar.gz"
-
-_builddir="$srcdir"/$pkgname-$_ver
-prepare() {
- cd "$_builddir"
-}
+source="http://downloads.us.xiph.org/releases/speex/speex-$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -34,7 +29,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
@@ -44,6 +39,4 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-md5sums="6ae7db3bab01e1d4b86bacfa8ca33e81 speex-1.2rc2.tar.gz"
-sha256sums="caa27c7247ff15c8521c2ae0ea21987c9e9710a8f2d3448e8b79da9806bce891 speex-1.2rc2.tar.gz"
-sha512sums="557cf22ed7085dba94d92963cf4a4b5030a1f7f9936783ba427378d60dd7881a886687fb987b3c951120728009fb47054091e2d7d5e3dfcc6912b51ffdfbb97e speex-1.2rc2.tar.gz"
+sha512sums="7fe10838c7d1bafcbe42295b82b79262420dba793b8a4388e2f73a3007850b5572face1b5308d9f4e8d7dfc9cb1c016cbad88cd65b2892667986107ed946836b speex-1.2.0.tar.gz"