# Template file for 'chromaprint'
pkgname=chromaprint
version=1.3
revision=1
build_style=cmake
configure_args="-DBUILD_EXAMPLES=ON"
hostmakedepends="cmake"
makedepends="boost-devel fftw-devel ffmpeg-devel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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=3dc3ff97abdce63abc1f52d5f5f8e72c22f9a690dd6625271aa96d3a585b695a

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