void-packages/srcpkgs/libkeyfinder/template

27 lines
917 B
Bash
Raw Normal View History

2023-08-21 16:23:24 +02:00
# Template file for 'libkeyfinder'
pkgname=libkeyfinder
version=2.2.7
revision=1
build_style=cmake
hostmakedepends=""
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=57dbd89c90b451e449d4652a29f078a90b847fefb29a242ab3c886f39d5d6998
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
}
}