[rubberband] Update to 3.1.1 (#27114)

This commit is contained in:
Daniel Schürmann 2022-11-02 21:43:21 +01:00 committed by GitHub
parent e6acba61e8
commit 893bc1d71d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 16 deletions

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO breakfastquay/rubberband
REF v2.0.2
SHA512 56e33f3a6f5755242e46f9cb224e372bea7a367756f08d3322c8951a40b3907f1a2957775de6f2584a093e6adf82ca91015119650d5a624afe39086a47843ddc
REF v3.1.1
SHA512 aef4de02b6fe250ab43d627d30720dab8aea3587b428ce76fe339d0b1f0e50da6ba7fa7c76f61306704dd2cfc24241f3d4108b6c155c3d12624eac859672f86c
HEAD_REF default
)
@ -22,22 +22,22 @@ vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
if(EXISTS "${CURRENT_PACKAGES_DIR}/bin/rubberband-program${VCPKG_TARGET_EXECUTABLE_SUFFIX}")
# Rubberband uses a different executable name when compiled with msvc
# Rubberband uses a different executable name when compiled with msvc
# Just looking for that file is faster than detecting msvc builds
set(RUBBERBAND_PROGRAM_NAME rubberband-program)
set(RUBBERBAND_PROGRAM_NAMES rubberband-program rubberband-program-r3)
else()
set(RUBBERBAND_PROGRAM_NAME rubberband)
endif()
# Features cli and lv2 are build whenever suficient dependencies are installed,
# Remove them when not enabled.
if("cli" IN_LIST FEATURES)
vcpkg_copy_tools(TOOL_NAMES "${RUBBERBAND_PROGRAM_NAME}" AUTO_CLEAN)
else()
vcpkg_clean_executables_in_bin(FILE_NAMES "${RUBBERBAND_PROGRAM_NAME}")
set(RUBBERBAND_PROGRAM_NAMES rubberband rubberband-r3)
endif()
# lv2 feature is not supported yet because vcpkg can't isntall to
# Features cli and lv2 are build whenever suficient dependencies are installed,
# Remove them when not enabled.
if("cli" IN_LIST FEATURES)
vcpkg_copy_tools(TOOL_NAMES ${RUBBERBAND_PROGRAM_NAMES} AUTO_CLEAN)
else()
vcpkg_clean_executables_in_bin(FILE_NAMES ${RUBBERBAND_PROGRAM_NAMES})
endif()
# lv2 feature is not supported yet because vcpkg can't isntall to
# %APPDATA%\LV2 or %COMMONPROGRAMFILES%\LV2 but also complains about dlls in "${CURRENT_PACKAGES_DIR}/lib/lv2"
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/lv2" "${CURRENT_PACKAGES_DIR}/debug/lib/lv2")

View File

@ -1,6 +1,6 @@
{
"name": "rubberband",
"version": "2.0.2",
"version": "3.1.1",
"description": "A high quality software library for audio time-stretching and pitch-shifting.",
"homepage": "https://www.breakfastquay.com/rubberband/",
"license": "GPL-2.0-or-later",

View File

@ -6649,7 +6649,7 @@
"port-version": 4
},
"rubberband": {
"baseline": "2.0.2",
"baseline": "3.1.1",
"port-version": 0
},
"rxcpp": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ce88046ebe45fa738789a3bf6dd843392bcb6fd2",
"version": "3.1.1",
"port-version": 0
},
{
"git-tree": "75aeab834246d0e2ba7de5f07901e5d7131397f7",
"version": "2.0.2",