void-packages/srcpkgs/chromaprint/template

29 lines
829 B
Bash

# Template file for 'chromaprint'
pkgname=chromaprint
version=1.4.3
revision=2
wrksrc="chromaprint-v${version}"
build_style=cmake
configure_args="-DBUILD_TOOLS=ON"
makedepends="fftw-devel ffmpeg-devel"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="https://acoustid.org/chromaprint"
license="MIT, LGPL-2.1-only"
short_desc="Library that extracts fingerprints from any audio source"
distfiles="https://github.com/acoustid/chromaprint/releases/download/v${version}/chromaprint-${version}.tar.gz"
checksum=ea18608b76fb88e0203b7d3e1833fb125ce9bb61efe22c6e169a50c52c457f82
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
}
}