summaryrefslogblamecommitdiff
path: root/user/opusfile/APKBUILD
blob: 030d83d39fc17c93d6eacd5292c02ad5071d7efd (plain) (tree)
1
2
3
4
5
6

                
           
        
                                                                    
                                 







                                                                         













                                           



                  


                                      
                                                                                                                                                                   
# Maintainer: 
pkgname=opusfile
pkgver=0.12
pkgrel=0
pkgdesc="High-level API for decoding and seeking within .opus files"
url="https://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() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static

	make
}

check() {
	make check
}

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

sha512sums="e25e6968a3183ac0628ce1000840fd6f9f636e92ba984d6a72b76fb2a98ec632d2de4c66a8e4c05ef30655c2a4a13ab35f89606fa7d79a54cfa8506543ca57af  opusfile-0.12.tar.gz"