libkeyfinder: update to 2.2.8.

This commit is contained in:
Đoàn Trần Công Danh 2023-10-01 21:55:19 +07:00 committed by Đoàn Trần Công Danh
parent 3b69a8a4be
commit 68c2e5b683
2 changed files with 12 additions and 3 deletions

View File

@ -0,0 +1,10 @@
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -31,5 +31,5 @@ if(NOT TARGET Catch2::Catch2)
list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/contrib)
endif()
target_link_libraries(keyfinder-tests PRIVATE Catch2::Catch2WithMain)
-include(Catch)
-catch_discover_tests(keyfinder-tests)
+enable_testing()
+add_test(keyfinder-tests keyfinder-tests)

View File

@ -1,9 +1,8 @@
# Template file for 'libkeyfinder' # Template file for 'libkeyfinder'
pkgname=libkeyfinder pkgname=libkeyfinder
version=2.2.7 version=2.2.8
revision=1 revision=1
build_style=cmake build_style=cmake
hostmakedepends=""
makedepends="fftw-devel catch2" makedepends="fftw-devel catch2"
short_desc="Small C++11 library for estimating the musical key of digital audio" 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>" maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
@ -11,7 +10,7 @@ license="GPL-3.0-or-later"
homepage="https://mixxxdj.github.io/libkeyfinder/" homepage="https://mixxxdj.github.io/libkeyfinder/"
changelog="https://raw.githubusercontent.com/mixxxdj/libkeyfinder/main/CHANGELOG.md" changelog="https://raw.githubusercontent.com/mixxxdj/libkeyfinder/main/CHANGELOG.md"
distfiles="https://github.com/mixxxdj/libkeyfinder/archive/refs/tags/${version}.tar.gz" distfiles="https://github.com/mixxxdj/libkeyfinder/archive/refs/tags/${version}.tar.gz"
checksum=57dbd89c90b451e449d4652a29f078a90b847fefb29a242ab3c886f39d5d6998 checksum=a54fc6c5ff435bb4b447f175bc97f9081fb5abf0edd5d125e6f5215c8fff4d11
libkeyfinder-devel_package() { libkeyfinder-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"