diff options
Diffstat (limited to 'testing/chromaprint/APKBUILD')
-rw-r--r-- | testing/chromaprint/APKBUILD | 30 |
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" |