mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=opusfile
|
|
pkgver=0.10
|
|
pkgrel=1
|
|
pkgdesc="A high-level API for decoding and seeking within .opus files"
|
|
url="http://www.opus-codec.org/"
|
|
arch="all"
|
|
license="BSD"
|
|
depends=""
|
|
depends_dev="libogg-dev libressl-dev opus-dev"
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://downloads.xiph.org/releases/opus/$pkgname-$pkgver.tar.gz
|
|
libressl.patch
|
|
"
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
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="302601c31ca28bff175cefa99ac16177122a786d043be229616e2c98b7ffaf4a96b8bb17ca16e31240325a92763f417315b54d8f1b2f4f63f445cb7ad43c4a37 opusfile-0.10.tar.gz
|
|
4a5572bb0671e8bf38d70883d61257e182e4e417828c65461351649728ab5560c7da0d5d4560a30bbad256bfcafa874322a8f1470a796f4948af93d50dd4a74e libressl.patch"
|