summaryrefslogblamecommitdiff
path: root/user/opusfile/APKBUILD
blob: fa68d8249c4a0b59cd75234867318a273cdfea43 (plain) (tree)
1
2
3
4

                

           


































                                                                         
                                                                                                                                                                   
# Maintainer: 
pkgname=opusfile
pkgver=0.11
pkgrel=0
pkgdesc="High-level API for decoding and seeking within .opus files"
url="http://www.opus-codec.org/"
arch="all"
license="BSD-3-Clause"
depends=""
makedepends="libogg-dev openssl-dev opus-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.xiph.org/releases/opus/$pkgname-$pkgver.tar.gz"

build() {
	cd "$builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static

	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="ec3e282310cc4f25475c27b7bc8d1652dcb25d3ac6badf87bd1b4e5397fbe106a0dab81c60d88d198003a23d8a2c9bae8b661edc9b31433effeca438ce56a349  opusfile-0.11.tar.gz"