aboutsummaryrefslogtreecommitdiffstats
path: root/testing/chromaprint
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-07-20 13:09:35 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-07-20 13:09:35 +0000
commit3657983b41b84bbfa571935652fb766d8233b8ae (patch)
treebb75d7c89a342aa84390cdbc0628ef04bda0f2cd /testing/chromaprint
parent73b26bf9c5938526093e379c1848b64f6615c71c (diff)
downloadaports-3657983b41b84bbfa571935652fb766d8233b8ae.tar.bz2
aports-3657983b41b84bbfa571935652fb766d8233b8ae.tar.xz
testing/chromaprint: new aport
Diffstat (limited to 'testing/chromaprint')
-rw-r--r--testing/chromaprint/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/chromaprint/APKBUILD b/testing/chromaprint/APKBUILD
new file mode 100644
index 0000000000..a88b67e2f1
--- /dev/null
+++ b/testing/chromaprint/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=chromaprint
+pkgver=1.4.2
+pkgrel=0
+pkgdesc="C library for generating audio fingerprints used by AcoustID"
+url="https://acoustid.org/chromaprint"
+arch="all"
+license="MIT"
+makedepends="cmake fftw-dev ffmpeg-dev"
+options="!check"
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/acoustid/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TOOLS=ON .
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="69449adf1c95c1395a5545d36877afe95b409d045357cc675e9ac58aee2955b3a9a245f37805192804a9b7fddc792b9e9289bf6448fa3393131048d28e06d7e2 chromaprint-1.4.2.tar.gz"