Patches for aports can be sent to this list

[alpine-aports] [PATCH] community/opus-tools: upgrade to 0.2

Bradley Saulteaux
Details
Message ID
<20190204211539.28843-1-bradsoto@gmail.com>
Sender timestamp
1549314940
DKIM signature
missing
Download raw message
Patch: +33 -19
---
 community/libopusenc/APKBUILD | 23 +++++++++++++++++++++++
 community/opus-tools/APKBUILD | 29 ++++++++++-------------------
 2 files changed, 33 insertions(+), 19 deletions(-)
 create mode 100644 community/libopusenc/APKBUILD

diff --git a/community/libopusenc/APKBUILD b/community/libopusenc/APKBUILD
new file mode 100644
index 0000000000..4d46900a91
--- /dev/null
+++ b/community/libopusenc/APKBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Bradley Saulteaux <bradsoto@gmail.com>
+pkgname=libopusenc
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="Library for encoding .opus audio files and live streams."
+url="http://opus-codec.org/development/"
+arch="all"
+license="BSD"
+depends=""
+options="!check"
+makedepends="opus-dev"
+subpackages="$pkgname-doc"
+source="https://archive.mozilla.org/pub/opus/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+build() {
+	cd "$builddir"
+	./configure --prefix=/usr --enable-assertions
+}
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+sha512sums="adf30cacea9ac2e5889a40147f53943a1bec5279c5ff3a9b09de8ca52727a6cbaeecd338417fc5856e337ae183c85b0d366d14ec4ec329de12d50709a6f6507a  libopusenc-0.2.1.tar.gz"
diff --git a/community/opus-tools/APKBUILD b/community/opus-tools/APKBUILD
index 40b649cb57..535c7ae586 100644
--- a/community/opus-tools/APKBUILD
+++ b/community/opus-tools/APKBUILD
@@ -1,35 +1,26 @@
 # Contributor: Stuart Cardall <developer@it-offshore.co.uk>
 # Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
 pkgname=opus-tools
-pkgver=0.1.10
+pkgver=0.2
 pkgrel=0
 pkgdesc="Collection of tools for Opus audio codec"
-url="https://wiki.xiph.org/Opus-tools"
+url="http://opus-codec.org/development/"
 arch="all"
 license="BSD"
-depends=""
-makedepends="libogg-dev opus-dev flac-dev linux-headers"
+depends="libopusenc"
+optoins="!check"
+makedepends="libogg-dev opus-dev opusfile-dev flac-dev linux-headers"
 subpackages="$pkgname-doc"
-source="pkgname-$pkgver.tar.gz::http://downloads.xiph.org/releases/opus/$pkgname-$pkgver.tar.gz"
+source="https://archive.mozilla.org/pub/opus/$pkgname-$pkgver.tar.gz"
 builddir="$srcdir/$pkgname-$pkgver"
 
 build() {
 	cd "$builddir"
-	./configure \
-		--build=$CBUILD \
-		--host=$CHOST \
-		--prefix=/usr \
-		--mandir=/usr/share/man \
-		--enable-assertions \
-		|| return 1
-	make || return 1
+	./configure --prefix=/usr --enable-assertions
+	make
 }
-
 package() {
 	cd "$builddir"
-	make DESTDIR="$pkgdir" install || return 1
+	make DESTDIR="$pkgdir" install
 }
-
-md5sums="6b78535d58b94832710b14e219f65a91  pkgname-0.1.10.tar.gz"
-sha256sums="a2357532d19471b70666e0e0ec17d514246d8b3cb2eb168f68bb0f6fd372b28c  pkgname-0.1.10.tar.gz"
-sha512sums="4ead97b9fe4658968a4b5cbe4bde5e2d8cbfaaea18dd0d817597cc6b6b11f26937b9eee7358ade63568f0213131aa80ecbed169d1b3885980a556871a4a7fe98  pkgname-0.1.10.tar.gz"
+sha512sums="6fdde8d938e8fadc9391b5d188883dab0aecf8b27d40d00b5d67d8fac9cfd9d5107b1934bfe6310587400f277c99d1db5cabf3d26f340ce2141873dec238e5ce  opus-tools-0.2.tar.gz"
-- 
2.20.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---