prspkt 226a2faf03
community/opus-tools: upgrade to 0.2
Add opusfile-dev and libopusenc-dev to makedepends.

As of v0.2 the Opus decoder opusdec has been converted to use the
opusfile library, and the Opus encoder opusenc has been converted to use
the libopusenc library.
2019-02-19 08:29:49 +02:00

34 lines
899 B
Plaintext

# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=opus-tools
pkgver=0.2
pkgrel=0
pkgdesc="Collection of tools for Opus audio codec"
url="https://wiki.xiph.org/Opus-tools"
arch="all"
license="BSD-2-Clause"
depends=""
makedepends="libogg-dev opus-dev flac-dev linux-headers libopusenc-dev
opusfile-dev"
subpackages="$pkgname-doc"
source="https://archive.mozilla.org/pub/opus/opus-tools-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-assertions
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="6fdde8d938e8fadc9391b5d188883dab0aecf8b27d40d00b5d67d8fac9cfd9d5107b1934bfe6310587400f277c99d1db5cabf3d26f340ce2141873dec238e5ce opus-tools-0.2.tar.gz"