From 68c2e5b6834a42cd1d86974f05dc4d9853033735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 1 Oct 2023 21:55:19 +0700 Subject: [PATCH] libkeyfinder: update to 2.2.8. --- srcpkgs/libkeyfinder/patches/test.patch | 10 ++++++++++ srcpkgs/libkeyfinder/template | 5 ++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/libkeyfinder/patches/test.patch diff --git a/srcpkgs/libkeyfinder/patches/test.patch b/srcpkgs/libkeyfinder/patches/test.patch new file mode 100644 index 00000000000..21f260e769e --- /dev/null +++ b/srcpkgs/libkeyfinder/patches/test.patch @@ -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) diff --git a/srcpkgs/libkeyfinder/template b/srcpkgs/libkeyfinder/template index 18d83051fb3..6ae29ec472f 100644 --- a/srcpkgs/libkeyfinder/template +++ b/srcpkgs/libkeyfinder/template @@ -1,9 +1,8 @@ # Template file for 'libkeyfinder' pkgname=libkeyfinder -version=2.2.7 +version=2.2.8 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 " @@ -11,7 +10,7 @@ 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 +checksum=a54fc6c5ff435bb4b447f175bc97f9081fb5abf0edd5d125e6f5215c8fff4d11 libkeyfinder-devel_package() { short_desc+=" - development files"