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.
This commit is contained in:
Roman Lebedev 2023-06-27 04:58:40 +03:00 committed by Jonas Kvinge
parent f8e14e8fd5
commit bd4438d99b
1 changed files with 5 additions and 0 deletions

View File

@ -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()