aboutsummaryrefslogtreecommitdiffstats
path: root/main/opus
diff options
context:
space:
mode:
Diffstat (limited to 'main/opus')
-rw-r--r--main/opus/APKBUILD26
1 files changed, 10 insertions, 16 deletions
diff --git a/main/opus/APKBUILD b/main/opus/APKBUILD
index 31ed2ee6d8..6ab599df62 100644
--- a/main/opus/APKBUILD
+++ b/main/opus/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=opus
-pkgver=1.1.4
+pkgver=1.1.5
pkgrel=0
pkgdesc="Codec designed for interactive speech and audio transmission over the Internet"
url="http://www.opus-codec.org/"
@@ -12,21 +12,17 @@ depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://downloads.us.xiph.org/releases/opus/opus-$pkgver.tar.gz"
+source="https://archive.mozilla.org/pub/$pkgname/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/opus-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+builddir="$srcdir"/opus-$pkgver
+
+check() {
+ cd "$builddir"
+ make check
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -42,12 +38,10 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
}
-md5sums="a2c09d995d0885665ff83b5df2505a5f opus-1.1.4.tar.gz"
-sha256sums="9122b6b380081dd2665189f97bfd777f04f92dc3ab6698eea1dbb27ad59d8692 opus-1.1.4.tar.gz"
-sha512sums="57f14b9e8037eaa02a4d86535d3bbcceca249310fbc9ef1a452cc19dd442d4cf338d5db241d20605c236e22549df2c8266b7486c5f1666b80c532afd52cb3585 opus-1.1.4.tar.gz"
+sha512sums="20a211caf3c363a77f042abb5c6da0ca186887511b467d3434e927d0e3b8850ac6ee32c671a60c549343d38617fca77cc10ca01a7e9cc864ecc2dcebed95c6bd opus-1.1.5.tar.gz"