summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/vamp-sdk/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/vamp-sdk/APKBUILD b/user/vamp-sdk/APKBUILD
new file mode 100644
index 000000000..b97a8c2df
--- /dev/null
+++ b/user/vamp-sdk/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=vamp-sdk
+pkgver=2.7.1
+pkgrel=0
+pkgdesc="SDK for developing Vamp audio analysis plugins"
+url="https://vamp-plugins.org/develop.html"
+arch="all"
+options="!check" # no tests
+license="BSD-3-Clause AND MIT"
+makedepends="libsndfile-dev"
+subpackages="$pkgname-dev"
+source="https://code.soundsoftware.ac.uk/attachments/download/2206/vamp-plugin-sdk-$pkgver.tar.gz"
+sha512sums="91dd7cae72334718dcbdac06b1ffa3f3ba76e977b82b928ab634d9982aa15ca4e30978a7778215753c61e56831077d7634d24e65e468ab6a8a87a5957fb09bf3 vamp-plugin-sdk-2.7.1.tar.gz"
+builddir="$srcdir/vamp-plugin-sdk-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+