From bd4438d99b4b785b7bb6de8362900c22fe5fc85f Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Tue, 27 Jun 2023 04:58:40 +0300 Subject: [PATCH] CMake: define new optional component `EBUR128` (`libebur128`+`gstreamer`) To perform the analysis using said library, we need to first somehow get the PCM of the song, and it makes sense to use GStreamer for that. --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b8093611e..d7be65c28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -477,6 +477,11 @@ optional_component(MOODBAR ON "Moodbar" DEPENDS "gstreamer" HAVE_GSTREAMER ) +optional_component(EBUR128 ON "EBU R 128 loudness normalization" + DEPENDS "libebur128" LIBEBUR128_FOUND + DEPENDS "gstreamer" HAVE_GSTREAMER +) + if(APPLE OR WIN32) option(USE_BUNDLE "Bundle dependencies" ON) else()