void-packages/srcpkgs/libkeyfinder/template

26 lines
898 B
Bash

# Template file for 'libkeyfinder'
pkgname=libkeyfinder
version=2.2.8
revision=1
build_style=cmake
makedepends="fftw-devel catch2"
short_desc="Small C++11 library for estimating the musical key of digital audio"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://mixxxdj.github.io/libkeyfinder/"
changelog="https://raw.githubusercontent.com/mixxxdj/libkeyfinder/main/CHANGELOG.md"
distfiles="https://github.com/mixxxdj/libkeyfinder/archive/refs/tags/${version}.tar.gz"
checksum=a54fc6c5ff435bb4b447f175bc97f9081fb5abf0edd5d125e6f5215c8fff4d11
libkeyfinder-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} fftw-devel"
pkg_install() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/lib/cmake
vmove usr/include
rm -rf ${DESTDIR}/usr/lib/cmake/*/modules/FindFFTW3.cmake
}
}