aboutsummaryrefslogtreecommitdiffstats
path: root/main/opusfile
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-16 01:18:59 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-16 01:18:59 +0200
commit994954f8b2f6f824d96dcf115875fc385b5bbdea (patch)
treee86c33eafb9e10b09dd7200b0fc270567dc19e2a /main/opusfile
parentca207eb84fc5432a08df5c2902d1de498f9ef413 (diff)
downloadaports-994954f8b2f6f824d96dcf115875fc385b5bbdea.tar.bz2
aports-994954f8b2f6f824d96dcf115875fc385b5bbdea.tar.xz
main/opusfile: upgrade to 0.8
Diffstat (limited to 'main/opusfile')
-rw-r--r--main/opusfile/APKBUILD26
1 files changed, 8 insertions, 18 deletions
diff --git a/main/opusfile/APKBUILD b/main/opusfile/APKBUILD
index 9ac019b607..54c868d521 100644
--- a/main/opusfile/APKBUILD
+++ b/main/opusfile/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=opusfile
-pkgver=0.7
+pkgver=0.8
pkgrel=0
pkgdesc="A high-level API for decoding and seeking within .opus files"
url="http://www.opus-codec.org/"
@@ -11,21 +11,11 @@ depends_dev="libogg-dev openssl-dev opus-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://downloads.xiph.org/releases/opus/opusfile-$pkgver.tar.gz"
-
-_builddir="$srcdir"/opusfile-$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
-}
+source="http://downloads.xiph.org/releases/opus/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -40,10 +30,10 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="fb7d408a8b26508e93c37538d44cd574 opusfile-0.7.tar.gz"
-sha256sums="9e2bed13bc729058591a0f1cab2505e8cfd8e7ac460bf10a78bcc3b125e7c301 opusfile-0.7.tar.gz"
-sha512sums="13ad627e314c0f35f987d8170e090e0683d898f8c553f53a37b66a4401ff1843069e0adc35b32ef6f838d86a2a333bf11a37b4cf99161d34d5a7530619a3ade6 opusfile-0.7.tar.gz"
+md5sums="78ad26f75900dc8428d75e6e4256196d opusfile-0.8.tar.gz"
+sha256sums="2c231ed3cfaa1b3173f52d740e5bbd77d51b9dfecb87014b404917fba4b855a4 opusfile-0.8.tar.gz"
+sha512sums="4db553211ac52b9cd9c03449e602fb720d757df385b74e076ce3552a17ecf0e80c861c326fd2570b26f5ffc1c42dff781eef61c25d7a016116a021c9d2176bbb opusfile-0.8.tar.gz"