Date: Wednesday, July 20, 2022 @ 12:37:53 Author: mtorromeo Revision: 1254888
upgpkg: sfizz 1.2.0-2: abseil-cpp-20220623.0 rebuild Added: sfizz/trunk/system-catch2.patch Modified: sfizz/trunk/PKGBUILD ---------------------+ PKGBUILD | 16 +++++++++++----- system-catch2.patch | 13 +++++++++++++ 2 files changed, 24 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-07-20 12:37:27 UTC (rev 1254887) +++ PKGBUILD 2022-07-20 12:37:53 UTC (rev 1254888) @@ -3,7 +3,7 @@ pkgname=sfizz pkgver=1.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="SFZ library and LV2 plugin" arch=(x86_64) url="https://github.com/sfztools/sfizz" @@ -12,7 +12,7 @@ depends=(abseil-cpp cairo gcc-libs glibc libx11 libxkbcommon libxkbcommon-x11 pugixml ttf-roboto xcb-util xcb-util-cursor zenity) makedepends=(cmake cxxopts jack freetype2 lv2 simde vst3sdk xcb-util-keysyms) -checkdepends=(lv2lint) +checkdepends=(lv2lint catch2) optdepends=( 'jack: for sfizz_jack' 'lv2-host: for the LV2 plugin' @@ -20,9 +20,12 @@ 'vst3-host: for the VST3 plugin' ) provides=(libsfizz.so) -source=("https://github.com/sfztools/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('fd8500a9e94acee4cd61053ce9d6fd85e6dcee56c198e986557bb40b35a7ac902a4e3544bce4a13349a00f9d3024509db1a805ef442abdf94cb63cfadf0df81d') -b2sums=('cecedcd1a1f6268f84b1e878b264226566d43b091cfc8d522084ed3af24a030b0840833dc093300d3e8b933398401b6ea619f36fe1df6ff04544eabf2850665c') +source=("https://github.com/sfztools/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz" + "system-catch2.patch") +sha512sums=('fd8500a9e94acee4cd61053ce9d6fd85e6dcee56c198e986557bb40b35a7ac902a4e3544bce4a13349a00f9d3024509db1a805ef442abdf94cb63cfadf0df81d' + '48c1ab4d0af4fa4b7330edd9da919032604e23a227510802593f6b0120cd10c43de88b2d20731496052578a76437061c82af046795709dc759e0a250e93acd1b') +b2sums=('cecedcd1a1f6268f84b1e878b264226566d43b091cfc8d522084ed3af24a030b0840833dc093300d3e8b933398401b6ea619f36fe1df6ff04544eabf2850665c' + '34e150d89b0fd1dc88390f6474b1568fcfad9ac27474146f437f876766e750fe85b64771a15eab091c55da62e4008964dd8a8315b9341dd68bf49459b602f732') prepare() { # symlink tests data to top-level location so that tests can get to them @@ -38,6 +41,9 @@ rm -rfv lv2/lv2 sed -e 's|"lv2/core/lv2.h"|<lv2/core/lv2.h>|g' \ -i plugins/lv2/external/ardour/ardour/lv2_extensions.h + + patch -p1 -i ../system-catch2.patch + rm -rf tests/catch2 } build() { Added: system-catch2.patch =================================================================== --- system-catch2.patch (rev 0) +++ system-catch2.patch 2022-07-20 12:37:53 UTC (rev 1254888) @@ -0,0 +1,13 @@ +diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt +index fa70845..00f7647 100644 +--- a/tests/CMakeLists.txt ++++ b/tests/CMakeLists.txt +@@ -1,7 +1,7 @@ + ############################### + # Test application + +-list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/catch2") ++list(APPEND CMAKE_MODULE_PATH "/usr/lib/cmake/Catch2") + + include(CTest) + include(Catch)