aboutsummaryrefslogtreecommitdiff
path: root/ports/aubio
diff options
context:
space:
mode:
authorMatthew Oliver <protogonoi@gmail.com>2020-10-07 18:23:23 +1100
committerGitHub <noreply@github.com>2020-10-07 00:23:23 -0700
commit72d98524e38d96982618d872ae045c2edb7f2c2e (patch)
tree938f98d29453f0c19943da588bcf6ede02b0e110 /ports/aubio
parent7dc0049439681a7f9537af420573d0ac3ef6ce31 (diff)
downloadvcpkg-72d98524e38d96982618d872ae045c2edb7f2c2e.tar.gz
vcpkg-72d98524e38d96982618d872ae045c2edb7f2c2e.zip
[ffmpeg] Update to 4.3.1 (#13365)
Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com> Co-authored-by: wangli28 <wangli28@beyondsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/aubio')
-rw-r--r--ports/aubio/CMakeLists.txt17
-rw-r--r--ports/aubio/CONTROL2
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