aboutsummaryrefslogtreecommitdiffstats
path: root/community/libopusenc
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-02-19 08:12:39 +0200
committerprspkt <prspkt@protonmail.com>2019-02-19 08:29:48 +0200
commit4336ee816a2878269f3f5d016ae136da5284dfe6 (patch)
treec6194ff98a57c5e3036a4a897cb99c5e8bd2cd8b /community/libopusenc
parent186c0dc5ebd5b16fe15621fb5e37246b7e0d890d (diff)
downloadaports-4336ee816a2878269f3f5d016ae136da5284dfe6.tar.bz2
aports-4336ee816a2878269f3f5d016ae136da5284dfe6.tar.xz
testing/libopusenc: move to community
Diffstat (limited to 'community/libopusenc')
-rw-r--r--community/libopusenc/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/libopusenc/APKBUILD b/community/libopusenc/APKBUILD
new file mode 100644
index 0000000000..b7be400ce3
--- /dev/null
+++ b/community/libopusenc/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=libopusenc
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="Library for encoding .opus audio files and live streams"
+url="https://opus-codec.org"
+arch="all"
+license="BSD-3-Clause"
+makedepends="opus-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://archive.mozilla.org/pub/opus/libopusenc-$pkgver.tar.gz"
+builddir="$srcdir/"$pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="adf30cacea9ac2e5889a40147f53943a1bec5279c5ff3a9b09de8ca52727a6cbaeecd338417fc5856e337ae183c85b0d366d14ec4ec329de12d50709a6f6507a libopusenc-0.2.1.tar.gz"