# Template file for 'chromaprint'
pkgname=chromaprint
version=1.2
revision=1
build_style=cmake
configure_args="-DBUILD_EXAMPLES=ON"
hostmakedepends="cmake"
makedepends="ffmpeg-devel"
maintainer="Steven R <dev@styez.com>"
homepage="http://acoustid.org/chromaprint/"
license="LGPL-2.1"
short_desc="Library that extracts fingerprints from any audio source"
distfiles="https://bitbucket.org/acoustid/${pkgname}/downloads/${pkgname}-${version}.tar.gz"
checksum=822b8949a322ac04c6f8a3ed78f5e689bcc493c6ca0972bf627c913c8430031a

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