void-packages/srcpkgs/chromaprint/template

28 lines
771 B
Bash

# Template file for 'chromaprint'
pkgname=chromaprint
version=1.4.2
revision=1
build_style=cmake
configure_args="-DBUILD_TOOLS=ON"
makedepends="fftw-devel ffmpeg-devel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://acoustid.org/chromaprint/"
license="MIT, 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=989609a7e841dd75b34ee793bd1d049ce99a8f0d444b3cea39d57c3e5d26b4d4
post_install() {
vlicense LICENSE.md LICENSE
}
chromaprint-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}