diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-21 23:29:58 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-21 23:29:58 -0500 |
commit | e4e01460aecb95a67e06c9ff698c52b1d3e3107c (patch) | |
tree | 1ef4beb97fb6361ef08743a719fff7d5b99af810 /user/opusfile | |
parent | 4589bb420b256e6b1220fc96c06378927180ddc8 (diff) | |
download | packages-e4e01460aecb95a67e06c9ff698c52b1d3e3107c.tar.gz packages-e4e01460aecb95a67e06c9ff698c52b1d3e3107c.tar.bz2 packages-e4e01460aecb95a67e06c9ff698c52b1d3e3107c.tar.xz packages-e4e01460aecb95a67e06c9ff698c52b1d3e3107c.zip |
user/opusfile: pull in, modernise
Diffstat (limited to 'user/opusfile')
-rw-r--r-- | user/opusfile/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/opusfile/APKBUILD b/user/opusfile/APKBUILD new file mode 100644 index 000000000..9d92f0276 --- /dev/null +++ b/user/opusfile/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: +pkgname=opusfile +pkgver=0.10 +pkgrel=1 +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="302601c31ca28bff175cefa99ac16177122a786d043be229616e2c98b7ffaf4a96b8bb17ca16e31240325a92763f417315b54d8f1b2f4f63f445cb7ad43c4a37 opusfile-0.10.tar.gz" |