From ebc3778228027db4266969ba8a3b5237bdb476c0 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 31 May 2024 21:07:45 +0200 Subject: [PATCH] configure: add check for CLAP support --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index b7e4d02e5b..c067ac2a9e 100755 --- a/configure +++ b/configure @@ -201,6 +201,7 @@ External library support: --disable-bzlib disable bzlib [autodetect] --disable-coreimage disable Apple CoreImage framework [autodetect] --enable-chromaprint enable audio fingerprinting with chromaprint [no] + --enable-clap enable CLAP audio filtering [no] --enable-frei0r enable frei0r video filtering [no] --enable-gcrypt enable gcrypt, needed for rtmp(t)e support if openssl, librtmp or gmp is not used [no] @@ -1896,6 +1897,7 @@ EXTERNAL_LIBRARY_LIST=" $EXTERNAL_LIBRARY_VERSION3_LIST $EXTERNAL_LIBRARY_GPLV3_LIST chromaprint + clap gcrypt gnutls jni @@ -3820,6 +3822,7 @@ bwdif_cuda_filter_deps="ffnvcodec" bwdif_cuda_filter_deps_any="cuda_nvcc cuda_llvm" bwdif_vulkan_filter_deps="vulkan spirv_compiler" chromaber_vulkan_filter_deps="vulkan spirv_compiler" +clap_filter_deps="clap libdl" color_vulkan_filter_deps="vulkan spirv_compiler" colorkey_opencl_filter_deps="opencl" colormatrix_filter_deps="gpl" @@ -6840,6 +6843,7 @@ enabled avisynth && { require_headers "avisynth/avisynth_c.h avisynth/a enabled cuda_nvcc && { check_nvcc cuda_nvcc || die "ERROR: failed checking for nvcc."; } enabled chromaprint && { check_pkg_config chromaprint libchromaprint "chromaprint.h" chromaprint_get_version || require chromaprint chromaprint.h chromaprint_get_version -lchromaprint; } +enabled clap && require_headers "clap/clap.h dlfcn.h" enabled decklink && { require_headers DeckLinkAPI.h && { test_cpp_condition DeckLinkAPIVersion.h "BLACKMAGIC_DECKLINK_API_VERSION >= 0x0a0b0000" || die "ERROR: Decklink API version must be >= 10.11"; } } enabled frei0r && require_headers "frei0r.h"