# Template file for 'chromaprint'
pkgname=chromaprint
version=1.1
revision=2
distfiles="https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-${version}.tar.gz"
checksum="6b14d7ea4964581b73bd3f8038c8857c01e446421c1ae99cbbf64de26b47cd12"
build_style="cmake"
hostmakedepends="cmake"
makedepends="ffmpeg-devel"
maintainer="Steven R <dev@styez.com>"
homepage="http://acoustid.org/chromaprint/"
license="LGPL-2"
short_desc="Library that implements a custom algorithm for extracting fingerprints from any audio source"


chromaprint-devel_package() {
    short_desc+=" - development files"
    depends="${sourcepkg}>=${version}_${revision}"
    pkg_install() {
        vmove usr/include
        vmove usr/lib/pkgconfig
        vmove "usr/lib/*.so"
    }
}
