diff options
Diffstat (limited to 'ports/aubio')
| -rw-r--r-- | ports/aubio/CMakeLists.txt | 17 | ||||
| -rw-r--r-- | ports/aubio/CONTROL | 2 |
2 files changed, 3 insertions, 16 deletions
diff --git a/ports/aubio/CMakeLists.txt b/ports/aubio/CMakeLists.txt index ad8ce6a46..9238490eb 100644 --- a/ports/aubio/CMakeLists.txt +++ b/ports/aubio/CMakeLists.txt @@ -24,12 +24,7 @@ set(CMAKE_DEBUG_POSTFIX d) option(BUILD_TOOLS "Build and install tools" ON) set(TOOLS_INSTALLDIR "bin" CACHE STRING "Target directory for installed tools") -find_library(AVCODEC_LIB avcodec) -find_library(AVUTIL_LIB avutil) -find_library(AVDEVICE_LIB avdevice) -find_library(AVFILTER_LIB avfilter) -find_library(AVFORMAT_LIB avformat) -find_library(SWRESAMPLE_LIB swresample) +find_package(FFmpeg COMPONENTS avcodec avutil avdevice avfilter avformat swresample REQUIRED) find_package(BZip2 REQUIRED) find_package(LibLZMA REQUIRED) find_package(SndFile REQUIRED) @@ -42,17 +37,9 @@ set_source_files_properties(src/io/sink_wavwrite.c PROPERTIES COMPILE_FLAGS /FIW add_library(aubio ${SOURCES}) target_link_libraries(aubio PUBLIC SndFile::sndfile - ${AVCODEC_LIB} - ${AVUTIL_LIB} - ${AVDEVICE_LIB} - ${AVFILTER_LIB} - ${AVFORMAT_LIB} - ${SWRESAMPLE_LIB} + ${FFMPEG_LIBRARIES} BZip2::BZip2 ${LIBLZMA_LIBRARIES} - ws2_32.lib - Secur32.lib - bcrypt.lib ) if(BUILD_TOOLS) diff --git a/ports/aubio/CONTROL b/ports/aubio/CONTROL index f023b702e..de5eafe69 100644 --- a/ports/aubio/CONTROL +++ b/ports/aubio/CONTROL @@ -1,6 +1,6 @@ Source: aubio
Version: 0.4.9
-Port-Version: 2
+Port-Version: 3
Homepage: https://github.com/aubio/aubio
Description: Aubio is a tool designed for the extraction of annotations from audio signals. Its features include segmenting a sound file before each of its attacks, performing pitch detection, tapping the beat and producing midi streams from live audio.
Build-Depends: ffmpeg, libsndfile, libogg, libflac, libvorbis, bzip2, liblzma
|
