29 lines
829 B
Bash
29 lines
829 B
Bash
# Template file for 'chromaprint'
|
|
pkgname=chromaprint
|
|
version=1.5.0
|
|
revision=1
|
|
wrksrc="chromaprint-v${version}"
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TOOLS=ON"
|
|
makedepends="fftw-devel ffmpeg-devel"
|
|
short_desc="Library that extracts fingerprints from any audio source"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT, LGPL-2.1-only"
|
|
homepage="https://acoustid.org/chromaprint"
|
|
distfiles="https://github.com/acoustid/chromaprint/releases/download/v${version}/chromaprint-${version}.tar.gz"
|
|
checksum=573a5400e635b3823fc2394cfa7a217fbb46e8e50ecebd4a61991451a8af766a
|
|
|
|
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
|
|
}
|
|
}
|