mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-24 10:01:38 +01:00
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=opusfile
|
|
pkgver=0.11
|
|
pkgrel=1
|
|
pkgdesc="A high-level API for decoding and seeking within .opus files"
|
|
url="https://www.opus-codec.org/"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
depends_dev="openssl-dev"
|
|
makedepends="$depends_dev libogg-dev opus-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://downloads.xiph.org/releases/opus/$pkgname-$pkgver.tar.gz
|
|
libressl.patch
|
|
fix-conflict.patch
|
|
"
|
|
|
|
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
|
|
4a5572bb0671e8bf38d70883d61257e182e4e417828c65461351649728ab5560c7da0d5d4560a30bbad256bfcafa874322a8f1470a796f4948af93d50dd4a74e libressl.patch
|
|
b902b8c25506d3730a2a3bafcc5542671df8f35c588d05e54e883071c853c2e6e572dde80a8f7f39a58780a509c2d14b963040a3cab633edfc400cfca08060de fix-conflict.patch"
|