aboutsummaryrefslogtreecommitdiff
path: root/ports/aubio
diff options
context:
space:
mode:
authorevpobr <evpobr@gmail.com>2020-08-26 06:42:26 +0500
committerGitHub <noreply@github.com>2020-08-25 18:42:26 -0700
commitfd7e280af8f4ca07511feed31471c71c71460e6f (patch)
tree98c7950c8403319cea9194322326e2f4136b83e9 /ports/aubio
parent4abea84d561623e7e9ee4669c1529c0b69fa601a (diff)
downloadvcpkg-fd7e280af8f4ca07511feed31471c71c71460e6f.tar.gz
vcpkg-fd7e280af8f4ca07511feed31471c71c71460e6f.zip
[libsndfile] Update to 1.0.29 (#12921)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/aubio')
-rw-r--r--ports/aubio/CMakeLists.txt15
-rw-r--r--ports/aubio/CONTROL3
2 files changed, 5 insertions, 13 deletions
diff --git a/ports/aubio/CMakeLists.txt b/ports/aubio/CMakeLists.txt
index 9a6ad2377..ad8ce6a46 100644
--- a/ports/aubio/CMakeLists.txt
+++ b/ports/aubio/CMakeLists.txt
@@ -24,33 +24,24 @@ 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_path(LIBSNDFILE_H sndfile.h)
-find_library(LIBSNDFILE_LIB NAMES libsndfile-1 libsndfile)
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_library(OGG_LIB ogg)
-find_library(FLAC_LIB flac)
-find_library(VORBIS_LIB vorbis)
-find_library(VORBISENC_LIB vorbisenc)
find_package(BZip2 REQUIRED)
find_package(LibLZMA REQUIRED)
+find_package(SndFile REQUIRED)
-include_directories(src ${LIBSNDFILE_H} ${LIBLZMA_INCLUDE_DIRS})
+include_directories(src ${LIBLZMA_INCLUDE_DIRS})
file(GLOB_RECURSE SOURCES src/*.c)
set_source_files_properties(src/io/sink_wavwrite.c PROPERTIES COMPILE_FLAGS /FIWinsock2.h)
add_library(aubio ${SOURCES})
target_link_libraries(aubio PUBLIC
- ${LIBSNDFILE_LIB}
- ${OGG_LIB}
- ${FLAC_LIB}
- ${VORBIS_LIB}
- ${VORBISENC_LIB}
+ SndFile::sndfile
${AVCODEC_LIB}
${AVUTIL_LIB}
${AVDEVICE_LIB}
diff --git a/ports/aubio/CONTROL b/ports/aubio/CONTROL
index 2c5a18e48..f023b702e 100644
--- a/ports/aubio/CONTROL
+++ b/ports/aubio/CONTROL
@@ -1,5 +1,6 @@
Source: aubio
-Version: 0.4.9-1
+Version: 0.4.9
+Port-Version: 2
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