# # Apps Packages for Chakra, part of chakra-project.org # # Contributor: abveritas@chakra-project.org # Maintainer: Bruce Liu pkgname=chromaprint pkgver=1.1 pkgrel=2 pkgdesc='Client-side library that implements a custom algorithm for extracting fingerprints from any audio source' url='http://acoustid.org/chromaprint/' arch=('x86_64') license=('LGPL') depends=('ffmpeg') makedepends=('cmake') screenshot=('') source=("https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz") sha1sums=('5a250f761761d2ce08e2591b9daa909393552939') build() { cd "${srcdir}/${pkgname}-${pkgver}" cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXAMPLES=ON . make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }